I have written a custom command in the end i am trying to return using cy.wrap(elToReturn). If this expression is undefined then I want to execute entire command again. Is there any way in Cypress where we could run entire command again.
I gave a try using Cypress recurse plugin, but i don't know how can I supress timedout error.