Skip to content

Set up initial playwright testing fixes #296#303

Merged
progrium merged 4 commits intomainfrom
playwright
Apr 7, 2026
Merged

Set up initial playwright testing fixes #296#303
progrium merged 4 commits intomainfrom
playwright

Conversation

@taramk
Copy link
Copy Markdown
Collaborator

@taramk taramk commented Mar 18, 2026

  • Add Playwright E2E test infrastructure with Chromium, virtual WebAuthn authenticator, and MailSlurp for email OTP — enabling automated testing of the full passkey-based signup flow
  • Introduce a setup project that runs once before all tests, creates a real test account via Hanko auth, and saves the browser session to tests/.auth/user.json so subsequent tests start already logged in
  • Add first authenticated test: verifies a signed-in user lands on the dashboard and sees the Projects heading
  • Configure test retries, 30s action/navigation timeouts, and automatic wrangler dev server startup via webServer in playwright.config.ts
  • Update .gitignore to exclude test auth state (tests/.auth/), local Claude settings
  • Add MAILSLURP_API_KEY to .env.example to document the required secret for collaborators

Comment thread tests/auth.test.ts
@progrium
Copy link
Copy Markdown
Collaborator

progrium commented Apr 7, 2026

Looks good, I think the only thing I'd suggest is putting package.json and the other files in the project root in tests because they are just for tests. But I'll merge this now to unblock.

@progrium progrium merged commit da3ebf4 into main Apr 7, 2026
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