eletrotupi / tcc/ frontend/e2e/debug-mood-components.yamlb3ead45a73252ca3006b75f6c77a3d72e8055586
980 B | 37 lines Raw
1
# Debug helper (NOT part of the smoke suite): isolates the "add a mood
2
# component" interaction, i.e. the push to entry/mood-components and back
3
# Run directly:
4
#   maestro test frontend/e2e/debug-mood-components.yaml
5
appId: com.eletrotupi.orbit
6
name: Debug — mood components
7
---
8
- runFlow:
9
    file: helpers/_login.yaml
10
- tapOn:
11
    id: mood-great
12
- tapOn:
13
    id: button-save-mood
14
- extendedWaitUntil:
15
    visible:
16
      id: text-status-prefix
17
    timeout: 30000
18
- scrollUntilVisible:
19
    element:
20
      id: button-add-mood-components
21
    direction: DOWN
22
- tapOn:
23
    id: button-add-mood-components
24
- extendedWaitUntil:
25
    visible:
26
      id: screen-mood-components
27
    timeout: 15000
28
- tapOn:
29
    id: component-joy
30
# If the app pops back to the entry screen here, `screen-mood-components`
31
# disappears this wait fails fast and pinpoints the regression
32
- extendedWaitUntil:
33
    visible:
34
      id: screen-mood-components
35
    timeout: 10000
36
- assertVisible:
37
    id: header-done