Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud AMBROSELLI committed Sep 7, 2023
1 parent a387e13 commit 2c39600
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/global_restricted-roles.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,9 @@ test("test restricted accesses", async ({ page }) => {
await expect(page.getByRole("list").getByText("Rencontres")).toBeVisible();
await expect(page.getByRole("list").getByText("Observations")).toBeVisible();
await expect(page.getByRole("list").getByText("Comptes-rendus")).toBeVisible();
await expect(page.getByRole("list").getByText("Consultations")).not.toBeVisible();
await expect(page.getByRole("list").getByText("Dossiers médicaux des personnes suivies", { exact: true })).not.toBeVisible();
await expect(page.getByRole("list").getByText("Dossiers médicaux des personnes créées", { exact: true })).not.toBeVisible();
await expect(page.getByRole("list").getByText("Consultations")).toBeVisible();
await expect(page.getByRole("list").getByText("Dossiers médicaux des personnes suivies", { exact: true })).toBeVisible();
await expect(page.getByRole("list").getByText("Dossiers médicaux des personnes créées", { exact: true })).toBeVisible();

await expect(page.getByRole("link", { name: "Organisation" })).not.toBeVisible();
await expect(page.getByRole("link", { name: "Équipes" })).not.toBeVisible();
Expand Down

0 comments on commit 2c39600

Please sign in to comment.