-
Notifications
You must be signed in to change notification settings - Fork 669
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
TestCafe fails with latest stable chrome version 122.0.6261.57 #8145
Comments
Same here. |
Experiencing the same problem |
We're getting the same issue started yesterday with TestCafe 3.1.0 & it affects all the remote runs on Circle. I hope this can get significant attention to get us unblocked. |
I'm experiencing the same issue on TestCafe 2.6.2, using Chrome and ChromeDriver 122.0.6261.57:
|
Getting the same issue here, it happened around 5:00pm EST. |
Also ran into this issue with TestCafe 3.5.0 when using the latest Chrome |
Currently, we can't reproduce the issue (chrome 122.0.6261.57 / node 18 - 20 / ubuntu 22.04 - 20.04 / testcafe 2.6.2 - 3.1.0 - 3.5.0). As soon as we are able to reproduce it, we will address it immediately. Also, Chrome has released a new version |
This is reproducible for me when running TestCafe tests inside the docker container with TestCafe v3.5.0 |
We're having the issue with a freshly pull version of the test-café docker on version 3.5.0 which uses I've been able to return our tests to the normal by forcing the version to
and then using |
I'm still seeing the issue with Chrome |
Guys, please share a working example where we can reproduce the issue. As soon as we have it, we will thoroughly investigate the issue. Specify all the details that you find important to reproduce the problematic behavior (all the environment details, NodeJS version, OS version, etc.). |
.circleci/config.ymlversion: 2.1
orbs:
browser-tools: circleci/browser-tools@1.4.8
node: circleci/node@5.2.0
jobs:
testcafe-chrome:
docker:
- image: cimg/node:lts-browsers
resource_class: small
steps:
- browser-tools/install-chrome
- checkout
- run: npm i testcafe
- run: npx -- testcafe chrome:headless test.js
workflows:
run-tests:
jobs:
- testcafe-chrome test.jsfixture`Test`.page`https://example.org`;
test("test", async (t) => {
await t;
}); LogsEnv
Chrome install
Test run
|
I am not seeing it on my local machine, but am seeing it in CircleCI. |
I've made a repository with a custom Dockerfile and the instruction on how to build/run it to reproduce the issue. https://github.com/belug23/testcafe-issue-8145 At the moment of building it, the docker used:
I've also tested it with nodejs |
We appreciate you taking the time to share information about this issue. We reproduced the bug and added this ticket to our internal task queue. We'll update this thread once we have news. |
We found that the issue relates to the chrome --headless flag used in TestCafe chromium:headless. As a workaround, please try running your tests with For example: Please let us know if you encounter any issues. |
When I tried the workaround it did not work for me:
Then I tried @omerhakanbilici variant. That one worked for me as well. |
Any news on this issue? I tried the above solution and it's not working. |
Hello, @alexandruSuciuRinf Please create a ticket using this template and also share a Minimal Working Example in that ticket so that the TestCafe team can research the issue and help you. |
We found that the issue is related to old headless not providing the target list. Here is the issue on Chromium: https://issues.chromium.org/issues/40256248. Old headless is going to be discontinued. However, the new headless is not yet stable enough at this moment for TestCafe to use it as default. The solution for now is to use the workaround above. |
Pity.
Unfortunately, the workaround does not work for everybody. At least it does not work for me. At least, you have diagnose now. |
Hello @jsedanoj, Please create a ticket - use this template - and share a Minimal Working Example in that ticket so that the TestCafe team can research the issue and help you. |
Same problem with new chrome here. The workaround functions in general, but it seems that |
Hello @pbilstein, |
fix #8151 |
Hi @Aleksey28 @Bayheck |
Hello, The only current solution is to use the workaround. In the next TestCafe version, headless new will be the default and you will be able to use chrome:headless again. |
For me this workaround unfortunately doesnt work. With this line: 'testcafe "chromium --headless=new" tests/ui/index.ts' Error: connect ECONNREFUSED 127.0.0.1:41601 Trying with latest testcafe version within latest testcafe docker container. Port number in error message seems random and is always different |
Hello, Try these lines: testcafe chromium --headless=new or testcafe 'chrome --headless=new' Please be aware of the quotes. In TestCafe v3.6 and later, headless=new is default, and you can use chrome:headless again. |
What is your Scenario?
Running testcafe with
chrome:headless
and the latest version of chrome installedWhat is the Current behavior?
What is the Expected behavior?
Tests run
What is the public URL of the test page? (attach your complete example)
any. google.com
What is your TestCafe test code?
Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
1.Run testcafe with latest chrome
TestCafe version
3.5.0
Node.js version
No response
Command-line arguments
api runner
Browser name(s) and version(s)
Chrome 122.0.6261.57
Platform(s) and version(s)
Ubuntu
Other
No response
The text was updated successfully, but these errors were encountered: