cypress set timeout code example
Example: cypress set timeout for locator
cy
.get('.mobile-nav', { timeout: 10000 }) // 10 seconds
.should('be.visible')
cy
.get('.mobile-nav', { timeout: 10000 }) // 10 seconds
.should('be.visible')