When I attempt to run a Nightwatch test from Jenkins I get an error
Steps to reproduceNo response
Sample testNo response
Command to runNo response
Verbose Output/var/lib/jenkins/workspace/Portal_UI_Automated_Tests_QA/node_modules/selenium-webdriver/lib/virtual_authenticator.js:26
static Protocol = {
^
SyntaxError: Unexpected token =
at Module._compile (internal/modules/cjs/loader.js:721:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/var/lib/jenkins/workspace/Portal_UI_Automated_Tests_QA/node_modules/selenium-webdriver/lib/webdriver.js:40:20)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
nightwatch v2.2.1
Nightwatch.js Version2.2.1
NPM Version6.9.0
Node Version10.16.0
Yarn VersionNo response
BrowserNo response
Operating SystemNo response
Additional InformationThe test runs successfully with v2.1.8 but fails with Nightwatch v2.2.x or higher. The error indicates an issue with selenium-webdriver/lib/virtual_authenticator.js which was updated in v2.2.1 per #3215
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4