Skip to content

Commit 4bc0df7

Browse files
committed
Update test
1 parent 1c06f3b commit 4bc0df7

1 file changed

Lines changed: 23 additions & 10 deletions

File tree

maestro/tests/AppStartup.yaml

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,26 @@ appId: "${APP_ID}"
33
- retry:
44
maxRetries: 3
55
commands:
6-
- launchApp:
7-
clearState: true
8-
permissions:
9-
camera: allow
10-
notifications: allow
11-
- extendedWaitUntil:
12-
visible: "Widgets menu"
13-
timeout: 240000 # A long timeout since app startup is quite unstable due to resources when executed on Github runners
14-
- takeScreenshot:
15-
path: "maestro/tests/images/actual/${PLATFORM}/app-startup"
6+
- launchApp:
7+
clearState: true
8+
permissions:
9+
camera: allow
10+
notifications: allow
11+
- assertVisible: "Preview your app effortlessly."
12+
- tapOn: "Continue"
13+
- assertVisible: "Seamless navigation at your fingertips."
14+
- tapOn: "Continue"
15+
- assertVisible: "The ‘History’ for hassle-free testing."
16+
- tapOn: "Start"
17+
- assertVisible: "Clear cache"
18+
- takeScreenshot:
19+
path: "tests/images/actual/${PLATFORM}/MiN_page"
20+
- tapOn: "http://runtime-url:8080"
21+
- inputText: "http://10.0.2.2:8080"
22+
- pressKey: Enter
23+
- tapOn: "Launch app"
24+
- extendedWaitUntil:
25+
visible: "Widgets menu"
26+
timeout: 240000
27+
- takeScreenshot:
28+
path: "tests/images/actual/${PLATFORM}/app-loaded"

0 commit comments

Comments
 (0)