I need to have custom timeout in a specific should command in cypress.
I have this json file which has global timeout:
{
"viewportWidth": 1600,
"defaultCommandTimeout": 10000
}
There is a specific case that I need a higher timeout, I would like something like this:
cy.get('body').should('contain','success', {timeout: 30000})
how do I do this? BTW, I do not want to override default command timeout, I need a specific timeout.