From 9e922dd0c7d0e8f0bd817e6c6879fd0e360b60de Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 4 Aug 2015 15:40:31 +0800 Subject: [PATCH] spec: Don't set window to fullscreen unless under travis --- spec/webview-spec.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/webview-spec.coffee b/spec/webview-spec.coffee index ef0763b0147c..ba3478fca557 100644 --- a/spec/webview-spec.coffee +++ b/spec/webview-spec.coffee @@ -263,6 +263,8 @@ describe ' 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