Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

406
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda