https://cypress.io logo
Hi, probably it can be based on a condition check ...
# general-chat
d
Hi, probably it can be based on a condition check
(attempt < retries)
where
attempt = Cypress.currentRetry
and `retries = cy.state('runnable')._retries`: https://docs.cypress.io/guides/guides/test-retries#Can-I-access-the-current-attempt-counter-from-the-test