spec: Don't set window to fullscreen unless under travis

This commit is contained in:
Cheng Zhao 2015-08-04 15:40:31 +08:00
parent 4ac59e2674
commit 9e922dd0c7

View file

@ -263,6 +263,8 @@ describe '<webview> tag', ->
document.body.appendChild webview
describe 'executeJavaScript', ->
return unless process.env.TRAVIS is 'true'
it 'should support user gesture', (done) ->
listener = (e) ->
webview.removeEventListener 'enter-html-full-screen', listener