# 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"
