diff --git a/spec/api-web-contents-spec.js b/spec/api-web-contents-spec.js index d7a894cce4fd..448d2556a1bb 100644 --- a/spec/api-web-contents-spec.js +++ b/spec/api-web-contents-spec.js @@ -496,7 +496,7 @@ describe('webContents module', function () { }) }) ipcMain.once('temporary-zoom-set', (e, zoomLevel) => { - w2.loadURL(`file://${fixtures}/pages/a.html`) + w2.loadURL(`file://${fixtures}/pages/c.html`) finalZoomLevel = zoomLevel }) w.loadURL(`file://${fixtures}/pages/webframe-zoom.html`) @@ -521,10 +521,10 @@ describe('webContents module', function () { }) ipcMain.once('zoom-level-set', (e, zoomLevel) => { assert.equal(zoomLevel, 0.6) - w.loadURL(`file://${fixtures}/pages/b.html`) + w.loadURL(`file://${fixtures}/pages/d.html`) initialNavigation = false }) - w.loadURL(`file://${fixtures}/pages/a.html`) + w.loadURL(`file://${fixtures}/pages/c.html`) }) }) }) diff --git a/spec/fixtures/pages/webview-custom-zoom-level.html b/spec/fixtures/pages/webview-custom-zoom-level.html index 0598623a664f..24f246fdd292 100644 --- a/spec/fixtures/pages/webview-custom-zoom-level.html +++ b/spec/fixtures/pages/webview-custom-zoom-level.html @@ -1,20 +1,23 @@
-