Skip to content

Commit

Permalink
chore(CI): fix iOS e2e tests (#2503)
Browse files Browse the repository at this point in the history
## Description

CI started failing literally for no reason with error (when launching
individual tests):

`DetoxRuntimeError: Failed to find a device by type = "iPhone 14"`

Sometimes restarting it makes it pass (no changes to code, just
restarting CI).
I've also listed available devices on CI with `applesimutils --list` and
iPhone 14 is obviously there.

I've changed the testing device to 'iPhone 15 Pro` (available on list
☝🏻) and it seems to be passing consistently, but 🤷🏻‍♂️


## Test code and steps to reproduce

CI should pass...

## Checklist

- [ ] Ensured that CI passes
  • Loading branch information
kkafar authored Nov 14, 2024
1 parent ca4b482 commit 187cbd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Example/.detoxrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = {
simulator: {
type: 'ios.simulator',
device: {
type: 'iPhone 14',
type: 'iPhone 15 Pro',
},
},
attached: {
Expand Down

0 comments on commit 187cbd4

Please sign in to comment.