Suppress window operations in CI
This commit is contained in:
parent
8f06bd6f3e
commit
8e5a434560
1 changed files with 3 additions and 3 deletions
|
@ -206,7 +206,7 @@ describe 'browser-window module', ->
|
||||||
w.loadUrl "file://#{fixtures}/pages/target-name.html"
|
w.loadUrl "file://#{fixtures}/pages/target-name.html"
|
||||||
|
|
||||||
describe 'maximize event', ->
|
describe 'maximize event', ->
|
||||||
return if isCI and process.platform is 'linux'
|
return if isCI
|
||||||
it 'emits when window is maximized', (done) ->
|
it 'emits when window is maximized', (done) ->
|
||||||
@timeout 10000
|
@timeout 10000
|
||||||
w.once 'maximize', -> done()
|
w.once 'maximize', -> done()
|
||||||
|
@ -214,7 +214,7 @@ describe 'browser-window module', ->
|
||||||
w.maximize()
|
w.maximize()
|
||||||
|
|
||||||
describe 'unmaximize event', ->
|
describe 'unmaximize event', ->
|
||||||
return if isCI and process.platform is 'linux'
|
return if isCI
|
||||||
it 'emits when window is unmaximized', (done) ->
|
it 'emits when window is unmaximized', (done) ->
|
||||||
@timeout 10000
|
@timeout 10000
|
||||||
w.once 'unmaximize', -> done()
|
w.once 'unmaximize', -> done()
|
||||||
|
@ -223,7 +223,7 @@ describe 'browser-window module', ->
|
||||||
w.unmaximize()
|
w.unmaximize()
|
||||||
|
|
||||||
describe 'minimize event', ->
|
describe 'minimize event', ->
|
||||||
return if isCI and process.platform is 'linux'
|
return if isCI
|
||||||
it 'emits when window is minimized', (done) ->
|
it 'emits when window is minimized', (done) ->
|
||||||
@timeout 10000
|
@timeout 10000
|
||||||
w.once 'minimize', -> done()
|
w.once 'minimize', -> done()
|
||||||
|
|
Loading…
Reference in a new issue