Skip to content

Commit 71acade

Browse files
committed
Use separate page for invite tests
1 parent ea61839 commit 71acade

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/playwright/invites.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ test.describe("invite reject flow", () => {
753753
});
754754

755755
test.describe("different form/invite types", () => {
756-
test("user can accept invite with pub level form", async () => {
756+
test("user can accept invite with pub level form", async ({ page }) => {
757757
await test.step("user can access invite with pub level form", async () => {
758758
const invite = community.invites.pubLevelFormInvite;
759759
const redirectTo = `/c/${community.community.slug}/public/forms/${community.forms.CommunityForm.slug}/fill?pubId=${pub1Id}`;
@@ -797,7 +797,7 @@ test.describe("different form/invite types", () => {
797797
});
798798

799799
test.describe("different roles in invites", () => {
800-
test("user can accept invite with admin role", async () => {
800+
test("user can accept invite with admin role", async ({ page }) => {
801801
await test.step("user can access invite with admin role", async () => {
802802
const invite = community.invites.adminRoleInvite;
803803
const redirectTo = `/c/${community.community.slug}/public/forms/${community.forms.Evaluation.slug}/fill`;

0 commit comments

Comments
 (0)