- Add testIDs to explore, workout detail, and collection detail screens - Add testID prop to VideoPlayer component - Create access service unit tests (isFreeWorkout, canAccessWorkout) - Create VideoPlayer rendering snapshot tests (preview/background modes) - Create Maestro E2E flows: explore-freemium, collection-detail - Update tab-navigation flow with Explore screen assertions - Update profile-settings flow with real activity stat assertions - Update all-tests suite to include new flows
56 lines
1011 B
YAML
56 lines
1011 B
YAML
# Tab Navigation Test
|
|
# Tests switching between all tabs in the app
|
|
# Prerequisite: User must have completed onboarding
|
|
|
|
appId: com.millianlmx.tabatafit
|
|
name: Tab Navigation
|
|
|
|
---
|
|
# Start on home tab
|
|
- assertVisible: "program-card-upper-body"
|
|
|
|
# Navigate to Explore tab
|
|
- tapOn:
|
|
text: "Explore"
|
|
optional: true
|
|
- tapOn:
|
|
id: "explore-tab"
|
|
optional: true
|
|
|
|
# Verify Explore screen loaded with key sections
|
|
- assertVisible:
|
|
id: "explore-screen"
|
|
timeout: 5000
|
|
optional: true
|
|
- assertVisible:
|
|
id: "filters-section"
|
|
timeout: 3000
|
|
optional: true
|
|
|
|
# Navigate to Activity tab
|
|
- tapOn:
|
|
text: "Activity"
|
|
optional: true
|
|
- tapOn:
|
|
id: "activity-tab"
|
|
optional: true
|
|
|
|
# Navigate to Profile tab
|
|
- tapOn:
|
|
text: "Profile"
|
|
optional: true
|
|
- tapOn:
|
|
id: "profile-tab"
|
|
optional: true
|
|
|
|
# Navigate back to Home
|
|
- tapOn:
|
|
text: "Home"
|
|
optional: true
|
|
- tapOn:
|
|
id: "home-tab"
|
|
optional: true
|
|
|
|
# Verify home screen
|
|
- assertVisible: "program-card-upper-body"
|