Skip to content

Add e2e tests for critical user flows - #26

Merged
jasoncrawford merged 1 commit into
mainfrom
e2e-tests
Feb 19, 2026
Merged

jasoncrawford merged 1 commit into
mainfrom
e2e-tests

Conversation

@jasoncrawford

Copy link
Copy Markdown
Collaborator

Summary

  • Add 26 Playwright e2e tests across 5 spec files covering auth, public status page, sites CRUD, incidents, and contacts
  • Set up test infrastructure: global setup/teardown with Supabase seeding, shared fixtures, auth setup project
  • Add .env.test with local Supabase credentials, use env-cmd to load test environment
  • Fix site detail Edit button: replace broken <Link> (404) with working EditSiteButton component

Test plan

  • CI passes (all 88 unit tests + 26 e2e tests)
  • E2e tests cover: login/logout, public status page, site add/edit/delete, incident view/resolve, contact add/remove

🤖 Generated with Claude Code

- Add 26 Playwright e2e tests across 5 spec files covering auth, status
  page, sites CRUD, incidents, and contacts
- Set up test infrastructure: global setup/teardown, fixtures, auth setup
- Add .env.test with local Supabase credentials for e2e runs
- Use env-cmd to load test environment for Playwright
- Fix site detail page: replace broken Edit link (404) with working
  EditSiteButton component

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jasoncrawford
jasoncrawford merged commit aac04e1 into main Feb 19, 2026
1 check 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