mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
Increase timeout to find element via getByDataCy
The default timeout used to cause certain flakiness at times.
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
Cypress.Commands.add('getByDataCy', (value: string) => {
|
Cypress.Commands.add('getByDataCy', (value: string) => {
|
||||||
cy.get('[data-cy="'+value+'"]');
|
cy.get('[data-cy="'+value+'"]', { timeout: 60000 });
|
||||||
});
|
});
|
||||||
|
|
||||||
Cypress.Commands.add('selectTab', (n: number) => {
|
Cypress.Commands.add('selectTab', (n: number) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user