Skip to content

Commit 7b6b4a8

Browse files
committed
test(theme): fix dark-mode test
1 parent d92250d commit 7b6b4a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/dark-mode.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ test("desk mode works", async ({ page, baseURL }) => {
66
// Go to http://localhost:3000/
77
await page.goto(baseURL);
88
// Click [aria-label="User"] button
9-
await page.locator(`[aria-label="User"] button`).click();
9+
await page.locator(`[aria-label="Account"] button`).click();
1010
// Check [aria-label="color-scheme-toggle"]
1111
await page.locator(`[aria-label="color-scheme-toggle"]`).check();
1212

0 commit comments

Comments
 (0)