You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when working with Jenkins, and use 'start_process' to ask Jenkins to auto start ChromeDriver, but it fails.
Environment
Node.js: 10.15.0
Chrome Driver: 2.45.615291
Windows 2008 R2,
nightwatch: 1.0.18
nightwatch config:
module.exports={"src_folders": ["tests"],"globals_path": "./globalsModule.js","webdriver": {"start_process": true,// here!! Jenkins cannot auto start chromedriver"server_path": "node_modules/chromedriver/lib/chromedriver/chromedriver.exe","port": 9515},"test_settings": {"default": {"desiredCapabilities": {"browserName": "chrome","chromeOptions": {"args": [// use this to use 'headless' mode// "headless", "no-sandbox", "disable-gpu"]},}}},"test_workers": {// runs the tests in parallel"enabled": true,"workers": "auto"}};
Error
08:44:09 tests\report.js [Report] Test Suite
08:44:09 tests\report.js ===================
08:44:09 tests\report.js POST /session - ECONNRESET
08:44:09 tests\report.js Error: socket hang up
08:44:09 tests\report.js at createHangUpError (_http_client.js:323:15)
08:44:09 tests\report.js at Socket.socketCloseListener (_http_client.js:364:25)
08:44:09 tests\report.js An occurred error while retrieving a new session: "socket hang up"
08:44:09 tests\report.js at Socket.socketCloseListener (_http_client.js:364:11)
The text was updated successfully, but these errors were encountered:
when working with Jenkins, and use 'start_process' to ask Jenkins to auto start ChromeDriver, but it fails.
Environment
nightwatch config:
Error
08:44:09 tests\report.js [Report] Test Suite
08:44:09 tests\report.js ===================
08:44:09 tests\report.js POST /session - ECONNRESET
08:44:09 tests\report.js Error: socket hang up
08:44:09 tests\report.js at createHangUpError (_http_client.js:323:15)
08:44:09 tests\report.js at Socket.socketCloseListener (_http_client.js:364:25)
08:44:09 tests\report.js An occurred error while retrieving a new session: "socket hang up"
08:44:09 tests\report.js at Socket.socketCloseListener (_http_client.js:364:11)
The text was updated successfully, but these errors were encountered: