Skip to content

Commit

Permalink
modify test, lets see
Browse files Browse the repository at this point in the history
  • Loading branch information
sroertgen committed Aug 31, 2023
1 parent 1d6b054 commit 876bd3c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cypress/e2e/searchAndFilter.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ describe("search and filter", () => {
cy.visit("/w3id.org/index.de.html")

cy.contains("en").click()
cy.get("span").contains("Konzept 2").should("not.exist")
cy.get("span").contains("Concept 1").should("exist")

cy.get(".currentLanguage").contains("en").should("exist")
// cy.get("span").contains("Konzept 1").should("not.exist")
cy.get("span", { timeout: 10000 }).contains("Concept 1").should("exist")
cy.findByRole("textbox").type("Concept 2")
cy.get("span").contains("Concept 1").should("exist")
cy.get("span").contains("Concept 2").should("exist")
Expand Down

0 comments on commit 876bd3c

Please sign in to comment.