I'm reporting 2 issues in the same ticket.
Issue 1 - TestCafe fails to restart browser if it became unresponsive. This feature is broken starting from v1.0.0 (& v1.1.0) but works fine in v0.23.3 (#1815) . TestCafe is supposed to do the following but it stays frozen and won't restart the browser. See test code provided below to demonstrate this issue.
If a browser stops responding while it executes tests, TestCafe restarts the browser and reruns the current test in a new browser instance. If the same problem occurs with this test two more times, the test run finishes and an error is thrown.
Issue 2 - TestCafe fails to fully load the provided test page URL and stays in hung state and won't even throw a failure error. Please check why it stays in frozen state.
See above.
For issue 1 - TestCafe should restart browser if it became unresponsive.
For issue 2 - TestCafe should load the page elements and should not freeze and should complete the test run.
Your website URL (or attach your complete example):
Your complete test code (or attach your test files):
import { Selector } from 'testcafe';
fixture `Episode fixture`
.page `https://aperture.synacor.net/video/details/category/episode/id/290541212/title/I'd%20Rather%20Be%20Crafting/`;
test('Test', async t => {
await t.expect(Selector('.video_details-hero_title').innerText).eql(`1. I'd Rather Be Crafting`);
});
Your complete test report:
Screenshots:
Please run the provided test code.
Hi @sijosyn
Thank you for the detailed description. I've reproduced the problem.
For team: We should to encode the referrer property.

@miherlosev / @AndreyBelym - Can you please prioritize this issue and fix it asap? This is blocking bunch of our tests as TestCafe hangs/freezes when it runs to issue. Thanks.
@sijosyn
Sorry for delayed response. I've added this ticket to the current sprint, so we will try to fix it soon
This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow.