diff --git a/tests/pupil-form.test.ts b/tests/pupil-form.test.ts index 3df8bba..7471fa5 100644 --- a/tests/pupil-form.test.ts +++ b/tests/pupil-form.test.ts @@ -47,7 +47,7 @@ test(`pupil signup form can be submitted after filling all required fields`, asy timeout: 10000, }) - await page.waitForNavigation() + await page.waitForNavigation({ timeout: 10000 }) // make sure we get to the success page expect( diff --git a/tests/student-form.test.ts b/tests/student-form.test.ts index f34484b..de12ba5 100644 --- a/tests/student-form.test.ts +++ b/tests/student-form.test.ts @@ -35,7 +35,7 @@ test(`student signup form can be submitted after filling all required fields`, a timeout: 10000, }) - await page.waitForNavigation() + await page.waitForNavigation({ timeout: 10000 }) // make sure we get to the success page expect(