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

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

Loading…
Cancel
Save