mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-14 01:16:17 +02:00
Try to avoid waiting for animations globally
This commit is contained in:
parent
fad627c6b3
commit
5ce6ca59f5
@ -68,3 +68,8 @@ Cypress.Commands.overwrite('visit', (originalFn, url, options = {}) => {
|
|||||||
|
|
||||||
return originalFn(url, options);
|
return originalFn(url, options);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Cypress.Commands.overwrite('click', (originalFn, x, y, options = {}) => {
|
||||||
|
options.waitForAnimations = false;
|
||||||
|
return originalFn(x, y, options);
|
||||||
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user