From e6899d50c38b057bd6baf71545757022997a82ad Mon Sep 17 00:00:00 2001 From: carlosjr Date: Mon, 18 Oct 2021 16:09:07 +0200 Subject: [PATCH] refactor(e2e): removed animations and transitios for the e2e tests --- e2e/helpers/puppeteer.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/e2e/helpers/puppeteer.js b/e2e/helpers/puppeteer.js index 97ec49260..70546b080 100644 --- a/e2e/helpers/puppeteer.js +++ b/e2e/helpers/puppeteer.js @@ -47,6 +47,13 @@ export async function getBrowser() { }); page = extendPage(page); page.setDefaultTimeout(5000); + await page.addStyleTag({ + content: `* { + transition: none!important; + animation: none!important; + }` + }); + await page.goto(defaultURL, {waitUntil: 'load'}); return {page, close: browser.close.bind(browser)}; }