Skip to content

test(e2e): Playwright SPA smoke-test harness (B3.0)#220

Draft
JarbasAl wants to merge 1 commit into
devfrom
test/e2e-harness
Draft

test(e2e): Playwright SPA smoke-test harness (B3.0)#220
JarbasAl wants to merge 1 commit into
devfrom
test/e2e-harness

Conversation

@JarbasAl

Copy link
Copy Markdown
Member

Adds the Playwright end-to-end harness the roadmap sequences as the prerequisite for safely evolving the 3,200-line SPA (RTL, accessibility, batch editing, TM, etc.).

What's here:

  • e2e/conftest.py — serves the repo over HTTP + headless Chromium fixtures.
  • e2e/test_spa_smoke.py — 4 smoke tests: shell renders, landing renders, hash-route navigation, primary nav links present. No data fixtures needed (the SPA degrades gracefully on missing data).
  • .github/workflows/e2e.yml — dedicated E2E CI job that installs the browser and runs pytest e2e/.
  • [e2e] extra in pyproject.

Deliberately kept in e2e/, separate from the unit test/ dir, so the fast unit suite is never gated on a browser download. Playwright browser launch was verified working in this environment.

Local: pytest e2e/ → 4 passed.

Add an e2e/ Playwright harness that serves the SPA and drives a headless
browser: shell renders, landing renders, hash-route navigation works, and the
primary nav links are present. Kept in e2e/ (separate from the unit test/ dir)
with its own E2E CI workflow that installs the browser, so it never gates the
fast unit suite. Declares an [e2e] extra. This is the prerequisite harness for
safely evolving the SPA (RTL, a11y, batch editing).
@coderabbitai

coderabbitai Bot commented Jul 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 53a21407-478f-40d5-bc98-25218e99e5c7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch test/e2e-harness

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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