Files
raven-test/e2e/tests/regression/accounting-user/0100-search.js
2021-12-21 00:01:47 +00:00

19 lines
566 B
JavaScript

/// <reference types="cypress" />
describe("Search", () => {
it("should work", () => {
cy.ayLogin("accounting");
cy.visit("/home-search");
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
//-----------------------------------------------------
});
});