-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
device.launchApp won't give notification permissions on 7.3.2 #653
Comments
On the first log, I don't see a call to |
I'm not sure why it wouldn't go through the |
I'll try do some debugging and get back to you, or create a minimal repro.
…On Fri, Mar 30, 2018, 14:43 Leo Natan ***@***.***> wrote:
I'm not sure why it wouldn't go through the setPermission code path.
https://github.com/wix/detox/blob/792a78233e0c634d42b2e605c105cd4c6f6e41de/detox/src/devices/Device.js#L84
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#653 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABfmwwxvjsrR9mAC25nO2Q_Xuhwo9IU0ks5tjihrgaJpZM4S_azH>
.
|
sorry, not quite sure what happened, but I cannot reproduce it any more. |
If you reproduce again, please open a new issue. Thanks. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
I use detox for testing RN app only on ios and jest as test runner. After upgrade from 7.2.0 to 7.3.2, tests do not pass - they fail on timeout:
Steps to Reproduce
create an app that asks for notification permissions on start.
boot simulator, reset its content and settings, run
detox test
and you will see that app starts, and the alert asking for notification permissions shows up, but is not handled by detox. The app will hang in there until the timeout fails the tests.Interestingly, if you kill the tests before the timeout and run them again, the notification permissions are set and the tests pass.
Detox, Node, Device, Xcode and macOS Versions
Device and verbose Detox logs
first run (fails but I killed it before the timeout): gist
second run (succeeds): gist
The text was updated successfully, but these errors were encountered: