File tree Expand file tree Collapse file tree
sentry-android-integration-tests/sentry-uitest-android-critical/maestro Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020jobs :
2121 build :
2222 name : Build
23- runs-on : macos -latest
23+ runs-on : ubuntu -latest
2424
2525 env :
2626 GRADLE_ENCRYPTION_KEY : ${{ secrets.GRADLE_ENCRYPTION_KEY }}
@@ -137,13 +137,12 @@ 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- mkdir "${{env.BASE_PATH}}/maestro-logs/" || true; adb emu screenrecord start --time-limit 360 "${{env.BASE_PATH}}/maestro-logs/recording.webm" || true; maestro test "${{env.BASE_PATH}}/maestro" --test-output-dir="${{env.BASE_PATH}}/maestro-logs/test-output" --debug-output "${{env.BASE_PATH}}/maestro-logs/debug-logs" || MAESTRO_EXIT_CODE=$?; adb emu screenrecord stop || true; adb logcat -d > "${{env.BASE_PATH}}/maestro-logs/logs .txt" || true; exit ${MAESTRO_EXIT_CODE:-0}
140+ mkdir "${{env.BASE_PATH}}/maestro-logs/" || true; adb emu screenrecord start --time-limit 360 "${{env.BASE_PATH}}/maestro-logs/recording.webm" || true; maestro test "${{env.BASE_PATH}}/maestro" --test-output-dir="${{env.BASE_PATH}}/maestro-logs/test-output" || MAESTRO_EXIT_CODE=$?; adb emu screenrecord stop || true; adb logcat -d > "${{env.BASE_PATH}}/maestro-logs/logcat .txt" || true; exit ${MAESTRO_EXIT_CODE:-0}
141141
142142 - name : Upload Maestro test results
143143 if : ${{ always() }}
144144 uses : actions/upload-artifact@v6
145145 with :
146146 name : maestro-logs-${{ matrix.api-level }}-${{ matrix.arch }}-${{ matrix.target }}
147- include-hidden-files : true # maestro debug logs are stored within maestro-logs/.maestro/
148147 path : " ${{env.BASE_PATH}}/maestro-logs"
149148 retention-days : 1
Original file line number Diff line number Diff line change @@ -26,9 +26,8 @@ name: App Start Tests
2626- tapOn : " Finish Activity"
2727- assertNotVisible : " Welcome!"
2828- swipe :
29- from :
30- id : status_bar
31- direction : DOWN
29+ start : 10%, 0%
30+ end : 10%, 100%
3231- tapOn : " Sentry Test Notification"
3332- assertVisible : " App Start Type: WARM"
3433
@@ -42,9 +41,8 @@ name: App Start Tests
4241- tapOn : " Finish Activity"
4342- killApp
4443- swipe :
45- from :
46- id : status_bar
47- direction : DOWN
44+ start : 10%, 0%
45+ end : 10%, 100%
4846- tapOn : " Sentry Test Notification"
4947- assertVisible : " App Start Type: COLD"
5048# Test 5: Launch app after a broadcast receiver already created the application
You can’t perform that action at this time.
0 commit comments