-
Notifications
You must be signed in to change notification settings - Fork 0
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
CI: test:js (Cypress test) fails with "dri3 extension not supported" #62
Comments
This article helped me: https://shouv.medium.com/how-to-run-cypress-on-wsl2-989b83795fb6 |
@masaok Hi! Excuse me, could you explain exactly what you did? |
It looks like a more general github issue with cypress 12 to me, not related to "dri3 extension not supported", which does not stop the tests when it is triggered in the case below.
(you can see the original run here And open "Run Cypress Tests") @dotherightthing maybe the link to your failed run would help. Here is a run that fails (but after the error) CI action, and the difference is cypress 12 instead of 10, but it might be related to my specific case. @dotherightthing which version are you using? |
@ddnexus , did you find teh solution for cypress 12 errors ? I am also straggling with these error for cypress 12... |
@sachingainewar In my case there was a missing explicit installation of typescript in the workflow, that for some reason was not affecting the previous version. You can see the changes here. |
@ddnexus Do you have to specify typescript? Why? |
I have the same issue!!! I tried cypress image 12.3.0 and 12.17.1. Typescript is installed Here is my output if it could clarify something: Cypress starts and works well from the root of the project without docker. So it's related to this issue: cypress-io/cypress-docker-images#695 |
My solution: Wrong cypress commandIn the CI/CD yml file: ...
- name: Run cypress Test
uses: cypress-io/github-action@v5
with:
start: npm run dev #Running frontend code
wait-on: http://localhost:3000 #Wait before testing
command: npm run cypress-test #Running the test command
... cypress-test is defined in "cypress-test": "cypress run --browser chrome --env test=true" I tried to use Maybe this could help @ddnexus , idk ✍️ |
Sorry, I have nothing about CI/CD, just docker-compose.yml. I tried this: |
The text was updated successfully, but these errors were encountered: