Closed ianspektor closed 11 months ago
Detox logs:
This is an issue with AppleSimulatorUtils for ios17 - drop to ios16 if you can for now to continue with testing until this is resolved.
Indeed, dropping to 16.4 did the trick. Thank you!
@ianspektor How did you drop down to 16.4 in your detox tests?
@micahdasMA Hey! You can change your simulator's runtime in XCode: https://developer.apple.com/forums/thread/703670 (and then choose that simulator in the devices:
section of your .detoxrc.js
config
Hi @ianspektor , I run detox test on iPhone 14 with iOS 16.4. the notifications permission dialogue still pop up when launch App. Any solution? By the way, If I tap the dialogue manual, the test start run and success.
beforeAll(async () => { await device.launchApp({ permissions: { notifications: 'YES' } }); });
What happened?
The location permission dialog pops up when I get to the map screen in my app, even though I'm launching the app with location allowed:
Is there any way to circumvent this? Currently completely blocking us from using detox 🥲 Thanks in advance for any help!
What was the expected behaviour?
The dialog not to pop up.
Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
Not a regression, first time using detox.
Can't write an example to reproduce atm, but can make time for it in the next couple of days if necessary.
In what environment did this happen?
Detox version: 20.13.4 React Native version: 0.72.0 Has Fabric (React Native's new rendering system) enabled: no Node version: v18.18.2 Device model: iPhone 15 simulator iOS version: 17.0.1 macOS version: Sonoma 14.0 Xcode version: 15.0.1 Test-runner (select one): jest
Detox logs
Attaching in comment since it says body is too long.
Device logs
Device logs
Couldn't find a `device.log` in the artifacts folder after running this command. I've got `detox.log`, `detox.trace.json`, and `571D92F6-9F85-4733-99E3-442BB011F8EE 2023-11-01 13-01-16Z.startup.log`.More data, please!
No response