From 187cbd43a6c239bceeb9c188e0653f50f478bca0 Mon Sep 17 00:00:00 2001 From: Kacper Kafara Date: Thu, 14 Nov 2024 13:53:07 +0100 Subject: [PATCH] chore(CI): fix iOS e2e tests (#2503) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 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 --- Example/.detoxrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Example/.detoxrc.js b/Example/.detoxrc.js index 351327205c..70ec6a8711 100644 --- a/Example/.detoxrc.js +++ b/Example/.detoxrc.js @@ -42,7 +42,7 @@ module.exports = { simulator: { type: 'ios.simulator', device: { - type: 'iPhone 14', + type: 'iPhone 15 Pro', }, }, attached: {