1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-04-10 01:16:39 +02:00

Try to avoid waiting for animations globally

This commit is contained in:
Gastón Fournier 2025-03-11 09:20:37 +01:00
parent fad627c6b3
commit 5ce6ca59f5
No known key found for this signature in database
GPG Key ID: AF45428626E17A8E

View File

@ -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);
});