Skip to content

Commit

Permalink
fix(CI): stabilize Android E2E tests (software-mansion#2062)
Browse files Browse the repository at this point in the history
## Description

Used test butler to make e2e tests on Android stable.

## Changes

- added `utilBinaryPaths`
- added `test-butler.apk`

## Test code and steps to reproduce

Run several times on CI 👀 

## Checklist

- [x] Ensured that CI passes
  • Loading branch information
kirillzyusko authored and ja1ns committed Oct 9, 2024
1 parent eff5679 commit e72b06d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/android-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
with:
working-directory: ${{ env.WORKING_DIRECTORY }}
api-level: 31
target: default
target: aosp_atd
profile: pixel_2
ram-size: '4096M'
disk-size: '10G'
Expand Down
2 changes: 2 additions & 0 deletions Example/.detoxrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,14 @@ module.exports = {
device: {
adbName: 'e2e_emulator',
},
utilBinaryPaths: ['e2e/apps/test-butler-app-2.2.1.apk'],
},
emulator: {
type: 'android.emulator',
device: {
avdName: 'e2e_emulator',
},
utilBinaryPaths: ['e2e/apps/test-butler-app-2.2.1.apk'],
},
},
configurations: {
Expand Down
Binary file added Example/e2e/apps/test-butler-app-2.2.1.apk
Binary file not shown.

0 comments on commit e72b06d

Please sign in to comment.