New issue
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
CDP does not reset the connection after a test session ends #3455
Comments
We need to look at how we are doing CDP sessions... Could you add verbose logging to this issue so we can investigate further? |
@AutomatedTester i already gave verbose output. Although i only postetd the start of the tests. Would you need the whole thing? |
Same problem here ! |
@LeoWie93 I think logs are incomplete we would need all the logs for the whole test run which would help us rectify the issue faster. |
here would be the whole log for two tests: Logs``` npm verb cli /home/user/.nvm/versions/node/v16.14.2/bin/node /home/user/.nvm/versions/node/v16.14.2/bin/npm npm info using npm@8.14.0 npm info using node@v16.14.2 npm timing npm:load:whichnode Completed in 0ms npm timing config:load:defaults Completed in 2ms npm timing config:load:file:/home/user/.nvm/versions/node/v16.14.2/lib/node_modules/npm/npmrc Completed in 1ms npm timing config:load:builtin Completed in 1ms npm timing config:load:cli Completed in 3ms npm timing config:load:env Completed in 0ms npm timing config:load:file:/home/user/projects/folder/folder/systeme-dir/kub-end2end-tests/.npmrc Completed in 1ms npm timing config:load:project Completed in 6ms npm timing config:load:file:/home/user/.npmrc Completed in 0ms npm timing config:load:user Completed in 0ms npm timing config:load:file:/home/user/.nvm/versions/node/v16.14.2/etc/npmrc Completed in 0ms npm timing config:load:global Completed in 0ms npm timing config:load:validate Completed in 0ms npm timing config:load:credentials Completed in 1ms npm timing config:load:setEnvs Completed in 1ms npm timing config:load Completed in 14ms npm timing npm:load:configload Completed in 14ms npm timing npm:load:mkdirpcache Completed in 0ms npm timing npm:load:mkdirplogs Completed in 0ms npm verb title npm run nightwatch ./for-github npm verb argv "run" "nightwatch" "./for-github" "--loglevel" "verbose" npm timing npm:load:setTitle Completed in 1ms npm timing config:load:flatten Completed in 2ms npm timing npm:load:display Completed in 6ms npm verb logfile logs-max:10 dir:/home/user/.npm/_logs npm verb logfile /home/user/.npm/_logs/2022-11-08T10_06_00_651Z-debug-0.log npm timing npm:load:logFile Completed in 5ms npm timing npm:load:timers Completed in 0ms npm timing npm:load:configScope Completed in 0ms npm timing npm:load Completed in 28ms
npm verb cli /home/user/.nvm/versions/node/v16.14.2/bin/node /home/user/.nvm/versions/node/v16.14.2/lib/node_modules/npm/bin/npm-cli.js Running step one: Login: Running step two: Open Address Form Page: Running step three: Add a Address: Running step four: Check if the address were added: ✨ PASSED. 2 assertions. (29ms) Running step five: remove added address: Running step one: Login:
(⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠴ : timing npm:load Completed in 28ms ️TEST FAILURE (13.157s):
✖ 2) for-github/a11-add_school_institution_address – step one: Login (5.752s) → ✖ NightwatchAssertError
Wrote HTML report file to: /home/user/projects/folder/folder/systeme-dir/kub-end2end-tests/reports/nightwatch-html-report/index.html npm timing command:exec Completed in 13510ms
|
@gravityvi @AutomatedTester |
@AutomatedTester Are their any news on this and the issue in general? |
Hey @LeoWie93 I will look into this issue and raise a PR to fix this. |
Description of the bug/issue
When running multiple test suits each using
registerBasicAuth
, only the first test suit works.Steps to reproduce
registerBasicAuth
in 2 different test filesSample test
Command to run
Verbose Output
Nightwatch Configuration
Nightwatch.js Version
3.4.1
Node Version
16
Browser
Chrome: 106.0.1
Operating System
Linux 5.15.74-1-lts
Additional Information
The independent test files work fine if called directly. But if a whole folder is called only the first one works as excpected
The text was updated successfully, but these errors were encountered: