More e2e fixes

This commit is contained in:
lee-at-zoo-corp
2025-03-25 17:27:25 -04:00
parent 6c8a525762
commit d03343d97d
9 changed files with 30 additions and 19 deletions

View File

@ -934,10 +934,10 @@ export async function setup(
failOnConsoleErrors(page, testInfo)
// kill animations, speeds up tests and reduced flakiness
// await page.emulateMedia({ reducedMotion: 'reduce' })
await page.emulateMedia({ reducedMotion: 'reduce' })
// Trigger a navigation, since loading file:// doesn't.
// await page.reload()
await page.reload()
}
function failOnConsoleErrors(page: Page, testInfo?: TestInfo) {