fix a11y e2e test timeout

This commit is contained in:
Konstantinos Kaloutas
2023-06-12 13:40:13 +03:00
parent 7c17f4d110
commit 3efd0ffe03

View File

@@ -4,6 +4,7 @@ import { expect } from '@playwright/test'
import AxeBuilder from '@axe-core/playwright'
test('should not have any automatically detectable accessibility issues', async ({ page }) => {
test.slow()
await createRandomPage(page)
await page.waitForTimeout(2000)
const accessibilityScanResults = await new AxeBuilder({ page })