feat: explore tab, React Query data layer, programs, sync, analytics, testing infrastructure
- Replace browse tab with Supabase-connected explore tab with filters - Add React Query for data fetching with loading states - Add 3 structured programs with weekly progression - Add Supabase anonymous auth sync service - Add PostHog analytics with screen tracking and events - Add comprehensive test strategy (Vitest + Maestro E2E) - Add RevenueCat subscription system with DEV simulation - Add i18n translations for new screens (EN/FR/DE/ES) - Add data deletion modal, sync consent modal - Add assessment screen and program routes - Add GitHub Actions CI workflow - Update activity store with sync integration
This commit is contained in:
42
.maestro/flows/program-browse.yaml
Normal file
42
.maestro/flows/program-browse.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
# 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"
|
||||
Reference in New Issue
Block a user