|
| 1 | +# Edges: forgot-password, Privacy/Terms, mic/notification deny (no crash). |
| 2 | +# Reauth forced-session is residual — see docs/guides/maestro.md (no backend hook). |
| 3 | +appId: com.eten.fluent |
| 4 | +tags: |
| 5 | + - smoke |
| 6 | + - edges |
| 7 | +--- |
| 8 | +# --- Forgot password happy path --- |
| 9 | +- runFlow: subflows/boot-to-login.yaml |
| 10 | +- tapOn: |
| 11 | + id: 'login-forgot-password-link' |
| 12 | +- extendedWaitUntil: |
| 13 | + visible: |
| 14 | + id: 'forgot-password-email-input' |
| 15 | + timeout: 15000 |
| 16 | +- tapOn: |
| 17 | + id: 'forgot-password-email-input' |
| 18 | +- eraseText |
| 19 | +- inputText: ${MAESTRO_EMAIL} |
| 20 | +- hideKeyboard |
| 21 | +- tapOn: |
| 22 | + id: 'forgot-password-submit-button' |
| 23 | +- extendedWaitUntil: |
| 24 | + visible: |
| 25 | + id: 'forgot-password-sent-view' |
| 26 | + timeout: 60000 |
| 27 | +- tapOn: |
| 28 | + id: 'forgot-password-sent-back-link' |
| 29 | +- extendedWaitUntil: |
| 30 | + visible: |
| 31 | + id: 'login-email-input' |
| 32 | + timeout: 15000 |
| 33 | + |
| 34 | +# --- Legal by id (auth login footer) --- |
| 35 | +- tapOn: |
| 36 | + id: 'login-privacy-link' |
| 37 | +- extendedWaitUntil: |
| 38 | + visible: |
| 39 | + id: 'privacy-policy-scroll' |
| 40 | + timeout: 15000 |
| 41 | +- back |
| 42 | +- extendedWaitUntil: |
| 43 | + visible: |
| 44 | + id: 'login-email-input' |
| 45 | + timeout: 15000 |
| 46 | +- tapOn: |
| 47 | + id: 'login-terms-link' |
| 48 | +- extendedWaitUntil: |
| 49 | + visible: |
| 50 | + id: 'terms-of-use-scroll' |
| 51 | + timeout: 15000 |
| 52 | +- back |
| 53 | +- extendedWaitUntil: |
| 54 | + visible: |
| 55 | + id: 'login-email-input' |
| 56 | + timeout: 15000 |
| 57 | + |
| 58 | +# --- Mic + notification deny: reach Record without crash --- |
| 59 | +- launchApp: |
| 60 | + clearState: true |
| 61 | + permissions: |
| 62 | + microphone: deny |
| 63 | + notifications: deny |
| 64 | +- runFlow: ../../helpers/dismiss-expo-dev-menu.yaml |
| 65 | +- extendedWaitUntil: |
| 66 | + visible: |
| 67 | + id: 'login-email-input' |
| 68 | + timeout: 60000 |
| 69 | +- runFlow: subflows/login.yaml |
| 70 | +- runFlow: subflows/wait-for-home.yaml |
| 71 | +- runFlow: subflows/open-first-my-work-chapter.yaml |
| 72 | +- tapOn: |
| 73 | + id: 'drafting-tab-record' |
| 74 | +- assertVisible: |
| 75 | + id: 'record-tab' |
| 76 | +# Attempt start; system may no-op when denied — assert we did not crash |
| 77 | +- tapOn: |
| 78 | + id: 'record-start-button' |
| 79 | + optional: true |
| 80 | +- assertVisible: |
| 81 | + id: 'record-tab' |
| 82 | +# Forced reauth without a backend/session hook is residual — see docs/guides/maestro.md |
0 commit comments