Skip to content

Commit

Permalink
chore(test): update web test to wait longer
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Sep 17, 2024
1 parent 538c70c commit cf60c24
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/e2e/web/src/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,15 @@ describe('ESM browser validation', () => {

await waitFor(
() => {
console.log('waiting for contract info to render...');
screen.getByTestId('load-info-result');
},
{
interval: 10000,
timeout: 30000,
interval: 5_000,
timeout: 60_000,
},
);

const result = screen.getByTestId('load-info-result');
// check the sdk loaded the data
expect(result).toHaveTextContent('true');
});

Expand All @@ -45,8 +43,8 @@ describe('ESM browser validation', () => {
screen.getByTestId('load-registry-result');
},
{
interval: 2000,
timeout: 30000,
interval: 5_000,
timeout: 60_000,
},
);

Expand Down

0 comments on commit cf60c24

Please sign in to comment.