-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
End-to-end tests fail on iOS 15.0 with a freshly scaffolded app #1804
Comments
Related to:
To temporarily fix this you can modify your Detox config in package.json: "detox": {
"test-runner": "jest",
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/PaltapIOApp.app",
"build": "xcodebuild -workspace ios/PaltapIOApp.xcworkspace -scheme PaltapIOApp -configuration Debug -sdk iphonesimula
tor -derivedDataPath ios/build -destination 'name=iPhone 11'",
"type": "ios.simulator",
- "name": "iPhone 11"
+ "device": { "name": "iPhone 11", "os": "iOS 14.5" }
},
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/PaltapIOApp.app",
"build": "xcodebuild -workspace ios/PaltapIOApp.xcworkspace -scheme PaltapIOApp -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -destination 'name=iPhone 11'",
"type": "ios.simulator",
- "name": "iPhone 11"
+ "device": { "name": "iPhone 11", "os": "iOS 14.5" }
}
} Not sure about closing this though as it is only a workaround until the template is modified to the above, or until Detox is fixed AND updated. |
I like the specific configuration setting of Combined with an update to |
🎉 This issue has been resolved in version 7.6.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What's going on?
End-to-end tests fail with a freshly scaffolded app. iOS build works, test build works, but the actual run of the tests fails.
When the test suite tries to run, we first see the app open, and then immediately crash, then the tests fails with
and then hangs.
Simulator logs give nothing at all.
If we then run the build manually in the simulator it launches without crashing.
Steps to reproduce
$ npx ignite-cli new TestApp
$ cd TestApp
$ yarn ios
--> works.$ yarn build:e2e
--> works.$ yarn test:e2e
--> fails.npx ignite-cli doctor
results:The text was updated successfully, but these errors were encountered: