spec: Do not enter fullscreen in travis on OS X

It is too flaky
This commit is contained in:
Cheng Zhao 2016-03-11 10:25:12 +09:00
parent 8e19edd1b5
commit 256c2684ee

View file

@ -548,11 +548,10 @@ describe('<webview> tag', function() {
});
describe('executeJavaScript', function() {
if (process.env.TRAVIS !== 'true') {
return;
}
it('should support user gesture', function(done) {
if (process.env.TRAVIS !== 'true' || process.platform == 'darwin')
return done();
var listener = function() {
webview.removeEventListener('enter-html-full-screen', listener);
done();