Skip to content

test(e2e): scaffold Playwright suite with a non-blocking CI job - #109

Merged
montycheese merged 4 commits into
mainfrom
feat/playwright-e2e-scaffolding
Aug 28, 2026
Merged

test(e2e): scaffold Playwright suite with a non-blocking CI job#109
montycheese merged 4 commits into
mainfrom
feat/playwright-e2e-scaffolding

Conversation

@montycheese

@montycheese montycheese commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Scaffolds a Playwright e2e suite (e2e/, playwright.config.ts) with one real test that loads the home page and checks the landing copy/Vibenet link render.
  • Adds a non-blocking e2e CI job (continue-on-error: true) that builds, serves, and runs the suite against a production build, uploading the HTML report (with screenshots/traces on failure) as an artifact.
  • Excludes e2e/** from vitest's default test glob (vitest.config.mts), which was otherwise picking up the Playwright specs and failing on their test() fixture API.

Test plan

  • npm run test:e2e passes locally for home.spec.ts
  • npm run test / npm run typecheck / npm run lint clean
  • Confirmed on this PR's CI: the e2e job runs and is non-blocking, and a deliberately failing test (since removed) proved the playwright-report artifact captures a screenshot + trace on failure

Adds a home-page smoke test and a non-blocking `e2e` CI job so we can
build out journey coverage incrementally without gating merges on it.

Includes a temporary failing test to confirm the CI job uploads the
screenshot/trace artifact on failure — will be removed once verified.
@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@vercel

vercel Bot commented Aug 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
omni-ui Ready Ready Preview Aug 28, 2026 4:09pm

Request Review

Vitest's default include pattern matches any *.spec.ts, so it was
picking up the new Playwright specs and failing on their test()
fixture API. Caught by CI on the e2e scaffolding PR.
Confirmed on this PR: the e2e job runs non-blocking, home.spec.ts
passes, and the playwright-report artifact captures a screenshot and
trace on failure.
Explains the two suites' distinct purposes, and calls out that e2e
coverage is for stable, settled surfaces (e.g. home page, core nav) —
not for demos still under active iteration, where churn would make
the test pure maintenance overhead.
@montycheese
montycheese merged commit bf46f76 into main Aug 28, 2026
12 of 13 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.

2 participants