Skip to content

Commit c787226

Browse files
committed
ci(e2e): include debug screenshots in maestro artifacts upload
The takeScreenshot commands in common/sign-in-email-password.yaml DID execute (Maestro log confirms COMPLETED on each), but Maestro saves them relative to its cwd (integration-mobile/) rather than ~/.maestro/tests. The upload-artifact step only grabbed the latter, so the debug-01-welcome, debug-02-email-typed, and debug-03-after-continue captures were stranded on the runner. Add integration-mobile/*.png to both platforms' artifact upload paths.
1 parent 7caffcb commit c787226

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/mobile-e2e.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,13 @@ jobs:
312312
uses: actions/upload-artifact@v4
313313
with:
314314
name: maestro-android
315-
path: ~/.maestro/tests
315+
# ~/.maestro/tests holds Maestro's auto-captured failure screenshots
316+
# and commands JSON. integration-mobile/*.png holds the takeScreenshot
317+
# debug captures that flows write, which Maestro saves relative to
318+
# the cwd it was launched from (integration-mobile/).
319+
path: |
320+
~/.maestro/tests
321+
integration-mobile/*.png
316322
317323
- name: Cleanup test user
318324
if: always() && steps.user.outputs.user_id != ''
@@ -565,7 +571,9 @@ jobs:
565571
uses: actions/upload-artifact@v4
566572
with:
567573
name: maestro-ios
568-
path: ~/.maestro/tests
574+
path: |
575+
~/.maestro/tests
576+
integration-mobile/*.png
569577
570578
- name: Cleanup test user
571579
if: always() && steps.user.outputs.user_id != ''

0 commit comments

Comments
 (0)