-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
good first issueGood for newcomersGood for newcomershacktoberfestIssues that are up for grabs for hacktoberfest participantsIssues that are up for grabs for hacktoberfest participants
Description
Add Detox E2E tests for dark/light theme functionality
Create comprehensive Detox test cases for theme switching across the
payment flow:
Test Cases to Implement:
-
Theme Toggle Functionality
- Light to dark mode switching
- Dark to light mode switching
- Theme persistence across app restarts
- System theme following (if supported)
-
Payment Flow Theme Consistency
- Payment form in dark mode
- Payment form in light mode
- Success screen theming
- Error states in both themes
-
Component Theme Validation
- Button colors and states
- Input field appearances
- Text contrast ratios
- Background color changes
-
Cross-Platform Theme Testing
- Android theme switching
- iOS appearance mode handling
- Web theme persistence
Expected Outcome:
- Comprehensive theme testing coverage
- Visual regression prevention
- Theme consistency validation
Files to Create:
- detox-tests/e2e/themes/themeToggle.test.js
- detox-tests/e2e/themes/paymentFlowThemes.test.js
- detox-tests/helpers/themeHelpers.js
- detox-tests/utils/themeAssertions.js
Acceptance Criteria:
- Theme toggle works in all screens
- Payment flow maintains theme consistency
- Theme persists across app sessions
- All UI components respect theme changes
- No visual glitches during theme switching
- Accessibility contrast maintained in both themes
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershacktoberfestIssues that are up for grabs for hacktoberfest participantsIssues that are up for grabs for hacktoberfest participants