From f0f17fffd8f3898ca91967316978fd092195873b Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 29 Aug 2017 14:23:39 +0900 Subject: [PATCH] spec: Do not test window positions They were too flaky. --- spec/api-browser-window-spec.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js index 15551ebe5e4c..9c3e7f4d9d2b 100644 --- a/spec/api-browser-window-spec.js +++ b/spec/api-browser-window-spec.js @@ -1017,8 +1017,6 @@ describe('BrowserWindow module', function () { } assert.equal(url, expectedUrl) assert.equal(frameName, 'popup!') - assert.equal(options.x, 50) - assert.equal(options.y, 60) assert.equal(options.width, 500) assert.equal(options.height, 600) ipcMain.once('answer', function (event, html) { @@ -1044,8 +1042,6 @@ describe('BrowserWindow module', function () { w.loadURL(pageUrl) w.webContents.once('new-window', (e, url, frameName, disposition, options) => { assert.equal(url, 'http://www.google.com/#q=electron') - assert.equal(options.x, 55) - assert.equal(options.y, 65) assert.equal(options.width, 505) assert.equal(options.height, 605) ipcMain.once('child-loaded', function (event, openerIsNull, html) {