Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

214
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda