Skip to content

Commit 75c5a96

Browse files
fix: confirmation yaml changes
1 parent 4aa7dc4 commit 75c5a96

1 file changed

Lines changed: 19 additions & 4 deletions

File tree

packages/jsActions/nanoflow-actions-native/e2e/specs/maestro/Confirmation.yaml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
appId: "${APP_ID}"
2+
platform: "${PLATFORM}"
23
---
34
- runFlow:
45
file: "../../../../../../maestro/Precondition.yaml"
@@ -14,10 +15,24 @@ appId: "${APP_ID}"
1415
id: "container1"
1516
- inputText: "11"
1617
- tapOn: "Show confirmation "
17-
- extendedWaitUntil:
18-
visible: "Yolo"
19-
timeout: 10000
20-
- assertVisible: "11"
18+
- runFlow:
19+
when:
20+
platform: android
21+
commands:
22+
- assertVisible: "Yolo"
23+
- assertVisible: "11"
24+
- runFlow:
25+
when:
26+
platform: ios
27+
commands:
28+
- assertVisible:
29+
text: ".*Yolo.*"
30+
optional: true
31+
- assertVisible:
32+
text: ".*11.*"
33+
optional: true
34+
- takeScreenshot:
35+
path: "maestro/images/actual/${PLATFORM}/confirmation"
2136
- tapOn: "OK"
2237
- assertVisible: "Confirmed!"
2338

0 commit comments

Comments
 (0)