addressed comments
This commit is contained in:
parent
c76f783f02
commit
92df596037
|
|
@ -792,6 +792,7 @@ module.exports.describe = function({testRunner, expect, headless, playwright, FF
|
||||||
expect(cachedRequest.headers['if-modified-since']).not.toBe(undefined);
|
expect(cachedRequest.headers['if-modified-since']).not.toBe(undefined);
|
||||||
|
|
||||||
await page.setCacheEnabled(false);
|
await page.setCacheEnabled(false);
|
||||||
|
await page.goto(server.EMPTY_PAGE);
|
||||||
const [nonCachedRequest] = await Promise.all([
|
const [nonCachedRequest] = await Promise.all([
|
||||||
server.waitForRequest('/cached/one-style.html'),
|
server.waitForRequest('/cached/one-style.html'),
|
||||||
page.goto(server.PREFIX + '/cached/one-style.html'),
|
page.goto(server.PREFIX + '/cached/one-style.html'),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue