File tree Expand file tree Collapse file tree
packages/jsActions/nanoflow-actions-native/e2e/specs/maestro Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11appId : " ${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
You can’t perform that action at this time.
0 commit comments