Skip to content

Commit

Permalink
fix: increase timeout for e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed Jan 26, 2024
1 parent 9e28cca commit dabc748
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions example/e2e/ldk.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,19 @@ describe('LDK integration test', () => {
await element(by.id('dev')).tap();
});

it('should have heading', async () => {
it('should show "Running LDK" after starting up', async () => {
await waitFor(element(by.text('react-native-ldk')))
.toBeVisible()
.withTimeout(20000);
});
.withTimeout(60000);

it('should show "Running LDK" after starting up', async () => {
// await element(by.id('start')).tap();
await waitFor(element(by.text('Running LDK')))
.toBeVisible()
.withTimeout(20000);
.withTimeout(60000);

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

await waitFor(element(by.text('e2e success')))
.toBeVisible()
.withTimeout(20000);
.withTimeout(60000);
});
});

0 comments on commit dabc748

Please sign in to comment.