Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

395
Views
Cypress - test crashes if cy.task errors out/crashes and not moving to the next test

I have around 10 spec files and each of the spec files has around 5 to 7 tests each. Each of the test invokes a cy.task and do some operations. If cy.task fails ( I mean if there is an exception ) , the whole of the test gets crashed and I am not able to move to the next test within the spec file.

Cypress just moves to the next spec file. But even the test in the next spec file is not running. It just gets stuck there for infinity.

I am able to catch the exception but cypress crashes there.

Any idea how to handle plugin crash scenario and move on to the next test ( basically next it block ) in Cypress ?

Thank you

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!