Skip to content

feat: add Playwright E2E tests and CI integration#20

Merged
dsfaccini merged 1 commit intopydantic:mainfrom
dsfaccini:feat/e2e-tests
Apr 7, 2026
Merged

feat: add Playwright E2E tests and CI integration#20
dsfaccini merged 1 commit intopydantic:mainfrom
dsfaccini:feat/e2e-tests

Conversation

@dsfaccini
Copy link
Copy Markdown
Contributor

Summary

  • Add 5 Playwright E2E tests covering core chat flows: app load, send/receive messages, sidebar conversation entries, navigation between conversations, and IndexedDB persistence across hard refresh
  • All API calls mocked via page.route() — tests run without the Python backend
  • Add parallel e2e CI job with Playwright report artifact upload on failure
  • Add pnpm test and pnpm test:ui scripts

Test plan

  • pnpm test — all 5 tests pass locally
  • pnpm run typecheck — passes
  • pnpm eslint tests/ playwright.config.ts — passes
  • CI runs both ci and e2e jobs in parallel

🤖 Generated with Claude Code

Add 5 E2E tests covering core chat flows (app load, send/receive,
sidebar, navigation, IndexedDB persistence) with mocked API routes
so tests run without the Python backend.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dsfaccini dsfaccini merged commit 1b33175 into pydantic:main Apr 7, 2026
2 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