Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
disable-animations: true
script: |
adb install androidApp/build/outputs/apk/debug/androidApp-debug.apk
maestro test --debug-output maestro-debug -e APP_ID=dev.johnoreilly.galwaybus maestro/GalwayBus.flow
maestro test --debug-output maestro-debug -e APP_ID=dev.johnoreilly.galwaybus maestro/GalwayBus.flow; status=$?; mkdir -p maestro-debug; adb logcat -d > maestro-debug/logcat.txt; exit $status

# takeScreenshot output: Maestro saves it under --debug-output's hidden .maestro directory
- uses: actions/upload-artifact@v7
Expand Down
6 changes: 6 additions & 0 deletions androidApp/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="${MAPS_API_KEY}"/>
<!-- Older Google Play services' Maps module uses the Apache HTTP client, which apps
targeting API 28+ must opt into or the map crashes (NoClassDefFoundError:
org/apache/http/ProtocolVersion) -->
<uses-library
android:name="org.apache.http.legacy"
android:required="false"/>
<activity
android:exported="true"
android:name=".MainActivity">
Expand Down
4 changes: 4 additions & 0 deletions maestro/GalwayBus.flow
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ appId: ${APP_ID}
visible: "Updated.*"
timeout: 30000
- takeScreenshot: GalwayBus
# Still showing after the map has had time to render (a crash there would otherwise go unnoticed)
- waitForAnimationToEnd:
timeout: 5000
- assertVisible: "Route 402"
Loading