migrate to cypress 10

This commit is contained in:
itsMapleLeaf
2022-07-23 13:53:55 -05:00
committed by Darius
parent b275d9b330
commit e486da0881
10 changed files with 12 additions and 77 deletions

View File

@@ -0,0 +1,12 @@
export {}
describe("main popover menu", () => {
it("should toggle on button click", () => {
cy.viewport(480, 720)
cy.visit("/")
cy.findByRole("button", { name: "Menu" }).click()
cy.findByRole("menu").should("be.visible")
cy.findByRole("button", { name: "Menu" }).click()
cy.findByRole("menu").should("not.exist")
})
})