Files
raven-test/e2e/tests/regression/1-smoke/3.2-service-quote.js
2021-12-19 19:59:39 +00:00

24 lines
685 B
JavaScript

// Basic smoke test, visit every form to ensure they load
describe("SMOKE SERVICE QUOTE SECTION", () => {
it("Service quote forms open without error", () => {
cy.visit("/login");
cy.get("input[name=username]").clear().type(Cypress.env("adminusername"));
// {enter} causes the form to submit
cy.get("input[name=password]")
.clear()
.type(`${Cypress.env("adminpassword")}{enter}`);
cy.visit("/svc-quotes");
cy.url().should("include", "/svc-quotes");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=quotesTable]");
//-----------------------------------------------------
});
});