diff --git a/test/assets/empty2.html b/test/assets/empty2.html
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/test/elementhandle.spec.js b/test/elementhandle.spec.js
index 39e783eab9f..7b3be85fdd8 100644
--- a/test/elementhandle.spec.js
+++ b/test/elementhandle.spec.js
@@ -132,7 +132,7 @@ module.exports.addTests = function({testRunner, expect}) {
describe('ElementHandle.contentFrame', function() {
it('should work', async({page,server}) => {
await page.goto(server.EMPTY_PAGE);
- await utils.attachFrame(page, 'frame1', server.EMPTY_PAGE2);
+ await utils.attachFrame(page, 'frame1', server.EMPTY_PAGE);
const elementHandle = await page.$('#frame1');
const frame = await elementHandle.contentFrame();
expect(frame).toBe(page.frames()[1]);
diff --git a/test/test.js b/test/test.js
index 95975640c83..7f4d5f4cbb9 100644
--- a/test/test.js
+++ b/test/test.js
@@ -46,7 +46,6 @@ beforeAll(async state => {
state.server.PREFIX = `http://localhost:${port}`;
state.server.CROSS_PROCESS_PREFIX = `http://127.0.0.1:${port}`;
state.server.EMPTY_PAGE = `http://localhost:${port}/empty.html`;
- state.server.EMPTY_PAGE2 = `http://localhost:${port}/empty2.html`;
const httpsPort = port + 1;
state.httpsServer = await TestServer.createHTTPS(assetsPath, httpsPort);
@@ -55,7 +54,6 @@ beforeAll(async state => {
state.httpsServer.PREFIX = `https://localhost:${httpsPort}`;
state.httpsServer.CROSS_PROCESS_PREFIX = `https://127.0.0.1:${httpsPort}`;
state.httpsServer.EMPTY_PAGE = `https://localhost:${httpsPort}/empty.html`;
- state.httpsServer.EMPTY_PAGE2 = `https://localhost:${httpsPort}/empty2.html`;
});
afterAll(async({server, httpsServer}) => {
diff --git a/test/waittask.spec.js b/test/waittask.spec.js
index ccf3f096109..426e93e0ea9 100644
--- a/test/waittask.spec.js
+++ b/test/waittask.spec.js
@@ -253,7 +253,7 @@ module.exports.addTests = function({testRunner, expect, product, Errors}) {
it('Page.waitForSelector is shortcut for main frame', async({page, server}) => {
await page.goto(server.EMPTY_PAGE);
- await utils.attachFrame(page, 'frame1', server.EMPTY_PAGE2);
+ await utils.attachFrame(page, 'frame1', server.EMPTY_PAGE);
const otherFrame = page.frames()[1];
const watchdog = page.waitForSelector('div');
await otherFrame.evaluate(addElement, 'div');
@@ -263,8 +263,8 @@ module.exports.addTests = function({testRunner, expect, product, Errors}) {
});
it('should run in specified frame', async({page, server}) => {
- await utils.attachFrame(page, 'frame1', server.EMPTY_PAGE2);
- await utils.attachFrame(page, 'frame2', server.EMPTY_PAGE2);
+ await utils.attachFrame(page, 'frame1', server.EMPTY_PAGE);
+ await utils.attachFrame(page, 'frame2', server.EMPTY_PAGE);
const frame1 = page.frames()[1];
const frame2 = page.frames()[2];
const waitForSelectorPromise = frame2.waitForSelector('div');