From e3ea8a88f5216950c4c997a81277c00037c16f84 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 25 Oct 2022 13:39:06 -0400 Subject: [PATCH] LP1989195 Nightwatch Chrome Config & Notes This does not install the chrome driver by default. It only modifies the config to support chrome as an option. For those that want to test with Chrome in addition to Firefox: $ npm install --save-dev chromedriver $ ng e2e --evn chrome Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg --- Open-ILS/src/eg2/nightwatch.conf.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Open-ILS/src/eg2/nightwatch.conf.js b/Open-ILS/src/eg2/nightwatch.conf.js index e1f20e1212..4c2688329b 100644 --- a/Open-ILS/src/eg2/nightwatch.conf.js +++ b/Open-ILS/src/eg2/nightwatch.conf.js @@ -74,6 +74,23 @@ module.exports = { // '-vv' ] } + }, + // To test with chrome: + // $ npm install --save-dev chromedriver + // $ ng e2e --evn chrome + chrome: { + desiredCapabilities : { + browserName : 'chrome', + alwaysMatch: { + acceptInsecureCerts: true, + } + }, + webdriver: { + start_process: true, + server_path: '', + cli_args: [ + ] + } } } }; -- 2.11.0