mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-05-29 22:37:44 +02:00
test: correct selector for Main Title of page
This commit is contained in:
@ -53,7 +53,7 @@ describe("Common > Header", () => {
|
||||
cy.get("[data-cy=locales-list]").should("not.be.visible")
|
||||
cy.get("[data-cy=locale-click]").click()
|
||||
cy.get("[data-cy=locales-list]").should("be.visible")
|
||||
cy.get("h1").click()
|
||||
cy.get("main h1").click()
|
||||
cy.get("[data-cy=locales-list]").should("not.be.visible")
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user