diff options
| author | Albin <albin@mullvad.net> | 2025-01-27 15:59:29 +0100 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2025-01-27 15:59:29 +0100 |
| commit | 01cc28272484348a6cb8cf2e88e67e063415ff4c (patch) | |
| tree | c648a4cc4acae26f2b597c694d65e5753f508acb /android/scripts | |
| parent | d5c39740d6a539db062c42c5f23de4a692264074 (diff) | |
| parent | 406e3d3682d3bffd487fd0ee695d7aa30b0f7515 (diff) | |
| download | mullvadvpn-01cc28272484348a6cb8cf2e88e67e063415ff4c.tar.xz mullvadvpn-01cc28272484348a6cb8cf2e88e67e063415ff4c.zip | |
Merge branch 'use-stagemole-in-self-hosted-e2e-tests-droid-1561'
Diffstat (limited to 'android/scripts')
| -rwxr-xr-x | android/scripts/run-instrumented-tests.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/android/scripts/run-instrumented-tests.sh b/android/scripts/run-instrumented-tests.sh index 8d835ddb5a..88f1f2082b 100755 --- a/android/scripts/run-instrumented-tests.sh +++ b/android/scripts/run-instrumented-tests.sh @@ -156,6 +156,7 @@ INSTRUMENTATION_LOG_FILE_PATH="$REPORT_DIR/instrumentation-log.txt" LOGCAT_FILE_PATH="$REPORT_DIR/logcat.txt" LOCAL_SCREENSHOT_PATH="$REPORT_DIR/screenshots" DEVICE_SCREENSHOT_PATH="/sdcard/Pictures/mullvad-$TEST_TYPE" +LOCAL_TEST_ATTACHMENTS_PATH="$REPORT_DIR/test-attachments" DEVICE_TEST_ATTACHMENTS_PATH="/sdcard/Download/test-attachments" echo "" @@ -241,6 +242,7 @@ else echo "One or more tests failed, see logs for more details." echo "Collecting report..." adb pull "$DEVICE_SCREENSHOT_PATH" "$LOCAL_SCREENSHOT_PATH" || echo "No screenshots" + adb pull "$DEVICE_TEST_ATTACHMENTS_PATH" "$LOCAL_TEST_ATTACHMENTS_PATH" || echo "No test attachments" adb logcat -d > "$LOGCAT_FILE_PATH" exit 1 fi |
