refactor(e2e): removed animations and transitios for the e2e tests
This commit is contained in:
parent
44f174103c
commit
e6899d50c3
|
@ -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)};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue