mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: increase timeouts for tests creating many pages (#9931)
This commit is contained in:
parent
4465f4bd19
commit
9af680d3e5
@ -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;
|
||||
@ -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;
|
||||
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user