testcafe icon indicating copy to clipboard operation
testcafe copied to clipboard

TestCafe hangs when running tests on Safari 15 (macOS Big Sur)

Open fadious opened this issue 3 years ago • 10 comments

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?

Your website URL :

https://www.easybib.com/

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:

  1. 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

fadious avatar Oct 20 '21 19:10 fadious

I am also seeing this issue on the same website with the same testcafe,safari and macOs versions

ayemelyanenko-chegg avatar Oct 20 '21 19:10 ayemelyanenko-chegg

@fadious

Hello,

Thank you for the example. I reproduced this issue. We will update this thread once we have any news.

Farfurix avatar Oct 21 '21 06:10 Farfurix

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.

joshhansen avatar Jan 05 '22 07:01 joshhansen

No updates yet. Once we get any results, we will post them in this thread.

github-actions[bot] avatar Jan 05 '22 09:01 github-actions[bot]

Any progress on this?

jazirk avatar Mar 04 '22 16:03 jazirk

No updates yet. Once we get any results, we will post them in this thread.

github-actions[bot] avatar Mar 07 '22 10:03 github-actions[bot]

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.

joserodriguezgit avatar Jun 28 '22 21:06 joserodriguezgit

Hi @joserodriguezgit,

At present, there are no updates. Once we have news, we will update this thread.

miherlosev avatar Jul 01 '22 07:07 miherlosev

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?

alameluQA avatar Aug 22 '22 23:08 alameluQA

No updates yet. Once we get any results, we will post them in this thread.

github-actions[bot] avatar Aug 24 '22 06:08 github-actions[bot]

Facing the same issue with Testcafe version "testcafe": "1.18.0", and "1.20.1" safari version : 13

anjali-amle avatar Sep 27 '22 05:09 anjali-amle

Same here with TestCafe 2.0.1 and Safari 16.0.

goncaloneto avatar Oct 10 '22 19:10 goncaloneto

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

alameluQA avatar May 10 '23 01:05 alameluQA

Hello @alameluQA ,

There are not updates yet. We will raise the priority of the issue. Please stay tuned.

aleks-pro avatar May 12 '23 11:05 aleks-pro

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.

aleks-pro avatar Jul 06 '23 08:07 aleks-pro

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.

github-actions[bot] avatar Jul 16 '23 09:07 github-actions[bot]