Skip to content

Commit 8aff344

Browse files
committed
gha
1 parent 43dd0d2 commit 8aff344

3 files changed

Lines changed: 15 additions & 4 deletions

File tree

.github/workflows/e2e-android-test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,10 @@ jobs:
7575
- name: Install Dependencies
7676
run: bun install
7777

78-
- name: Install Maestro CLI v2
78+
- name: Install Maestro CLI v2.0.9
7979
run: |
80-
curl -fsSL "https://get.maestro.mobile.dev" | bash
80+
export MAESTRO_VERSION=2.0.9
81+
curl -Ls "https://get.maestro.mobile.dev" | bash
8182
echo "$HOME/.maestro/bin" >> $GITHUB_PATH
8283
8384
- name: Enable KVM

.github/workflows/e2e-ios-test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,10 @@ jobs:
5555
working-directory: ./example
5656
run: bun pods
5757

58-
- name: Install Maestro CLI v2
58+
- name: Install Maestro CLI v2.0.9
5959
run: |
60-
curl -fsSL "https://get.maestro.mobile.dev" | bash
60+
export MAESTRO_VERSION=2.0.9
61+
curl -Ls "https://get.maestro.mobile.dev" | bash
6162
echo "$HOME/.maestro/bin" >> $GITHUB_PATH
6263
6364
- name: Make scripts executable

example/test/e2e/test-suites-flow.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ jsEngine: graaljs
4747
id: 'completion-stats'
4848
timeout: 60000
4949

50+
# Wait a moment for UI to settle before taking final screenshot
51+
- waitForAnimationToEnd:
52+
timeout: 2000
53+
5054
# Take final screenshot (this is the one we want to keep)
5155
- takeScreenshot: ${PLATFORM}-test-result
5256

@@ -63,3 +67,8 @@ jsEngine: graaljs
6367
condition: ${maestro.copiedText === ''}
6468
label: 'No failures in suite ${output.suiteIndex}'
6569
- evalScript: ${output.suiteIndex = output.suiteIndex + 1}
70+
71+
# Additional verification: ensure we can still interact with the UI
72+
- assertVisible: 'Run'
73+
- assertVisible: 'Check All'
74+
- assertVisible: 'Clear All'

0 commit comments

Comments
 (0)