Skip to content
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

Unable to run native tests in chrome/edge #8350

Open
emmabDF opened this issue Dec 10, 2024 · 0 comments
Open

Unable to run native tests in chrome/edge #8350

emmabDF opened this issue Dec 10, 2024 · 0 comments
Labels
STATE: Need response An issue that requires a response or attention from the team. TYPE: bug The described behavior is considered as wrong (bug).

Comments

@emmabDF
Copy link

emmabDF commented Dec 10, 2024

What is your Scenario?

Run any tests on testcafe

What is the Current behavior?

Testcafe fails to open with error

ERROR Unable to open the "chrome:" browser due to the following error:

Error: connect ECONNREFUSED ::1:54735
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1615:16)
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17)

What is the Expected behavior?

Testcafe opens and runs test

What is the public URL of the test page? (attach your complete example)

N/A any URL

What is your TestCafe test code?

import { Selector, t } from 'testcafe';

fixture('Basic testcafe example')
.page('www.example.com');

test('Do anything', async t => {
await t.click(Selector('a'))
});

Your complete configuration file

n/a

Your complete test report

No response

Screenshots

No response

Steps to Reproduce

1.Run any testcafe test

TestCafe version

3.7.0

Node.js version

22.11.0

Command-line arguments

npx testcafe chrome test\basicTest.js

Browser name(s) and version(s)

chrome 131.0.6778.109

Platform(s) and version(s)

Windows 11 Pro

Other

This is happening for about 50% of our team, with some users experiencing the issue & others not - there does not seem to be any correlation with node/chrome versions and having/not having this issue.

Those experiencing the issue can run tests in testcafe if using --disable-native-automation

This issue happens in edge and chrome, headed or headless.
This issue does not happen in firefox.

This seems to have started today.

Any further information I can provide, please let me know.

@emmabDF emmabDF added the TYPE: bug The described behavior is considered as wrong (bug). label Dec 10, 2024
@testcafe-need-response-bot testcafe-need-response-bot bot added the STATE: Need response An issue that requires a response or attention from the team. label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STATE: Need response An issue that requires a response or attention from the team. TYPE: bug The described behavior is considered as wrong (bug).
Projects
None yet
Development

No branches or pull requests

1 participant