From 646759bc86f483b56609af719d196a49bc4fd220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Mon, 24 Jun 2024 09:26:29 +0100 Subject: [PATCH] test: Update regression tests for new Team page layout --- e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts b/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts index 7d86cb19a9..3948a7338f 100644 --- a/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts +++ b/e2e/tests/ui-driven/src/create-flow/create-flow.spec.ts @@ -47,7 +47,7 @@ test.describe("Navigation", () => { Promise.all([await page.goto("/"), await initialRequest]); - const team = page.locator("h2", { hasText: context.team.name }); + const team = page.locator("h3", { hasText: context.team.name }); let isRepeatedRequestMade = false; page.on( @@ -74,7 +74,7 @@ test.describe("Navigation", () => { }); await page.goto("/"); - const team = page.locator("h2", { hasText: context.team.name }); + const team = page.locator("h3", { hasText: context.team.name }); await team.click(); const teamSlugInHeader = page.getByRole("link", {