Skip to content

Commit 2ce6675

Browse files
committed
fix(e2e): align a11y test beforeEach with established pattern
Use `waitUntil: 'networkidle'` and trailing-slash URL regex to match the pattern applied to other e2e tests in ff83076. Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
1 parent 2257feb commit 2ce6675

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

playwright/e2e/a11y-question-inputs.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import { QuestionType } from '../support/sections/QuestionType'
1414
const test = mergeTests(randomUserTest, appNavigationTest, formTest, topBarTest)
1515

1616
test.beforeEach(async ({ page }) => {
17-
await page.goto('apps/forms')
18-
await page.waitForURL(/apps\/forms$/)
17+
await page.goto('apps/forms', { waitUntil: 'networkidle' })
18+
await page.waitForURL(/apps\/forms\/$/)
1919
})
2020

2121
test.describe('Accessibility: aria attributes on question inputs', () => {

0 commit comments

Comments
 (0)