This commit is contained in:
@@ -2,16 +2,7 @@
|
||||
|
||||
describe("SMOKE ADMIN SECTION", () => {
|
||||
it("Admin 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");
|
||||
//################# ADMIN
|
||||
cy.ayLogin("admin");
|
||||
cy.visit("/adm-global-settings");
|
||||
cy.url().should("include", "/adm-global-settings");
|
||||
cy.get("[data-cy=generalerror]").should("not.exist");
|
||||
|
||||
Reference in New Issue
Block a user