Skip to content
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

Being able to disable cypress verify step #22243

Closed
johansatge opened this issue Jun 10, 2022 · 5 comments · Fixed by #29836
Closed

Being able to disable cypress verify step #22243

johansatge opened this issue Jun 10, 2022 · 5 comments · Fixed by #29836
Labels
E2E Issue related to end-to-end testing type: enhancement Requested enhancement of existing feature

Comments

@johansatge
Copy link

johansatge commented Jun 10, 2022

Hello!

What would you like?

I'd like to be able to disable the verification process (cypress verify) that is triggered on cypress run.

Why is this needed?

Our app that is running in Docker/Jenkins suffers of the timeout issue that was raised a few times (#4624 #6082)

We recently increased the timeout to 60s thanks to the new CYPRESS_VERIFY_TIMEOUT env variable; but the verification still timeouts from time to time.

Something that is not clear to me is the rationale behind this verification process 👇

  • Running it in a local environment as a "defensive" mechanism definitely makes sense, as:
    • Cypress may run on a broad range of configurations, and has specific requirements
    • The host configuration may have changed between two runs
    • The output is helpful to fix the host configuration if needed
  • Running it in a containerized environment is debatable as, after said env has been properly configured once, subsequent builds are supposed to be identical
    • And in the case of a CI misconfiguration, I would also prefer the tests to start running and fail immediately, than waiting for the timeout to happen

Thank you for reading! 🌲

@mjhenkes mjhenkes added type: enhancement Requested enhancement of existing feature E2E-core and removed stage: routed to e2e-core labels Jun 10, 2022
@debMan
Copy link

debMan commented Aug 9, 2022

Any news?

@mschile mschile added triage and removed triage labels Aug 18, 2022
@nagash77 nagash77 added E2E Issue related to end-to-end testing and removed E2E-core labels Nov 8, 2022
@uklimaschewski
Copy link

I am experiencing this now too at our docker CI builds, I agree with @johansatge - it would be nice to be able to disable this verification for certain jobs.

@grushetsky
Copy link

Any chance to introduce an option which can be used to turn off the verification completely? It makes sense for CI environment.

@joshuajtward
Copy link
Contributor

I've had a go at adding an optional escape hatch for this as it's causing a lot of false negatives for us in CI: #29836

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Aug 27, 2024

Released in 13.14.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v13.14.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Aug 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
E2E Issue related to end-to-end testing type: enhancement Requested enhancement of existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants