Skip to content

Commit c598863

Browse files
committed
update cypress test
1 parent adf758d commit c598863

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

e2e/Playground.cy.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ describe("Playground", () => {
8080
->ignore
8181

8282
// Verify playground shell is in light mode
83-
get("main")->shouldWithValue("have.class", "bg-gray-5")->ignore
83+
get("main")->shouldWithValue("have.class", "playground-theme-light")->ignore
8484

8585
// Switch back to dark mode from Settings
8686
contains("Settings")->click->ignore
@@ -92,6 +92,6 @@ describe("Playground", () => {
9292
->ignore
9393

9494
// Verify playground shell is back to dark mode
95-
get("main")->shouldWithValue("have.class", "bg-gray-100")->ignore
95+
get("main")->shouldWithValue("have.class", "playground-theme-dark")->ignore
9696
})
9797
})

0 commit comments

Comments
 (0)