-
Notifications
You must be signed in to change notification settings - Fork 674
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
Test browsers hang intermittently when scrolling is present #8208
Comments
We appreciate you taking the time to share information about this issue. We reproduced the bug and added this ticket to our internal task queue. We'll update this thread once we have news. |
Hello, It is difficult to work on the issue because of how unstable the usage scenario is. Please try running your tests without concurrency and see if the tests fail. |
@Bayheck Hello, the live mode with concurrency was an example so that the issue is easily reproducible is visible. This also happens without the live mode as our tests run in GitLab without live mode. If the same tests are run with just concurrency but scrolling is present, there is a chance that browsers will hang. We also tried running without concurrency but with scrolling present and the browsers hang intermittently still. |
Hello, I tried to run your example without concurrency and live mode and got browser hanging on 1 out of 10-11 runs. How often do you get this behavior? Is issue occurrence frequency different on your CI and local runs? |
Hello, it was a fairly common occurrence because we tended to run those tests quite often and in multiple PR instance. The issue with this is that this behavior causes browsers to freeze so the entire suite would time out and that would cause a hassle. At this point, we are alright because we no longer do the scroll as we commented out that portion of the tests. |
What is your Scenario?
Would like to run tests with scroll event present without having the browsers hang
What is the Current behavior?
When running tests, the tests browsers intermittently hang without any further action and without timing out
If the scrollOccured is commented out (check test code), then there are seemingly no hanging issues
What is the Expected behavior?
Would like to run tests with scroll event present without having the browsers hang without ever exiting
What is the public URL of the test page? (attach your complete example)
https://github.com/ayemelyanenko-chegg/nextjs-nodejs-example
What is your TestCafe test code?
Your complete configuration file
No response
Your complete test report
No response
Screenshots
Tests hang and the console sometimes displays this error related to [r2wc]
Steps to Reproduce
TestCafe version
3.6
Node.js version
20.11
Command-line arguments
yarn testcafe chrome tests/sampleUploadTest.ts -c 3 -L
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response
The text was updated successfully, but these errors were encountered: