We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
By default when you running nighwatch tests via webdriver against chrome, logs are created for every test suites in logs/.
Running multiple tests with test_workers enabled cause this logs to be missing, no logs will be created regarddless of the settings.
npx nightwatch tests/guide/ --env chrome --workers=4
chromedriver logs should be created in folder logs/
logs/
No response
module.exports = { test runner. src_folders: ['tests'], // See https://nightwatchjs.org/guide/working-with-page-objects/using-page-objects.html page_objects_path: ['lib/pages/'], // See https://nightwatchjs.org/guide/extending-nightwatch/custom-commands.html custom_commands_path: ['lib/custom-commands/'], // See https://nightwatchjs.org/guide/extending-nightwatch/custom-assertions.html custom_assertions_path: '', // See https://nightwatchjs.org/guide/extending-nightwatch/plugin-api.html plugins: [], // See https://nightwatchjs.org/guide/#external-globals //globals_path : 'lib/globals.js', webdriver: {}, test_settings: { default: { disable_error_log: false, launch_url: 'https://nightwatchjs.org', screenshots: { enabled: false, path: 'screens', on_failure: true }, desiredCapabilities: { browserName : 'chrome' }, webdriver: { start_process: true, keep_alive: { enabled: true, keepAliveMsecs: 3000 }, server_path: '' } }, safari: { desiredCapabilities : { browserName : 'safari', alwaysMatch: { acceptInsecureCerts: false } }, webdriver: { start_process: true, server_path: '' } }, firefox: { desiredCapabilities : { browserName : 'firefox', alwaysMatch: { acceptInsecureCerts: true, 'moz:firefoxOptions': { args: [ // '-headless', // '-verbose' ] } } }, webdriver: { start_process: true, server_path: '', cli_args: [ // very verbose geckodriver logs // '-vv' ] } }, chrome: { desiredCapabilities : { browserName : 'chrome', 'goog:chromeOptions' : { // More info on Chromedriver: https://sites.google.com/a/chromium.org/chromedriver/ // // w3c:false tells Chromedriver to run using the legacy JSONWire protocol (not required in Chrome 78) args: [ //'--no-sandbox', //'--ignore-certificate-errors', //'--allow-insecure-localhost', '--headless' ] } }, webdriver: { start_process: true, server_path: '', cli_args: [ "--verbose" ] } }, edge: { desiredCapabilities : { browserName : 'MicrosoftEdge', 'ms:edgeOptions' : { w3c: true, // More info on EdgeDriver: https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium/capabilities-edge-options args: [ //'--headless' ] } }, webdriver: { start_process: true, // Download msedgedriver from https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium/ // and set the location below: server_path: '', cli_args: [ // --verbose ] } }} };
3.7.0
20.15.1
Chrome 127.0.6533.120
MAC 14.5 (Linux too)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description of the bug/issue
By default when you running nighwatch tests via webdriver against chrome, logs are created for every test suites in logs/.
Running multiple tests with test_workers enabled cause this logs to be missing, no logs will be created regarddless of the settings.
Steps to reproduce
npx nightwatch tests/guide/ --env chrome --workers=4
chromedriver logs should be created in folder
logs/
Sample test
No response
Command to run
Verbose Output
No response
Nightwatch Configuration
Nightwatch.js Version
3.7.0
Node Version
20.15.1
Browser
Chrome 127.0.6533.120
Operating System
MAC 14.5 (Linux too)
Additional Information
No response
The text was updated successfully, but these errors were encountered: