testcafe
testcafe copied to clipboard
TestCafe hangs when running tests on Safari 15 (macOS Big Sur)
What is your Test Scenario?
When trying to run any test on Safari 15, TestCafe hangs and can't perform any test step without any error. The same test works fine on other browsers like Chrome or FireFox.
What is the Current behavior?
Once the site loads, TestCafe hangs
What is the Expected behavior?
TestCafe should run the test on Safari without any issue.
What is your web application and your TestCafe test code?
import { Selector } from 'testcafe'
fixture`Sample Test Fixture`.page('https://www.easybib.com')
test('Sample Test Case', async t => {
await t.click(Selector('[data-test="create-citations-btn"]'))
})
Steps to Reproduce:
- Execute the sample test provided above
Your Environment details:
- testcafe version: 1.16.1
- browser name and version: Safari 15.0
- platform and version: macOS 11.6
I am also seeing this issue on the same website with the same testcafe,safari and macOs versions
@fadious
Hello,
Thank you for the example. I reproduced this issue. We will update this thread once we have any news.
Any progress on this? I'm getting something similar on macOS Monterey with Safari 15.2---Firefox and Chrome run my tests perfectly, but the Safari window never even opens. It seemed to run fine previous to upgrading.
No updates yet. Once we get any results, we will post them in this thread.
Any progress on this?
No updates yet. Once we get any results, we will post them in this thread.
Checking in to see if there's any updates on this. Having this same issue with Safari 15.5, MacOS 10.15.7. Thank you.
Hi @joserodriguezgit,
At present, there are no updates. Once we have news, we will update this thread.
Testcafe version 1.20.1 Safari Version 15.6 MacOS Version 12.5 Montery
Same issue. Tests not executing after the url is loaded on Safari. Any updates on this issue?
No updates yet. Once we get any results, we will post them in this thread.
Facing the same issue with Testcafe version "testcafe": "1.18.0", and "1.20.1" safari version : 13
Same here with TestCafe 2.0.1 and Safari 16.0.
any updates on this issue? Upgraded Testcafe to 2.5.0 and Safari - Version 16.4.1 MacOS Version 12.5 Montery. Still unable to run tests on Safari. Page does not load
Hello @alameluQA ,
There are not updates yet. We will raise the priority of the issue. Please stay tuned.
Hello @fadious ,
We checked the example you shared and find out that there are a bunch of javascript errors on the page, which can be encountered without TestCafe as well as with it and specifically in Safari Browser. These errors make it hard to debug the issue and could be causing it. So, please fix them first and try to reproduce the problematic behavior after that.
Guys, if you encounter an issue with similar behavior but in other web applications, please create a separate issue with a reproducible example. Even if the symptoms are the same, the cause of the issue still may lie somewhere else.
This issue was automatically closed because there was no response to our request for more information from the original author. Currently, we don't have enough information to take action. Please reach out to us if you find the necessary information and are able to share it. We are also eager to know if you resolved the issue on your own and can share your findings with everyone.