Fix Detox failure for new ignited projects #1808
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please verify the following:
yarn ci:test
jest tests pass with new tests, if relevantREADME.md
has been updated with your changes, if relevantDescribe your PR
This fixes a current issue whereby running e2e via Detox failed because the default Detox config did NOT specify which OS of the iPhone 11 device is used for e2e tests. The change is to
package.json
. Instead of merely specifying the name of the iOS simulated device, both the name and OS version are specified. The OS version in this case must be less than 15 in order to avoid the cause of Detox tests failing on new ignited projects.To provide more information about how users can configure the Detox settings in
package.json
according to their environment, the README file in the e2e directory has been updated with information about how to find the supported versions of simulators installed in their environments via Xcode itself. This will help future users modify the Detox configuration settings in the future.Fixes #1804.