File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -137,8 +137,8 @@ jobs:
137137 script : |
138138 adb uninstall io.sentry.uitest.android.critical || echo "Already uninstalled (or not found)"
139139 adb install -r -d "${{env.APK_NAME}}"
140- adb shell screenrecord --size 720x1280 --bit-rate 2000000 /sdcard/recording.mp4 & SCREENRECORD_PID=$!; maestro test "${{env.BASE_PATH}}/maestro" --debug-output "${{env.BASE_PATH}}/maestro-logs" || MAESTRO_EXIT_CODE=$?; kill $SCREENRECORD_PID 2>/dev/null || true; wait $SCREENRECORD_PID 2>/dev/null || true; adb pull /sdcard/recording.mp4 "${{env.BASE_PATH}}/maestro-logs/recording.mp4" || true; adb shell rm /sdcard/recording.mp4 || true; exit ${MAESTRO_EXIT_CODE:-0}
141-
140+ adb shell screenrecord --size 720x1280 --bit-rate 2000000 /sdcard/recording.mp4 & maestro test "${{env.BASE_PATH}}/maestro" --debug-output "${{env.BASE_PATH}}/maestro-logs" || MAESTRO_EXIT_CODE=$?; adb shell "pkill -2 screenrecord" 2>/dev/null || true; sleep 3 ; adb pull /sdcard/recording.mp4 "${{env.BASE_PATH}}/maestro-logs/recording.mp4" || true; adb shell rm /sdcard/recording.mp4 || true; exit ${MAESTRO_EXIT_CODE:-0}
141+
142142 - name : Upload Maestro test results
143143 if : failure()
144144 uses : actions/upload-artifact@v6
You can’t perform that action at this time.
0 commit comments