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..387c288aec 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,9 @@ 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", {