remove uneeded change

pull/1/head
yann300 7 years ago
parent 84b847605d
commit 012fe957fc
  1. 15
      nightwatch.js
  2. 4
      test-browser/helpers/init.js

@ -32,8 +32,7 @@ module.exports = {
'javascriptEnabled': true, 'javascriptEnabled': true,
'acceptSslCerts': true, 'acceptSslCerts': true,
'build': 'build-' + TRAVIS_JOB_NUMBER, 'build': 'build-' + TRAVIS_JOB_NUMBER,
'tunnel-identifier': 'browsersolidity_tests_' + TRAVIS_JOB_NUMBER, 'tunnel-identifier': 'browsersolidity_tests_' + TRAVIS_JOB_NUMBER
'elementScrollBehavior': 1
} }
}, },
@ -43,8 +42,7 @@ module.exports = {
'javascriptEnabled': true, 'javascriptEnabled': true,
'acceptSslCerts': true, 'acceptSslCerts': true,
'build': 'build-' + TRAVIS_JOB_NUMBER, 'build': 'build-' + TRAVIS_JOB_NUMBER,
'tunnel-identifier': 'browsersolidity_tests_' + TRAVIS_JOB_NUMBER, 'tunnel-identifier': 'browsersolidity_tests_' + TRAVIS_JOB_NUMBER
'elementScrollBehavior': 1
} }
}, },
@ -56,8 +54,7 @@ module.exports = {
'version': '10.0', 'version': '10.0',
'acceptSslCerts': true, 'acceptSslCerts': true,
'build': 'build-' + TRAVIS_JOB_NUMBER, 'build': 'build-' + TRAVIS_JOB_NUMBER,
'tunnel-identifier': 'browsersolidity_tests_' + TRAVIS_JOB_NUMBER, 'tunnel-identifier': 'browsersolidity_tests_' + TRAVIS_JOB_NUMBER
'elementScrollBehavior': 1
} }
}, },
@ -69,8 +66,7 @@ module.exports = {
'acceptSslCerts': true, 'acceptSslCerts': true,
'version': '11.103', 'version': '11.103',
'build': 'build-' + TRAVIS_JOB_NUMBER, 'build': 'build-' + TRAVIS_JOB_NUMBER,
'tunnel-identifier': 'browsersolidity_tests_' + TRAVIS_JOB_NUMBER, 'tunnel-identifier': 'browsersolidity_tests_' + TRAVIS_JOB_NUMBER
'elementScrollBehavior': 1
} }
}, },
@ -81,8 +77,7 @@ module.exports = {
'desiredCapabilities': { 'desiredCapabilities': {
'browserName': 'firefox', 'browserName': 'firefox',
'javascriptEnabled': true, 'javascriptEnabled': true,
'acceptSslCerts': true, 'acceptSslCerts': true
'elementScrollBehavior': 1
} }
} }
} }

@ -2,8 +2,6 @@ module.exports = function (browser, callback) {
browser browser
.url('http://127.0.0.1:8080/#version=builtin') .url('http://127.0.0.1:8080/#version=builtin')
.injectScript('test-browser/helpers/applytestmode.js', function () { .injectScript('test-browser/helpers/applytestmode.js', function () {
browser.resizeWindow(2560, 1440, () => { browser.resizeWindow(2560, 1440, callback)
browser.maximizeWindow(callback)
})
}) })
} }

Loading…
Cancel
Save