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 2b6496c332..5f95abd97e 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 @@ -29,10 +29,6 @@ const PAYMENT_NOT_FOUND_TEXT = "Sorry, we can’t find that payment link"; const adminGQLClient = getGraphQLClient(); -test.beforeAll(async ({ page }) => { - await setFeatureFlag(page, "FEE_BREAKDOWN"); -}); - test.describe("Nominee journey @regression", async () => { test.beforeAll(async () => { try { @@ -44,6 +40,10 @@ test.describe("Nominee journey @regression", async () => { } }); + test.beforeEach(async ({ page }) => { + await setFeatureFlag(page, "FEE_BREAKDOWN"); + }); + test.afterAll(async () => { await tearDownTestContext(); });