summaryrefslogtreecommitdiffhomepage
path: root/android/scripts
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2025-01-27 15:59:29 +0100
committerAlbin <albin@mullvad.net>2025-01-27 15:59:29 +0100
commit01cc28272484348a6cb8cf2e88e67e063415ff4c (patch)
treec648a4cc4acae26f2b597c694d65e5753f508acb /android/scripts
parentd5c39740d6a539db062c42c5f23de4a692264074 (diff)
parent406e3d3682d3bffd487fd0ee695d7aa30b0f7515 (diff)
downloadmullvadvpn-01cc28272484348a6cb8cf2e88e67e063415ff4c.tar.xz
mullvadvpn-01cc28272484348a6cb8cf2e88e67e063415ff4c.zip
Merge branch 'use-stagemole-in-self-hosted-e2e-tests-droid-1561'
Diffstat (limited to 'android/scripts')
-rwxr-xr-xandroid/scripts/run-instrumented-tests.sh2
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