/// describe("Search", () => { it("should work", () => { //SEARCH cy.get("[data-cy=navicon]").click(); cy.get("[data-cy='nav/home-search']").click(); cy.url().should("include", "/home-search"); cy.get("[data-cy=phrase]").clear().type("xyz{enter}"); //check for expected results cy.contains("Customer"); cy.contains("XYZ Accounting"); cy.contains("Head Office"); cy.contains("XYZ Head Office"); //END OF TEST //----------------------------------------------------- }); });