-
Notifications
You must be signed in to change notification settings - Fork 2
test: stabilize e2e profile and theme flows #84
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
Conversation
🤖 Pull request artifacts
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds comprehensive E2E test coverage for profile management, request header actions, and general features like theme switching, stabilizing the test suite for these critical user flows.
- Three new E2E test files covering request headers, profiles, and general features with detailed test scenarios
- Test IDs added to UI components (sidebar buttons and modal elements) to enable reliable element selection
- Clipboard mocking setup for testing copy functionality in browser extension context
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 50 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/e2e/request-headers-actions.spec.ts | New test suite for request header operations including remove, clear, duplicate, and copy actions |
| tests/e2e/profiles.spec.ts | New test suite for profile management including add, delete, edit, import, and export functionality |
| tests/e2e/general-features.spec.ts | New test suite for general features including theme switching, GitHub link validation, and icon state changes |
| src/widgets/sidebar/Sidebar.tsx | Added test IDs to theme toggle and GitHub link buttons for test reliability |
| src/widgets/modals/components/ImportModal/ImportModal.tsx | Added test IDs to import modal title and JSON textarea for test identification |
| src/widgets/modals/components/ExportModal/ExportModal.tsx | Added test ID to export modal JSON textarea for test identification |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.