Skip to content

test(e2e): browser tests in CI, and approve ADR-0009 to 0011 - #14

Merged
Nain9Dev merged 4 commits into
mainfrom
feat/mobile-pwa
Oct 21, 2026
Merged

Nain9Dev merged 4 commits into
mainfrom
feat/mobile-pwa

Conversation

@Nain9Dev

Copy link
Copy Markdown
Owner

What

PR #13 was merged into feat/mobile-pwa just after #12 had gone into main, so the browser tests never reached main. This PR brings them, plus the ADR approvals.

  • e2e/: 25 Playwright tests against the real application (landing and reduced motion, buyer and organizer views, language, buyer link and QR decoded by jsQR, offline shell, 360 px layout), with their own CI job, npm audit and Dependabot. Details in test(e2e): verify the panel in a real browser #13.
  • ADR-0009, ADR-0010 and ADR-0011 are now Approved: the owner delegated the decision to the agent's best judgement on 2026-10-21, and the ADRs record that. AGENTS.md lists Playwright as a development-only tool living in e2e/.

Verification

npx playwright test 25/25 locally; dotnet test 123/123; actionlint and gitleaks clean. The Browser tests job has not yet run on a GitHub runner: this PR is its first run (Linux, Playwright's bundled Chromium).

Nain9Dev and others added 4 commits October 21, 2026 21:15
25 Playwright tests in a self-contained e2e/ folder cover the landing and
reduced motion, the buyer and organizer views, the language selector
(default, switch, persistence, no missing keys on any route), the buyer
link and its QR code (decoded by jsQR from a capture of the screen), the
offline shell and the 360 px layout.

They run in their own CI job so a browser flake never hides the .NET
result, with a pinned lockfile, npm audit and Dependabot for e2e/.
Nothing in e2e/ ships and the panel gains no dependency.
ADR-0011 (Proposed) records the choice of Playwright outside the panel.
REQ-090 to REQ-096 and REQ-101 to REQ-105 move into the requirements
with their tests; the traceability gap now lists only what is still not
automated (installing on a physical phone). Runbook, README, changelog
and the spec task lists are updated.
test(e2e): verify the panel in a real browser
The owner delegated the decision to the agent's best judgement on
2026-10-21. SQLite in WAL mode, the service worker that caches the
shell and never the API, and Playwright browser tests outside the panel
are approved as written. AGENTS.md records Playwright as a
development-only tool living in e2e/.
@Nain9Dev
Nain9Dev merged commit 2d57a29 into main Oct 21, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant