Nightwatch Jenkins Integration Help #3700
Unanswered
sagar1001
asked this question in
Help Needed
Replies: 1 comment 4 replies
-
|
I have been running in a pipeline on jenkins Maybe try. I would have thought that would work. One other thought your chrome version and chromedriver version may not match. When I npm install , I also run " npm install chromedriver --detect_chromedriver_version" Hope this helps. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Help needed to integrate nightwatch with Jenkins. Following the documentation and examples mentioned at https://nightwatchjs.org/guide/ci-integrations/run-nightwatch-on-jenkins.html, but getting below issues while running the pipeline from Jenkins. Jenkins is hosted in Linux machine.
Tried to adjust the configurations by enabling -'--headless', '--no-sandbox' but no effect. Please help.
�[0;36m[angularjs homepage todo list] Test Suite�[0m
�[0;35m───────────────────────────────────────────────────────────────────────────────�[0m
�[1;31m �[1;31mError�[0m
�[0;31m Response 500 POST /session (62ms)�[0m�[0m
{
value: {
error: �[32m'unknown error'�[39m,
message: �[32m'unknown error: Chrome failed to start: exited abnormally.\n'�[39m +
�[32m" (unknown error: DevToolsActivePort file doesn't exist)\n"�[39m +
�[32m' (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)'�[39m,
stacktrace: �[32m''�[39m
}
}
⚠ �[0;31mFailed to connect to ChromeDriver on localhost with �[0;90mport 9515�[0m.�[0m
Beta Was this translation helpful? Give feedback.
All reactions