Every feature test case starts with landing page testing in cypress.
We are witnessing failures here because of network connectivity issues.
it('should load home page', () => {
cy.waitUntil(() =>
cy.contains('Home', { timeout: 500000 }).should('exist')
);
});
So, is there a way to reload this test case if it fails once or twice and avoid recursion?
I suspect retries will work here, if so how can we configure it?