Skip to content

Commit

Permalink
fix(detox-tests): Timeout tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
bataevvlad committed Aug 30, 2023
1 parent 0ac3066 commit 2545fab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/Basic/e2e/android/main.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,15 +201,15 @@ describe('Android: Profile and Entitlements screen', () => {

await waitFor(element(by.id('login_btn_text')))
.toHaveText('Logout')
.withTimeout(5000);
.withTimeout(10000);

await expect(element(by.id('user_id'))).toHaveText('Customer Id');

await element(by.id('login_btn')).tap();

await waitFor(element(by.id('login_btn_text')))
.toHaveText('Login')
.withTimeout(5000);
.withTimeout(10000);

await expect(element(by.id('user_id'))).toHaveText('Device Id');
});
Expand Down

0 comments on commit 2545fab

Please sign in to comment.