Skip to content

Commit 55a22b6

Browse files
committed
[test] upload screenshots as artifacts
1 parent f72b684 commit 55a22b6

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,17 @@ jobs:
5757
xcrun simctl launch "${UDID}" com.jscexample
5858
5959
- name: Run iOS tests
60-
run: export MAESTRO_DRIVER_STARTUP_TIMEOUT=190000; npm run test:e2e
60+
run: |
61+
export MAESTRO_DRIVER_STARTUP_TIMEOUT=190000
62+
export MAESTRO_WAIT_TIMEOUT=10000
63+
npm run test:e2e
64+
65+
- name: Upload Maestro screenshots
66+
uses: actions/upload-artifact@v4
67+
with:
68+
name: ios-maestro-screenshots
69+
path: /Users/runner/.maestro/tests/
70+
retention-days: 5
6171

6272
android-build:
6373
name: Android Build

0 commit comments

Comments
 (0)