This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user