fix(release-1.11): fix tests after cherry-pick (#6634)
This commit is contained in:
parent
97aacf3cde
commit
6a9939db86
|
|
@ -245,9 +245,8 @@ playwrightTest.describe('chromium', () => {
|
||||||
expect(request.headers['foo']).toBe('bar');
|
expect(request.headers['foo']).toBe('bar');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
|
||||||
|
|
||||||
playwrightTest('should report all pages in an existing browser', async ({ browserType, browserOptions }, testInfo) => {
|
playwrightTest('should report all pages in an existing browser', async ({ browserType, browserOptions }, testInfo) => {
|
||||||
const port = 9339 + testInfo.workerIndex;
|
const port = 9339 + testInfo.workerIndex;
|
||||||
const browserServer = await browserType.launch({
|
const browserServer = await browserType.launch({
|
||||||
...browserOptions,
|
...browserOptions,
|
||||||
|
|
@ -272,4 +271,6 @@ playwrightTest('should report all pages in an existing browser', async ({ browse
|
||||||
} finally {
|
} finally {
|
||||||
await browserServer.close();
|
await browserServer.close();
|
||||||
}
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue