24 lines
671 B
YAML
24 lines
671 B
YAML
# Staff App — Sign Up flow (Phone + OTP)
|
|
# Credentials via env: TEST_STAFF_SIGNUP_PHONE, TEST_STAFF_OTP
|
|
# Use a NEW Firebase test phone (not yet registered)
|
|
# Run: maestro test apps/mobile/apps/staff/maestro/auth/sign_up.yaml -e TEST_STAFF_SIGNUP_PHONE=... -e TEST_STAFF_OTP=123456
|
|
|
|
appId: com.krowwithus.staff
|
|
env:
|
|
PHONE: ${TEST_STAFF_SIGNUP_PHONE}
|
|
OTP: ${TEST_STAFF_OTP}
|
|
---
|
|
- launchApp
|
|
- assertVisible: "Sign Up"
|
|
- tapOn: "Sign Up"
|
|
- assertVisible: "Send Code"
|
|
- tapOn:
|
|
id: staff_phone_input
|
|
- inputText: ${PHONE}
|
|
- tapOn: "Send Code"
|
|
# OTP auto-submits when 6th digit entered
|
|
- assertVisible: "Continue"
|
|
- tapOn:
|
|
id: staff_otp_input
|
|
- inputText: ${OTP}
|