-
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
Page with link rel=prefetch hungs during test execution #2528
Comments
Hi @StanTheIV I've reproduced the issue. I need an additional time to investigate the reason of the problem. |
Hi, I'm a colleague of @StanTheIV and quite new to TestCafe - so sorry for anything that's obvious anyway... It seems to be a problem with prefetching. On the page prior the one that hangs, we use prefetch tags to cache the next page.
Example:
Maybe you could determine if isPage should be true only using the response headers in case of Hope that helps! |
I'm working on it |
Hi @StanTheIV, I've just published |
Fixed in 94c4d6c |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests. For TestCafe API, usage and configuration inquiries, we recommend asking them on StackOverflow. |
Are you requesting a feature or reporting a bug?
bug
What is the current behavior?
When I run the test in chrome (version 67.0.3396) some pages stop loading. The testwindow even gets unlocked and if you hardreset the page (CTRL + SHIFT + R) the test keeps going. When running it normaly it just gets stuck occasionally, but if you run the test in debug-mode (-d) the error occurs every time on two pages.
In Firefox, Safari and Edge the test passes.
What is the expected behavior?
The tests should run through and pass.
How would you reproduce the current behavior (if this is a bug)?
Run the test in debug mode and once you get to the second page just 'Resume' the test. The third page won't load completly.
Provide the test code and the tested page URL (if applicable)
Tested page URL: https://www.durchblicker.at/strom
Test code
Specify your
Chrome Console Error
The text was updated successfully, but these errors were encountered: