Skip to content
Merged
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
21 changes: 14 additions & 7 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
TEST_PASSWORD: ${{ secrets.E2E_TEST_PASSWORD }}
TRIP_NAME: E2E-Trip-${{ github.run_id }}
PACK_NAME: E2E-Pack-${{ github.run_id }}
APP_ID: com.andrewbierman.packrat.preview
APP_ID: com.andrewbierman.packrat

- name: Upload test results
if: always()
Expand Down Expand Up @@ -254,12 +254,19 @@ jobs:
adb shell pm disable-user com.android.launcher3 || true
adb shell pm disable-user com.google.android.apps.nexuslauncher || true
adb install apps/expo/build/PackRat.apk
export TEST_EMAIL="${{ secrets.E2E_TEST_EMAIL }}"
export TEST_PASSWORD="${{ secrets.E2E_TEST_PASSWORD }}"
export TRIP_NAME="E2E-Trip-${{ github.run_id }}"
export PACK_NAME="E2E-Pack-${{ github.run_id }}"
export APP_ID="com.packratai.mobile.preview"
bun test:e2e:android --format junit --output test-results/maestro-results.xml
cp .maestro/config.yaml .maestro/config.yaml.bak
cp .maestro/config-android.yaml .maestro/config.yaml
maestro test \
--format junit \
--output test-results/maestro-results.xml \
.maestro/
mv .maestro/config.yaml.bak .maestro/config.yaml
env:
TEST_EMAIL: ${{ secrets.E2E_TEST_EMAIL }}
TEST_PASSWORD: ${{ secrets.E2E_TEST_PASSWORD }}
TRIP_NAME: E2E-Trip-${{ github.run_id }}
PACK_NAME: E2E-Pack-${{ github.run_id }}
APP_ID: com.packratai.mobile

- name: Upload test results
if: always()
Expand Down
Loading