-
Notifications
You must be signed in to change notification settings - Fork 676
Fix browser restart for BrowserStack #5238
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
Comments
I would love for this to be done in the near future. We're constantly having our overnight regression tests stop due to a loss of connection with BS... and it's just creates a delay in investigating whether a bug has been introduced. |
@rob4629 |
I haven't managed to consistently reproduce this error, but we do still see it (albeit, we're still on |
I've upgraded to the latest version (1.9.4), and will be running our suite over the weekend. So far, the testing I have done hasn't reproduced the issue, but I should have more confidence Monday morning (PST). UPDATE: ERROR The Internet Explorer 11.0 / Windows 10 (https://automate.browserstack.com/builds/4b5b1b031c44402913826a4f56aa6a5127db5ccf/sessions/fcb6aa4e78482b74ec51e30146fa2a699b3e81ff) browser disconnected. This problem may appear when a browser hangs or is closed, or due to network issues.
Type "testcafe -h" for help.
npm ERR! Test failed. See above for more details. |
Sounds good, I'll check out your PR this morning (PST), and let you know 🕵🏻♂️ . Thanks Alex! |
@rob4629 Thank you for the additional information. It looks like your issue is not related to the restarting mechanism. We will research your case as well. It seems that your issue may be related to BrowserStack, not TestCafe. Look at the following article: https://github.com/DevExpress/testcafe-browser-provider-browserstack#usage :
Also, you can run BrowserStackLocal itself as described in the You need to start BrowserStackLocal with the following command:
Before you run TestCafe, you need to set the Then, please run your tests on BrowserStack and check the |
I'm of a similar opinion. Thanks for the additional info. I raised a ticket with BS yesterday, but I'll try your suggestions today, and get back to you. |
…#5239) (#5738) * Add service worker & fix browser restart Closes #5238. Closes #5239. * test no await * test no sw in driver * retry test pages disable * Try another * Safari only * Mojave * Clean cache on Azure * Update azure-pipelines.yml * Update azure-pipelines.yml * Catalina * Catalina * add tests * refactoring * fix * not headless * restore config * head => headless * Try to avoid out-of-memory errors * remove redundant config settings * routes to separate config Co-authored-by: Andrey Belym <belym.a.2105@gmail.com>
TestCafe cannot restart browsers on BrowserStack when heartbeat is lost.
The text was updated successfully, but these errors were encountered: