Update forgot-password.e2e.ts

pull/7291/head
zomars 2023-02-22 14:33:43 -07:00
parent d9bf89beab
commit 572b54b7f0
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ import { expect } from "@playwright/test";
import { test } from "../lib/fixtures"; import { test } from "../lib/fixtures";
test("Can reset forgotten password", async ({ page, users }) => { 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 user = await users.create();
const newPassword = `${user.username!}-123`; const newPassword = `${user.username!}-123`;
// Got to reset password flow // Got to reset password flow