From ceec646e24abc368ccfdfbbff977afe71d1c339f Mon Sep 17 00:00:00 2001 From: Jo Humphrey <31373245+jamdelion@users.noreply.github.com> Date: Tue, 26 Nov 2024 14:45:32 +0000 Subject: [PATCH] Fix test --- e2e/tests/ui-driven/src/create-flow.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/tests/ui-driven/src/create-flow.spec.ts b/e2e/tests/ui-driven/src/create-flow.spec.ts index eb41809e2f..94c6bee879 100644 --- a/e2e/tests/ui-driven/src/create-flow.spec.ts +++ b/e2e/tests/ui-driven/src/create-flow.spec.ts @@ -73,8 +73,8 @@ test.describe("Flow creation, publish and preview", () => { await editor.createResult(); await editor.createNextSteps(); await editor.createReview(); - await editor.createConfirmation(); await editor.createFeedback(); + await editor.createConfirmation(); await expect(editor.nodeList).toContainText([ "Is this a test?", @@ -92,8 +92,8 @@ test.describe("Flow creation, publish and preview", () => { "Planning permission", // default result flag "Next steps", "Check your answers before sending your application", - "Confirmation", "Tell us what you think", + "Confirmation", ]); }); @@ -293,11 +293,11 @@ test.describe("Flow creation, publish and preview", () => { await clickContinue({ page }); await expect( - page.locator("h1", { hasText: "Application sent" }), + page.locator("h1", { hasText: "Tell us what you think" }), ).toBeVisible(); await clickContinue({ page }); await expect( - page.locator("h1", { hasText: "Tell us what you think" }), + page.locator("h1", { hasText: "Application sent" }), ).toBeVisible(); }); });