Skip to content

Commit 7603e4a

Browse files
committed
chore: Upgrade Nightwatch, Chrome and Selenium
1 parent 9464052 commit 7603e4a

File tree

3 files changed

+899
-2286
lines changed

3 files changed

+899
-2286
lines changed

nightwatch.conf.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
globals_path: 'tests/globals.js',
1111
selenium: {
1212
start_process: true,
13-
server_path: './node_modules/selenium-server-standalone-jar/jar/selenium-server-standalone-3.11.0.jar',
13+
server_path: './node_modules/selenium-server-standalone-jar/jar/selenium-server-standalone-3.141.59.jar',
1414
log_path: 'nightwatch-output/logs',
1515
port: 9515,
1616
cli_args: {
@@ -36,11 +36,8 @@ module.exports = {
3636
browserName: 'chrome',
3737
marionette: true,
3838
chromeOptions: {
39-
args: [
40-
'--no-sandbox',
41-
'incognito',
42-
'disable-extensions'
43-
]
39+
args: ['--no-sandbox', 'incognito', 'disable-extensions'],
40+
w3c: false
4441
}
4542
}
4643
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"babel-plugin-transform-decorators-legacy": "^1.3.5",
3434
"chai": "^4.2.0",
3535
"chai-as-promised": "^7.1.1",
36-
"chromedriver": "^2.37.0",
36+
"chromedriver": "^83.0.0",
3737
"enzyme": "^3.11.0",
3838
"enzyme-adapter-react-16": "^1.15.2",
3939
"eslint": "^7.1.0",
@@ -45,8 +45,8 @@
4545
"eslint-plugin-react": "^7.20.0",
4646
"faker": "^4.1.0",
4747
"nightmare": "^3.0.2",
48-
"nightwatch": "^0.9.20",
48+
"nightwatch": "^1.3.6",
4949
"react-test-renderer": "^16.13.1",
50-
"selenium-server-standalone-jar": "3.11.0"
50+
"selenium-server-standalone-jar": "3.141.59"
5151
}
5252
}

0 commit comments

Comments
 (0)