Skip to content

Commit

Permalink
fix: frontend testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitFicus committed Sep 19, 2024
1 parent df32941 commit 5e0cff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion izanami-frontend/tests/users.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test("User invitation flow should work", async ({
await page
.getByLabel("Email to invite")
.fill(`benjamin.cavy.${browserName}@gmail.com`);
await page.getByRole("checkbox").check();
await page.getByRole("checkbox").nth(0).check(); // FIXME when react forms will pass labels
await page.getByRole("button", { name: "Send invitation" }).click();

let url = "";
Expand Down

0 comments on commit 5e0cff2

Please sign in to comment.