-
Notifications
You must be signed in to change notification settings - Fork 16
update e2e tests #1263
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
update e2e tests #1263
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughEnd-to-end test infrastructure refactored with type-safe page object patterns and fixtures. Vite type declarations moved from config to declaration file. E2E tests restructured to use page models with generic navigation, new login and dashboard page objects added, and Safari browser support removed from test configuration. Changes
Sequence Diagram(s)sequenceDiagram
participant Test as E2E Test
participant Fixtures as Fixture Setup
participant Login as LoginPage
participant API as App API
participant Dashboard as DashboardPage
Test->>Fixtures: call login()
Fixtures->>Fixtures: getProjectMetadata(browserTarget)
Fixtures->>Login: getPageModel('/auth/login')
Fixtures->>Login: goto('/auth/login')
Fixtures->>Login: fillLoginForm(credentials)
Login->>Login: fill username & password fields
Login->>Login: click Submit button
Login->>API: POST login credentials
API-->>Login: 200 OK, redirect
Fixtures->>API: assert navigation to /dashboard
Fixtures-->>Test: login complete
Test->>Dashboard: getPageModel('/dashboard')
Test->>Dashboard: pageHeader locator
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
Tests
Chores
✏️ Tip: You can customize this high-level summary in your review settings.