chore: housekeeping after the last firefox roll (#35116)
This commit is contained in:
parent
4767845f20
commit
49f03c87fc
|
@ -444,5 +444,4 @@ function toJugglerProxyOptions(proxy: types.ProxySettings) {
|
||||||
// Prefs for quick fixes that didn't make it to the build.
|
// Prefs for quick fixes that didn't make it to the build.
|
||||||
// Should all be moved to `playwright.cfg`.
|
// Should all be moved to `playwright.cfg`.
|
||||||
const kBandaidFirefoxUserPrefs = {
|
const kBandaidFirefoxUserPrefs = {
|
||||||
'dom.fetchKeepalive.enabled': false,
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -342,3 +342,10 @@ it('default user agent', async ({ launchPersistent, browser, page, mode }) => {
|
||||||
const { userAgent } = await (browser as any)._channel.defaultUserAgentForTest();
|
const { userAgent } = await (browser as any)._channel.defaultUserAgentForTest();
|
||||||
expect(await page.evaluate(() => navigator.userAgent)).toBe(userAgent);
|
expect(await page.evaluate(() => navigator.userAgent)).toBe(userAgent);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('should create two pages in parallel', async ({ context }) => {
|
||||||
|
await Promise.all([
|
||||||
|
context.newPage(),
|
||||||
|
context.newPage(),
|
||||||
|
]);
|
||||||
|
});
|
||||||
|
|
Loading…
Reference in New Issue