-
Notifications
You must be signed in to change notification settings - Fork 675
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 on macOS against webpack development server #6844
Comments
Hi, Thank you for your input. We reproduced the issue; please stay tuned. Note for the team - works with node version 16.13.0. |
I do not believe this is M1 specific. I've had this problem on BOTH my M1 and previous generation MacBook Pro. My comparable test and problem: |
Thank you, @scheidm! I have reproduced this error on an x86 Mac as well. I will update the issue title. |
Hey there, do we have any updates on this issue? This is also happening to me :) |
I was able to get around the issue by reverting to a previous version of NodeJS. Maybe that will help people find work-arounds and solutions |
Going back to node16 also solves it for me. I recommend tj/n as version manager. |
not working v16 also. Any updates on possible workaround / fixes? |
No updates yet. Once we get any results, we will post them in this thread. |
Getting same issue on linux (almalinux:8.6-20220512) as well. |
Thank you for the additional information! |
Hello everyone, I've just tried to reproduce this issue with TestCafe v2.3.0, and it looks like it is not reproducible anymore. Would you please check this on your side and let me know your results? |
This seems to have resolved it for me |
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. |
I'm currently having this problem using node v18 and testcafe 3.3.0 on osx |
Hello, I've tried to reproduce the issue by using the example from the original post in this thread and everything works fine for me.
Possibly, the issue you are facing differs from the issue in the original post. Please, create a new issue and share with us a reproducible simple sample. Also, please specify your environment details. |
What is your Scenario?
Trying to run tests on a Mac with Apple Silicon (darwin-arm64) against a webpack dev server running on port 3000
What is the Current behavior?
the test fails with a DNS error for
localhost:3000
which doesn't happen for servers hosting only assets on localhost i.e:localhost:8080
the run fails with a DNS error
What is the Expected behavior?
the tests should run, this works on linux (testd with ubuntu)
What is your public website URL? (or attach your complete example)
https://github.com/dvaldivia/testcafe-mac
What is your TestCafe test code?
Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
yarn install
andyarn start
yarn run testcafe chrome:headless tests
TestCafe version
1.18.3
Node.js version
v17.3.0
Command-line arguments
yarn run testcafe chrome:headless tests
Browser name(s) and version(s)
chrome and firefox
Platform(s) and version(s)
macOS 12.2
Other
No response
The text was updated successfully, but these errors were encountered: