mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-27 23:50:36 +08:00
Fix theme spec
This commit is contained in:
@@ -9,7 +9,7 @@ test("default theme", async ({ page }) => {
|
||||
test("theme persistence", async ({ page }) => {
|
||||
await page.goto("/repos");
|
||||
await expect(page.getByRole("button", { name: "markdown" })).toBeVisible();
|
||||
await page.getByRole("button", { name: "Settings" }).click();
|
||||
await page.getByRole("button", { name: "Settings", exact: true }).click();
|
||||
|
||||
await page
|
||||
.getByRole("button", { name: "icon-sun Light", exact: true })
|
||||
@@ -24,7 +24,7 @@ test("theme persistence", async ({ page }) => {
|
||||
test("change theme", async ({ page }) => {
|
||||
await page.goto("/repos");
|
||||
await expect(page.getByRole("button", { name: "markdown" })).toBeVisible();
|
||||
await page.getByRole("button", { name: "Settings" }).click();
|
||||
await page.getByRole("button", { name: "Settings", exact: true }).click();
|
||||
|
||||
await page
|
||||
.getByRole("button", { name: "icon-sun Light", exact: true })
|
||||
|
||||
Reference in New Issue
Block a user