From 5ce6ca59f5474745d2b96a09f7acf29b62202f0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Tue, 11 Mar 2025 09:20:37 +0100 Subject: [PATCH] Try to avoid waiting for animations globally --- frontend/cypress/support/commands.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/cypress/support/commands.ts b/frontend/cypress/support/commands.ts index 07da1e70ae..1674fa9ced 100644 --- a/frontend/cypress/support/commands.ts +++ b/frontend/cypress/support/commands.ts @@ -68,3 +68,8 @@ Cypress.Commands.overwrite('visit', (originalFn, url, options = {}) => { return originalFn(url, options); }); + +Cypress.Commands.overwrite('click', (originalFn, x, y, options = {}) => { + options.waitForAnimations = false; + return originalFn(x, y, options); +});