From 572b54b7f0efc89e4b72ca73eb2254737239f4d9 Mon Sep 17 00:00:00 2001 From: zomars Date: Wed, 22 Feb 2023 14:33:43 -0700 Subject: [PATCH] Update forgot-password.e2e.ts --- apps/web/playwright/auth/forgot-password.e2e.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/playwright/auth/forgot-password.e2e.ts b/apps/web/playwright/auth/forgot-password.e2e.ts index ecb50aa33b..011620954e 100644 --- a/apps/web/playwright/auth/forgot-password.e2e.ts +++ b/apps/web/playwright/auth/forgot-password.e2e.ts @@ -3,6 +3,7 @@ import { expect } from "@playwright/test"; import { test } from "../lib/fixtures"; test("Can reset forgotten password", async ({ page, users }) => { + test.skip(process.env.NEXT_PUBLIC_IS_E2E !== "1", "It shouldn't if we can't skip email"); const user = await users.create(); const newPassword = `${user.username!}-123`; // Got to reset password flow