You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying out Detox lately and everything is working so far except for the fact that I haven't been able to get an Alert element or its button. For example:
Add a button that triggers an Alert component onPress
Try to get access that element using detox
I always get the error
"Timeout - Async callback was not invoked within the 120000ms specified by jest.setTimeout."
Detox, Node, Device, Xcode and macOS Versions
Detox: 8.1.6
React Native: 0.56.0
Node: v9.9.0
Device: iPhone X (simulator)
Xcode: 9.4
macOS: High Sierra
Device and verbose Detox logs
' FAIL e2e/create-password.spec.js (128.452s)
Create Password
✕ should validate that the passwords match (120779ms)
● Create Password › should validate that the passwords match
Timeout - Async callback was not invoked within the 120000ms timeout specified by jest.setTimeout.
22 | // });
23 |
> 24 | it('should validate that the passwords match', async () => {
| ^
25 | element(by.id('input-password')).tap()
26 | element(by.id('input-password')).typeText('foo');
27 | element(by.id('input-password-confirm')).typeText('bar\n');
at Spec (node_modules/jest-jasmine2/build/jasmine/Spec.js:85:20)
at Suite.<anonymous> (e2e/create-password.spec.js:24:3)
at Object.<anonymous> (e2e/create-password.spec.js:3:1)
Test Suites: 1 failed, 1 total
Tests: 1 failed, 1 total
Snapshots: 0 total
Time: 128.686s, estimated 129s'
The text was updated successfully, but these errors were encountered:
Description
I've been trying out Detox lately and everything is working so far except for the fact that I haven't been able to get an Alert element or its button. For example:
I've tried the following combinations:
and even by label and type as it's mentioned here
Steps to Reproduce
I always get the error
"Timeout - Async callback was not invoked within the 120000ms specified by jest.setTimeout."
Detox, Node, Device, Xcode and macOS Versions
Device and verbose Detox logs
The text was updated successfully, but these errors were encountered: