Skip to content

Commit 58195db

Browse files
author
Matt Gaunt
committed
Turning off FF tests on OS X on Travis. Geckodriver issue.
1 parent d31ccf0 commit 58195db

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/testSelenium.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,18 @@
5555
return Promise.resolve();
5656
}
5757

58+
if (browser.getSeleniumBrowserId() === 'firefox' &&
59+
process.platform === 'darwin' &&
60+
process.env.TRAVIS === 'true') {
61+
console.log('');
62+
console.warn(chalk.red(
63+
'Running on Travis OS X so skipping firefox tests as ' +
64+
'they don\'t currently work.'
65+
));
66+
console.log('');
67+
return Promise.resolve();
68+
}
69+
5870
return createServer(options, webPush)
5971
.then(function(server) {
6072
globalServer = server;

0 commit comments

Comments
 (0)