|
| 1 | +steps: |
| 2 | + - echo: Launching Expo Example |
| 3 | + - launch: com.example.ExpoExample |
| 4 | + - await: { visible: { text: "Empty Example" }, timeout: 15000 } |
| 5 | + - echo: "On the Home list, search for tap example" |
| 6 | + - type: { text: "tap", into: { id: "search-examples" } } |
| 7 | + - echo: "Tap the example to open it" |
| 8 | + - tap: "Basic Tap" |
| 9 | + - echo: "Clear console" |
| 10 | + - await: { visible: "open-console-button" } |
| 11 | + - await: { idle: true } |
| 12 | + - tap: "open-console-button" |
| 13 | + - await: { visible: "clear-console-button" } |
| 14 | + - tap: "clear-console-button" |
| 15 | + - tap: "close-console-button" |
| 16 | + - await: { idle: true } |
| 17 | + - echo: "Tap the box and check if tap count is updated" |
| 18 | + - await: { visible: "Tap count: 0" } |
| 19 | + - assert: { visible: "tap-box" } |
| 20 | + - tap: "tap-box" |
| 21 | + - assert: { visible: "Tap count: 1" } |
| 22 | + - echo: "Check if console logs are printed in order" |
| 23 | + - tap: "open-console-button" |
| 24 | + - await: { idle: true } |
| 25 | + - await: { visible: "close-console-button" } |
| 26 | + - assert: { visible: "1. onBegin" } |
| 27 | + - assert: { visible: "2. onActivate" } |
| 28 | + - assert: { visible: "3. onDeactivate" } |
| 29 | + - assert: { visible: "4. onFinalize" } |
| 30 | + - tap: "close-console-button" |
| 31 | + - await: { idle: true } |
| 32 | + - await: { visible: "Tap count: 1" } |
| 33 | + - echo: "Tap the box again and check if tap count is updated" |
| 34 | + - tap: "tap-box" |
| 35 | + - assert: { visible: "Tap count: 2" } |
| 36 | + - echo: "Clear console" |
| 37 | + - await: { visible: "open-console-button" } |
| 38 | + - tap: "open-console-button" |
| 39 | + - await: { visible: "clear-console-button" } |
| 40 | + - tap: "clear-console-button" |
| 41 | + - tap: "close-console-button" |
| 42 | + - await: { idle: true } |
| 43 | + - echo: "Long press the box and check if tap count is not updated" |
| 44 | + - long-press: "tap-box" |
| 45 | + - assert: { visible: "Tap count: 2" } |
| 46 | + - echo: "Check if console logs are printed in order" |
| 47 | + - tap: "open-console-button" |
| 48 | + - await: { idle: true } |
| 49 | + - await: { visible: "close-console-button" } |
| 50 | + - assert: { visible: "9. onBegin" } |
| 51 | + - assert: { visible: "10. onFinalize" } |
0 commit comments