# Onboarding Flow Test
# Tests the complete 6-step onboarding process

appId: com.millianlmx.tabatafit
name: Onboarding Flow

---
- launchApp
# Step 1: Problem Screen
- assertVisible: "onboarding-problem-cta"
- tapOn: "onboarding-problem-cta"

# Step 2: Empathy Screen - Select barriers
- assertVisible: "barrier-no-time"
- tapOn: "barrier-no-time"
- tapOn: "barrier-low-motivation"
- assertVisible: "onboarding-empathy-continue"
- tapOn: "onboarding-empathy-continue"

# Step 3: Solution Screen
- assertVisible: "onboarding-solution-cta"
- tapOn: "onboarding-solution-cta"

# Step 4: Wow Screen (features reveal)
- assertVisible: "onboarding-wow-cta"
- tapOn: "onboarding-wow-cta"

# Step 5: Personalization
- assertVisible: "name-input"
- tapOn: "name-input"
- inputText: "Test User"

- tapOn: "level-intermediate"
- tapOn: "goal-strength"
- tapOn: "frequency-3x"

- assertVisible: "onboarding-personalization-continue"
- tapOn: "onboarding-personalization-continue"

# Step 6: Paywall - Skip subscription
- assertVisible: "subscribe-button"
- assertVisible: "skip-paywall"
- tapOn: "skip-paywall"

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