tyler36 / ddev-cypress

Cypress E2E testing for use with DDEV
Apache License 2.0
11 stars 7 forks source link

"Cypress verification timed out." error on mac M2 #27

Closed louis-cuny closed 1 year ago

louis-cuny commented 1 year ago

Thank you for your reactivity on last issue. I could install cypress with last project tag.

But when I run ddev cypress-open, I got following error:

Cypress verification timed out.

This command failed with the following output:

/root/.cache/Cypress/12.6.0/Cypress/Cypress --no-sandbox --smoke-test --ping=567

Command timed out after 30000 milliseconds: /root/.cache/Cypress/12.6.0/Cypress/Cypress --no-sandbox --smoke-test --ping=567 Timed out

Platform: linux-arm64 (Debian - 11.6) Cypress Version: 12.6.0 Failed to run cypress-open -C tests: exit status 1

louis-cuny commented 1 year ago

ddev status should show more informations ? image

tyler36 commented 1 year ago

Cypress shows exactly the same thing for me.

ddev-cypress

tyler36 commented 1 year ago

You could try changing some of the configuration settings, or cleaering the cache.

https://docs.cypress.io/api/cypress-api/config#Syntax

louis-cuny commented 1 year ago

Thanks, I found out cypress browsers are not ready for arm64 processors https://github.com/cypress-io/cypress-docker-images/issues/695

I can avoid the problem using rosetta