Skip to content

Commit

Permalink
test that Tips dialog shows on initial load
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinjude committed Nov 14, 2023
1 parent d46bec2 commit 9c7fc5d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cypress/e2e/load.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ describe("Browser loads", () => {
cy.get("body").should("contain", "FEN NOTATION");
});

it("shows the Tips Dialog", () => {
cy.visit("/");
cy.get("body").should("contain", "GAME TIPS");
});

it("loads with no console errors", () => {
cy.visit("/", {
onBeforeLoad(win) {
Expand Down

0 comments on commit 9c7fc5d

Please sign in to comment.