Skip to content

Commit

Permalink
Increase timeout to find element via getByDataCy
Browse files Browse the repository at this point in the history
The default timeout used to cause certain flakiness at times.
  • Loading branch information
rm3l committed Jul 13, 2023
1 parent 6a39070 commit 410b5c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 410b5c6

Please sign in to comment.