Increase timeout to find element via getByDataCy

The default timeout used to cause certain flakiness at times.
This commit is contained in:
Armel Soro
2023-07-13 09:44:17 +02:00
parent 6a39070962
commit 410b5c6c3f

View File

@@ -37,7 +37,7 @@
// }
Cypress.Commands.add('getByDataCy', (value: string) => {
cy.get('[data-cy="'+value+'"]');
cy.get('[data-cy="'+value+'"]', { timeout: 60000 });
});
Cypress.Commands.add('selectTab', (n: number) => {