Skip to content

Commit

Permalink
Fix tests 4
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlklmn committed Jan 10, 2024
1 parent a0b5934 commit b5f5d60
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/e2e/project.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,13 @@ test("markdown files", async ({ page }) => {
await expect(page.getByRole("button", { name: "Markdown" })).toHaveClass(
/selected/,
);
await expect(page.getByRole("button", { name: "Plain" })).not.toHaveClass(
/selected/,
await expect(page.getByRole("button", { name: "Plain" })).toHaveClass(
/not-selected/,
);
await page.getByRole("button", { name: "Plain" }).click();
await expect(
page.getByRole("button", { name: "Markdown" }),
).not.toHaveClass(/selected/);
await expect(page.getByRole("button", { name: "Markdown" })).toHaveClass(
/not-selected/,
);
await expect(page.getByRole("button", { name: "Plain" })).toHaveClass(
/selected/,
);
Expand Down

0 comments on commit b5f5d60

Please sign in to comment.