Skip to content

Commit

Permalink
Update article test
Browse files Browse the repository at this point in the history
  • Loading branch information
NiallJoeMaher committed Oct 20, 2024
1 parent 2304cf2 commit 2294f7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/articles.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ test.describe("Authenticated Articles Page", () => {
.getByPlaceholder("Enter your content here 💖")
.fill(articleContent);

await expect(page.getByRole("button", { name: "Next" })).toBeVisible();
await page.getByRole("button", { name: "Next" }).click();
await expect(page.getByRole("button", { name: "Publish" })).toBeVisible();
await page.getByRole("button", { name: "Publish" }).click();

await expect(
page.getByRole("button", { name: "Publish now" }),
Expand Down

0 comments on commit 2294f7f

Please sign in to comment.