Skip to content
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

Warning "Jest did not exit one second after the test run has completed." #1819

Open
larstippmann opened this issue Apr 26, 2024 · 7 comments

Comments

@larstippmann
Copy link

🐛 Bug Report

A clear and concise description of what the bug is.

After running any side file the regardless if successful or not I get an error and it takes from 10 seconds up to a minute until the command has finished.


Jest did not exit one second after the test run has completed.

'This usually means that there are asynchronous operations that weren't stoppedin your tests. Consider running Jest with --detectOpenHandles to troubleshootthis issue.


To Reproduce

npm init
npm i selenium-side-runner@^4.0.5

./node_modules/.bin/selenium-side-runner -c 'browserName=chrome goog:chromeOptions.args=[headless,disable-infobars,disable-gpu,no-sandbox,disable-dev-shm-usage]' -s http://localhost:4444/wd/hub /projects/mpoint/webdriver/test/wuedesto/Wuedesto_DE-Login-Logout.side

I am using Selenium 4.20.0 with Chrome 120.

Expected behavior

The system should run without error

Environment

OS: Debian
Selenium IDE Version: 4.2.0
Selenium SIDE Runner Version: 4.0.5
Please note that selenium-side-runner supports Node.js 16+
-->
Node version: 20.12.2
Only required if using selenium-side-runner
-->
Browser: Chrome 120.0.6099.199

@toddtarsi
Copy link
Contributor

Thanks for reporting! I'm seeing this as well. Does it hang for a long time on your machine or seem to still cleanup and exit alright?

@larstippmann
Copy link
Author

It hangs for up to a minute

@toddtarsi
Copy link
Contributor

Yeah I'm seeing that too. Not ideal. Will be looking at it this weekend or next. First thing on my slate is doing a bit of changes to the new internationalization system to align that stuff more long term (we are getting some absolutely amazing help from some Chinese developers). After that's out, I'll come back around here.

@larstippmann
Copy link
Author

Hi Todd, thanks for checking the problem!

@zjiale
Copy link

zjiale commented May 17, 2024

I have the same problem in my program TvT

@eurekatestbed
Copy link

I'm facing a similar issue. Is there a work around for this?
Thanks in advance.

@NikhilHedau
Copy link

Hi @toddtarsi
I am facing this issue in ver 4.0.12 too. Can you please suggest some workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants