1015 B
1015 B
Maestro Integration Tests — Staff App
Auth flows for the KROW Staff app.
See docs/research/flutter-testing-tools.md and maestro-test-run-instructions.md.
Structure
maestro/
auth/
sign_in.yaml
sign_up.yaml
Prerequisites
- Firebase test phone in Auth > Phone (e.g. +1 555-765-4321 / OTP 123456)
- For sign_up: use a different test number (not yet registered)
Credentials (env, never hardcoded)
| Flow | Env variables |
|---|---|
| sign_in | TEST_STAFF_PHONE, TEST_STAFF_OTP |
| sign_up | TEST_STAFF_SIGNUP_PHONE, TEST_STAFF_OTP |
Run
# Via Makefile (export vars first)
make test-e2e-staff
# Direct
maestro test apps/mobile/apps/staff/maestro/auth/sign_in.yaml \
-e TEST_STAFF_PHONE=5557654321 -e TEST_STAFF_OTP=123456
maestro test apps/mobile/apps/staff/maestro/auth/sign_up.yaml \
-e TEST_STAFF_SIGNUP_PHONE=... -e TEST_STAFF_OTP=123456