Automatic Browser Restart (when frozen/hung) feature broken from v1.0.0 onwards #3781
Labels
STATE: Auto-locked
An issue has been automatically locked by the Lock bot.
TYPE: bug
The described behavior is considered as wrong (bug).
Milestone
What is your Test Scenario?
I wonder what happened to this feature this was first introduced in v0.23.0 - Browsers are Automatically Restarted When They Stop Responding. This is an excellent feature and was working fine up until v0.23.3. When TestCafe v1.0.0 came out, this feature stopped working (even happens in v1.1.4). TestCafe won't restart the browser when it goes into hung/frozen state (Browser instances are open but no actions happen inside the browser window). I don't have 100% reproducible test to provide to reproduce this issue as TestCafe freezes for some unknown reasons. When we run in tests in Bamboo CI server, our jobs are getting stuck because TestCafe goes into hung state and we have to manually kill the job & shutdown all open browsers (see screenshot).
I would love to have this feature working back again. Can you guys take a look at the feature again and see why/where it might be broken?
What is the Current behavior?
When TestCafe encounters some strange issue, TestCafe freezes and stays frozen/hung state forever. It won't quit & restart the browsers and attempt to run the tests again.
What is the Expected behavior?
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.
What is your web application and your TestCafe test code?
Your website URL (or attach your complete example):
Your complete test code (or attach your test files):
Your complete test report:
Screenshots:
Steps to Reproduce:
No exact 100% reproducible test script to provide to reproduce this issue.
Your Environment details:
The text was updated successfully, but these errors were encountered: