From: Kevin Sawicki Date: Tue, 29 Nov 2016 22:18:42 +0000 (-0800) Subject: Run more crashReporter specs on CI X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=77fa7ce977524de16e8d12c06eeed6c4979b80b9;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Run more crashReporter specs on CI --- diff --git a/spec/api-crash-reporter-spec.js b/spec/api-crash-reporter-spec.js index df4bbfa..781a524 100644 --- a/spec/api-crash-reporter-spec.js +++ b/spec/api-crash-reporter-spec.js @@ -9,6 +9,8 @@ const {closeWindow} = require('./window-helpers') const {remote} = require('electron') const {app, BrowserWindow, crashReporter} = remote.require('electron') +const isCI = remote.getGlobal('isCi') + describe('crashReporter module', function () { var fixtures = path.resolve(__dirname, 'fixtures') var w = null @@ -33,12 +35,9 @@ describe('crashReporter module', function () { return } - var isCI = remote.getGlobal('isCi') - if (isCI) { - return - } - it('should send minidump when renderer crashes', function (done) { + if (isCi) return + this.timeout(120000) var called = false diff --git a/spec/chromium-spec.js b/spec/chromium-spec.js index 1a39edd..ff27d0e 100644 --- a/spec/chromium-spec.js +++ b/spec/chromium-spec.js @@ -61,11 +61,9 @@ describe('chromium feature', function () { w.loadURL(url) }) - if (isCI && process.platform === 'win32') { - return - } - it('is set correctly when window is inactive', function (done) { + if (isCI && process.platform === 'win32') return done() + w = new BrowserWindow({ show: false })