diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8c2022e1..ee409b18 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -272,15 +272,16 @@ jobs: . /tmp/e2e-env.sh ANDROID_SERVER_URL="$(echo "$SERVER_URL" | sed 's/127\.0\.0\.1/10.0.2.2/')" adb install -r js/app/android/app/build/outputs/apk/debug/app-debug.apk - maestro test --output ./maestro-results -e APP_ID=tv.aquareum -e SERVER_URL="$ANDROID_SERVER_URL" -e ACCOUNT_HANDLE="$ACCOUNT_HANDLE" .maestro/ + maestro test --output .maestro -e APP_ID=tv.aquareum -e SERVER_URL="$ANDROID_SERVER_URL" -e ACCOUNT_HANDLE="$ACCOUNT_HANDLE" .maestro/ - name: upload maestro screenshots if: always() uses: actions/upload-artifact@v4 with: name: maestro-android-${{ github.run_id }} - path: ./maestro-results/ + path: .maestro/screenshots/ retention-days: 7 + if-no-files-found: warn ios-e2e: name: ios-e2e @@ -365,12 +366,13 @@ jobs: - name: run maestro tests run: | source /tmp/e2e-env.sh - maestro test --output ./maestro-results -e APP_ID=tv.aquareum -e SERVER_URL="$SERVER_URL" -e ACCOUNT_HANDLE="$ACCOUNT_HANDLE" .maestro/ + maestro test --output .maestro -e APP_ID=tv.aquareum -e SERVER_URL="$SERVER_URL" -e ACCOUNT_HANDLE="$ACCOUNT_HANDLE" .maestro/ - name: upload maestro screenshots if: always() uses: actions/upload-artifact@v4 with: name: maestro-ios-${{ github.run_id }} - path: ./maestro-results/ + path: .maestro/screenshots/ retention-days: 7 + if-no-files-found: warn diff --git a/.gitignore b/.gitignore index f7c6f2aa..04a244d0 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ js/app/src/build-info.json *.env muxl.wasm /moderation +.maestro/screenshots/