This commit is contained in:
2021-12-20 19:12:32 +00:00
parent c08b169919
commit f3ff88229e
20 changed files with 99 additions and 229 deletions

View File

@@ -2,17 +2,7 @@
describe("SMOKE MISC", () => {
it("Misc. 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.url().should("include", "/ay-evaluate");
cy.url().should("include", "/ay-evaluate");
//################# MISC
cy.ayLogin("admin");
cy.visit("/about");
cy.url().should("include", "/about");
cy.get("[data-cy=generalerror]").should("not.exist");