# Program Browsing Test
# Tests navigation through programs from home screen
# Prerequisite: User must have completed onboarding

appId: com.millianlmx.tabatafit
name: Program Browsing

---
# Verify home screen loaded
- assertVisible: "program-card-upper-body"
- assertVisible: "program-card-lower-body"
- assertVisible: "program-card-full-body"

# Tap Upper Body program
- tapOn: "program-upper-body-cta"

# Wait for program detail screen
- assertVisible:
    text: ".*Upper Body.*"
    timeout: 5000

# Navigate back
- back

# Tap Lower Body program
- assertVisible: "program-card-lower-body"
- tapOn: "program-lower-body-cta"
- assertVisible:
    text: ".*Lower Body.*"
    timeout: 5000
- back

# Tap Full Body program
- assertVisible: "program-card-full-body"
- tapOn: "program-full-body-cta"
- assertVisible:
    text: ".*Full Body.*"
    timeout: 5000
- back

# Verify we're back on home
- assertVisible: "program-card-upper-body"
