From 934edaa4027796ad9d11c7aa343be34dbaefdb96 Mon Sep 17 00:00:00 2001 From: Patrick Fleming Date: Thu, 12 Dec 2024 14:04:37 +0000 Subject: [PATCH] Fix E2E tests --- e2e-tests/tests/01_apply_as_pom.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e-tests/tests/01_apply_as_pom.spec.ts b/e2e-tests/tests/01_apply_as_pom.spec.ts index af62903..fbeff80 100644 --- a/e2e-tests/tests/01_apply_as_pom.spec.ts +++ b/e2e-tests/tests/01_apply_as_pom.spec.ts @@ -31,7 +31,7 @@ test('create a CAS-2 application', async ({ page, person, pomUser }) => { await completeRisksAndNeedsSection(page, person.name) await completeOffenceInformationSection(page, person.name) await completeCheckAnswersSection(page, person.name) - await expect(page.getByText('You have completed 16 of 16 tasks')).toBeVisible() + await expect(page.getByText('You have completed 15 of 15 tasks')).toBeVisible() await submitApplication(page) })