Closed akaribrahim closed 1 month ago
Hello, TestCafe does not have an 'arm' docker image. Please refer to the following StackOveflow thread: https://stackoverflow.com/questions/67458621/how-to-run-amd64-docker-image-on-arm64-host-platform.
As a workaround, you can create your own TestCafe image, which is compatible with Linux/arm64/v8. Use our Dockerfile[https://github.com/DevExpress/testcafe/blob/1b17abddd46ba3575d044a0cd8c73deac424ec14/docker/Dockerfile] for this purpose.
What is your Scenario?
When I try to run a simple test with the TestCafe Docker image, I get an error. I am using M1 Silicon Mac. TestCafe cannot connect Chrome or any browser.
What is the Current behavior?
Connection Refused error when I try with TestCafe official Docker image.
docker run -v ${PWD}/src/tests:/tests -it testcafe/testcafe chromium tests/simpleTest.js
docker run -v ${PWD}/src/tests:/tests -it testcafe/testcafe chromium:headless tests/simpleTest.js
docker run -v ${PWD}/src/tests:/tests -it testcafe/testcafe firefox:headless tests/simpleTest.js
What is the Expected behavior?
Tests run locally. I expect it to work with Docker image as well.
What is the public URL of the test page? (attach your complete example)
To reproduce:
Pull latest testcafe image.
docker pull testcafe/testcafe
Write a simple testcode and run
docker run
command.docker run -v ${PWD}/src/tests:/tests -it testcafe/testcafe chromium tests/simpleTest.js
What is your TestCafe test code?
Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
docker pull testcafe/testcafe
docker run -v ${PWD}/src/tests:/tests -it testcafe/testcafe chromium tests/simpleTest.js
TestCafe version
latest testcafe image
Node.js version
No response
Command-line arguments
docker run -v ${PWD}/src/tests:/tests -it testcafe/testcafe chromium tests/simpleTest.js
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response