NW V2.0.X not working on AWS code build with ubrantu image #3130
Replies: 8 comments 15 replies
-
Can you please format the settings code properly? |
Beta Was this translation helpful? Give feedback.
-
@beatfactor Not sure what you mean by 'format settings code property'. |
Beta Was this translation helpful? Give feedback.
-
@suraj007118 in the issue description, the configuration part came as plain text, and is very hard to read. |
Beta Was this translation helpful? Give feedback.
-
@swrdfish Hi, |
Beta Was this translation helpful? Give feedback.
-
@suraj007118 Looks like the Chrome driver failed to spawn the Chrome instance due to the 'Unknown error: DevToolsActivePort file does not exist, it's unrelated to Nightwatch. On a google search, stumble upon this answer which might a fix for your issue |
Beta Was this translation helpful? Give feedback.
-
It is related to Nightwatch only because same code works well with AWS when NW version is 1.7.11. Why the error does not occur with nightwatch v 1.7.11, rest all configurations remains same. Can you please help here, we are not able to leverage benefit of V2.0 with AWS code build execution Looks like the NW V2 has different behavior when it comes to chrime, looking at error below Starting ChromeDriver on port 9515... |
Beta Was this translation helpful? Give feedback.
-
@swrdfish Do you have any update on this? |
Beta Was this translation helpful? Give feedback.
-
@swrdfish I am using NW v 2.2.3 and still getting failure "Connected to ChromeDriver on port undefined" , it also says "Starting ChromeDriver on auto-generated port..." I have removed lines of code mentioning test workers from night.conf.js file Also, if I keep workers and remove --parallel flag then also tests fail |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Sample test
sampleTest.js
Run with command
"npm run $DeploymentEnvironment-contentStack"
e.g
npm run UAT-contentStack.
Verbose output
debug.log
Configuration
nightwatch.json
Your Environment
nightwatch --version
npm --version
node --version
| Ubuntu | 20.04 |
Beta Was this translation helpful? Give feedback.
All reactions