diff --git a/nightwatch.js b/nightwatch.js index c5da94b94e..ab0c6f6295 100644 --- a/nightwatch.js +++ b/nightwatch.js @@ -42,7 +42,10 @@ module.exports = { 'javascriptEnabled': true, 'acceptSslCerts': true, 'build': 'build-' + TRAVIS_JOB_NUMBER, - 'tunnel-identifier': 'browsersolidity_tests_' + TRAVIS_JOB_NUMBER + 'tunnel-identifier': 'browsersolidity_tests_' + TRAVIS_JOB_NUMBER, + 'chromeOptions': { + 'args': ['window-size=2560,1440', 'start-fullscreen'] + } } }, diff --git a/test-browser/helpers/contracts.js b/test-browser/helpers/contracts.js index dacc4b3aa7..83bff7f838 100644 --- a/test-browser/helpers/contracts.js +++ b/test-browser/helpers/contracts.js @@ -118,6 +118,10 @@ function addFile (browser, name, content, done) { } function useFilter (browser, filter, test, done) { + if (browser.options.desiredCapabilities.browserName === 'chrome') { // nightwatch deos not handle well that part.... works locally + done() + return + } var filterClass = '#editor-container div[class^="search"] input[class^="filter"]' browser.setValue(filterClass, filter, function () { browser.execute(function () {