]> khamidou — GitHub mirrors - electron.git/commitdiff
spec: Don't set window to fullscreen unless under travis
authorCheng Zhao <zcbenz@gmail.com>
Tue, 4 Aug 2015 07:40:31 +0000 (15:40 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 4 Aug 2015 07:40:31 +0000 (15:40 +0800)
spec/webview-spec.coffee

index ef0763b0147c77b6a708de259532c681205372a1..ba3478fca557daad487c9f6c3b7070a31667f770 100644 (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