Skip to content

(WIP)feat: add Maestro E2E testing setup#133

Open
AzizOuertani wants to merge 3 commits intomainfrom
AzizOuertani/add-maestro-e2e
Open

(WIP)feat: add Maestro E2E testing setup#133
AzizOuertani wants to merge 3 commits intomainfrom
AzizOuertani/add-maestro-e2e

Conversation

@AzizOuertani
Copy link
Contributor

Summary

  • Add Maestro E2E testing infrastructure with flows organized by feature
  • Add testID props to key UI elements (auth, onboarding, account screens) for reliable element targeting
  • Add reusable login and app onboarding sub-flows
  • Add test:e2e and test:e2e:smoke pnpm scripts

Flows

Flow Tags Description
auth/login.yaml auth, smokeTest Full login flow via email OTP
auth/logout.yaml auth Logout via account screen
navigation/tab-navigation.yaml navigation, smokeTest Navigate between all tabs
books/browse-books.yaml books Browse books list

Test plan

  • Install Maestro CLI: curl -Ls "https://get.maestro.mobile.dev" | bash
  • Run app on iOS simulator with dev backend at localhost:3000
  • Run smoke tests: pnpm test:e2e:smoke
  • Run all tests: pnpm test:e2e

Note: Auth flows require the backend running in dev/demo mode (accepts OTP 000000)

πŸ€– Generated with Claude Code

AzizOuertani and others added 2 commits March 4, 2026 16:10
- Add testID props to auth, onboarding, and account screens
- Create .maestro/ folder with flows organized by feature
- Add reusable login and onboarding sub-flows
- Add smoke tests for auth and tab navigation
- Add test:e2e and test:e2e:smoke scripts
- Uses dev backend fixed OTP (000000) for auth flows

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Hardcode appId in all flows (env vars not resolved in YAML headers)
- Fix subflow path (relative from subflow location, not caller)
- Move TEST_EMAIL and TEST_OTP into login subflow env block
- Remove .env.maestro (unused after moving vars to config/flows)
- Fix backslash escaping in runFlow paths
- Fix test:e2e scripts to not use --env flag with file path

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Mar 5, 2026

πŸš€ Expo preview is ready!

  • Project β†’ start-ui-native-v9iizxkbojzedvpfkfzcq
  • Platforms β†’ android, ios
  • Scheme β†’ start-ui-native
  • Runtime Version β†’ 1.0.0
  • More info

Learn more about 𝝠 Expo Github Action

@AzizOuertani AzizOuertani changed the title feat: add Maestro E2E testing setup (WIP)feat: add Maestro E2E testing setup Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant