Skip to content

Commit

Permalink
chore: increase timeouts for tests creating many pages (#9931)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN authored Mar 28, 2023
1 parent 4465f4b commit 9af680d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions test/src/navigation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,9 @@ describe('navigation', function () {
// Expect navigation to succeed.
expect(response.ok()).toBe(true);
});
it('should not leak listeners during navigation', async () => {
it('should not leak listeners during navigation', async function () {
this.timeout(25_000);

const {page, server} = getTestState();

let warning = null;
Expand All @@ -432,7 +434,9 @@ describe('navigation', function () {
process.removeListener('warning', warningHandler);
expect(warning).toBe(null);
});
it('should not leak listeners during bad navigation', async () => {
it('should not leak listeners during bad navigation', async function () {
this.timeout(25_000);

const {page} = getTestState();

let warning = null;
Expand All @@ -448,7 +452,9 @@ describe('navigation', function () {
process.removeListener('warning', warningHandler);
expect(warning).toBe(null);
});
it('should not leak listeners during navigation of 11 pages', async () => {
it('should not leak listeners during navigation of 11 pages', async function () {
this.timeout(25_000);

const {context, server} = getTestState();

let warning = null;
Expand Down

0 comments on commit 9af680d

Please sign in to comment.