-
-
Notifications
You must be signed in to change notification settings - Fork 3
Add e2e tests #229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add e2e tests #229
Conversation
WalkthroughThis set of changes introduces comprehensive Playwright-based end-to-end (E2E) testing to the project. It includes new test scripts, Playwright configuration, global setup and teardown scripts for database state management, and a detailed E2E test suite for the website router. The CI pipeline is updated to run these E2E tests using GitHub Actions, with PostgreSQL service integration and artifact handling for test reports. Supporting changes to Changes
Sequence Diagram(s)sequenceDiagram
participant CI as GitHub Actions
participant Runner as Ubuntu Runner
participant DB as PostgreSQL Service
participant App as Application Server
participant PW as Playwright
CI->>Runner: Trigger workflow on push/PR
Runner->>DB: Start PostgreSQL service
Runner->>App: Run migrations & seed DB
Runner->>PW: Install Playwright & dependencies
PW->>App: Run global-setup (prepare fixtures)
PW->>App: Start dev server (if needed)
PW->>App: Execute E2E tests
PW->>App: Run global-teardown (cleanup DB)
Runner->>CI: Upload Playwright report artifacts
Assessment against linked issues
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
✅ Files skipped from review due to trivial changes (3)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Resolve #219
Summary by CodeRabbit
New Features
Chores
Documentation