Skip to content

Commit

Permalink
refactor: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackDark committed Nov 2, 2024
1 parent b6052e5 commit 1533b7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/e2e/demo-todo-app.spec.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { test, expect, type Page } from "@playwright/test";
import { expect, test, type Page } from "@playwright/test";

const TODO_ITEMS = ["buy some cheese", "feed the cat", "book a doctors appointment"] as const;

test.beforeEach(async ({ page }) => {
await page.goto("https://demo.playwright.dev/todomvc");
});

const TODO_ITEMS = ["buy some cheese", "feed the cat", "book a doctors appointment"];

test.describe("New Todo", () => {
test("should allow me to add todo items", async ({ page }) => {
// create a new todo locator
Expand Down

0 comments on commit 1533b7a

Please sign in to comment.