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

204
Visualizações
Click event in "after" hook doesn't work in "Cypress" whenever there is error or exception that occurs in "it" block

I am trying to logout an application by clicking the SignOut button written in "after" block of Cypress. The SignOut button is getting clicked whenever there is no error or exception in the "it" block (logging into the application and performing the action is written in the "it" block) but the button can`t be clicked when errors or exceptions occur (button's visibility can be checked in after block but unable to click).

Current behavior: Any click event in the after block fails if one of the performing action fails in the "it" block in Cypress.

Desired behavior: Click events in the after block should succeed even if there are failure in the "it" block.

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