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

24 lines
666 B
JavaScript

// Basic smoke test, visit every form to ensure they load
describe("SMOKE SERVICE PM SECTION", () => {
it("Service pm 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-pms");
cy.url().should("include", "/svc-pms");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=pmsTable]");
//-----------------------------------------------------
});
});