Is there a way to wait for only one particular element in Cypress without having to add wait commands everywhere in the test framework?
I've come across the solution of adding defaultCommandTimeout
in the cypress.json file, but I don't want it to affect all elements.
add.getCountry().type('India');
Cypress.config('defaultCommandTimeout', 10000);
add.selectCountry().click();
Cypress result: