Add Playwright e2e test suite#34
Merged
Merged
Conversation
Introduces 17 end-to-end tests across 5 spec files covering: - App shell layout (sidebar, header, terminal, status footer) - Agent CRUD (create via UI, SSE updates, select/expand, delete via overflow) - API health and input validation - Settings pane open/close - Sidebar toggle (collapse/expand) Adds data-testid attributes to key UI components for reliable test selectors. Configures Playwright to auto-build web and start a dev server on a test port. Co-Authored-By: Claude Opus 4.6 <[email protected]>
- Install Playwright chromium in CI - Create isolated CI test database - Run e2e tests after build step - Upload test results as artifact on failure - Make DATABASE_URL configurable in playwright config for CI Co-Authored-By: Claude Opus 4.6 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
data-testidattributes to key UI components (sidebar, header, footer, terminal pane, dialogs, service status indicators) for reliable test selectorsnpm run test:e2escriptTest coverage
app-shell.spec.tsagent-crud.spec.tsapi-health.spec.tssettings.spec.tssidebar-interactions.spec.tsTest plan
E2E_PORT=8799 npm run test:e2e)npm run finalize:webpasses (type check + build)🤖 Generated with Claude Code