From da1a382ad5c66b6a36edec7749523dca8d22b0b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Wed, 11 Dec 2024 10:35:56 +0000 Subject: [PATCH] fix: More explicit selector --- e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts b/e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts index 5f95abd97e..04f361ac8e 100644 --- a/e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts +++ b/e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts @@ -64,7 +64,7 @@ test.describe("Nominee journey @regression", async () => { "Add a verandah or deck and changes to internal walls or layout"; await expect(page.getByText(formattedProjectType)).toBeVisible(); - await expect(page.getByText("Fee")).toBeVisible(); + await expect(page.getByRole("heading", { name: "Fee", level: 3 })).toBeVisible(); await expect(page.getByTestId("fee-breakdown-table")).toBeVisible(); const payButton = page.getByRole("button", {