Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjamesstone committed May 19, 2020
1 parent 462db43 commit 8ada0eb
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions config/nightwatch.conf.js
@@ -1,4 +1,4 @@
// var selenium = require('selenium-server-standalone-jar')
var selenium = require('selenium-server')// -standalone-jar
var chromedriver = require('chromedriver')
// var phantomjs = require('phantomjs-prebuilt')
// Get the launchUrl from the argv,
Expand Down Expand Up @@ -26,23 +26,26 @@ module.exports = {
server_path: chromedriver.path
},

// selenium: {
// start_process: true,
// server_path: selenium.path,
// host: '127.0.0.1',
// port: 4444,
// cli_args: {
// 'webdriver.chrome.driver': chromedriver.path
// }
// },
selenium: {
start_process: true,
server_path: selenium.path,
host: '127.0.0.1',
port: 4444,
cli_args: {
'webdriver.chrome.driver': chromedriver.path
}
},

test_settings: {
default: {
// skiptags: 'map',
launch_url: url,
filter: 'tests/welsh-postcode/index.js',
desiredCapabilities: {
browserName: 'chrome'
browserName: 'chrome',
chromeOptions: {
w3c: false
}
}
}
}
Expand Down

0 comments on commit 8ada0eb

Please sign in to comment.