From 410b5c6c3f670c01a6879d8d5fef639a9e908fa7 Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Thu, 13 Jul 2023 09:44:17 +0200 Subject: [PATCH] Increase timeout to find element via getByDataCy The default timeout used to cause certain flakiness at times. --- ui/cypress/support/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/cypress/support/commands.ts b/ui/cypress/support/commands.ts index 05c4ba3df6e..5dfc8843d18 100644 --- a/ui/cypress/support/commands.ts +++ b/ui/cypress/support/commands.ts @@ -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) => {