fix: remove the flag disabling bfcache (#11047)
This commit is contained in:
parent
30bd030078
commit
b0d7375519
@ -177,7 +177,6 @@ export class ChromeLauncher extends ProductLauncher {
|
||||
|
||||
if (!USE_TAB_TARGET) {
|
||||
disabledFeatures.push('Prerender2');
|
||||
disabledFeatures.push('BackForwardCache');
|
||||
}
|
||||
|
||||
const chromeArguments = [
|
||||
|
@ -1019,6 +1019,12 @@
|
||||
"parameters": ["webDriverBiDi"],
|
||||
"expectations": ["PASS"]
|
||||
},
|
||||
{
|
||||
"testIdPattern": "[page.spec] Page Page.select should not throw when select causes navigation",
|
||||
"platforms": ["darwin", "linux", "win32"],
|
||||
"parameters": ["webDriverBiDi"],
|
||||
"expectations": ["PASS"]
|
||||
},
|
||||
{
|
||||
"testIdPattern": "[page.spec] Page Page.select should respect event bubbling",
|
||||
"platforms": ["darwin", "linux", "win32"],
|
||||
@ -3173,12 +3179,6 @@
|
||||
"parameters": ["cdp", "firefox"],
|
||||
"expectations": ["FAIL"]
|
||||
},
|
||||
{
|
||||
"testIdPattern": "[page.spec] Page Page.select should not throw when select causes navigation",
|
||||
"platforms": ["darwin", "linux", "win32"],
|
||||
"parameters": ["webDriverBiDi"],
|
||||
"expectations": ["PASS"]
|
||||
},
|
||||
{
|
||||
"testIdPattern": "[page.spec] Page Page.select should work when re-defining top-level Event class",
|
||||
"platforms": ["darwin", "linux", "win32"],
|
||||
@ -3862,11 +3862,5 @@
|
||||
"platforms": ["darwin", "linux", "win32"],
|
||||
"parameters": ["cdp", "chrome", "headless"],
|
||||
"expectations": ["FAIL", "PASS"]
|
||||
},
|
||||
{
|
||||
"testIdPattern": "[coverage.spec] Coverage specs JSCoverage resetOnNavigation should report scripts across navigations when disabled",
|
||||
"platforms": ["darwin", "linux", "win32"],
|
||||
"parameters": ["cdp", "chrome", "new-headless", "tabTarget"],
|
||||
"expectations": ["FAIL"]
|
||||
}
|
||||
]
|
||||
|
@ -165,6 +165,8 @@ describe('Coverage specs', function () {
|
||||
|
||||
await page.coverage.startJSCoverage({resetOnNavigation: false});
|
||||
await page.goto(server.PREFIX + '/jscoverage/multiple.html');
|
||||
// TODO: navigating too fast might loose JS coverage data in the browser.
|
||||
await page.waitForNetworkIdle();
|
||||
await page.goto(server.EMPTY_PAGE);
|
||||
const coverage = await page.coverage.stopJSCoverage();
|
||||
expect(coverage).toHaveLength(2);
|
||||
|
Loading…
Reference in New Issue
Block a user