55 lines
1.9 KiB
JavaScript
55 lines
1.9 KiB
JavaScript
// Basic smoke test, visit every form to ensure they load
|
|
|
|
describe("SMOKE OPERATIONS SECTION", () => {
|
|
it("Ops forms open without error", () => {
|
|
cy.ayLogin("admin");
|
|
cy.visit("/ops-backup");
|
|
cy.url().should("include", "/ops-backup");
|
|
cy.get("[data-cy=generalerror]").should("not.exist");
|
|
cy.get("[data-cy=backupTable]");
|
|
|
|
cy.visit("/ops-server-state");
|
|
cy.url().should("include", "/ops-server-state");
|
|
cy.get("[data-cy=generalerror]").should("not.exist");
|
|
cy.get("[data-cy=serverStateOpen]");
|
|
|
|
cy.visit("/ops-jobs");
|
|
cy.url().should("include", "/ops-jobs");
|
|
cy.get("[data-cy=generalerror]").should("not.exist");
|
|
cy.get("[data-cy=jobsTable]");
|
|
|
|
cy.visit("/ops-log");
|
|
cy.url().should("include", "/ops-log");
|
|
cy.get("[data-cy=generalerror]").should("not.exist");
|
|
cy.get("[data-cy=selectedLog]");
|
|
|
|
cy.visit("/ops-metrics");
|
|
cy.url().should("include", "/ops-metrics");
|
|
cy.get("[data-cy=generalerror]").should("not.exist");
|
|
cy.get("[data-cy=selectedTimePeriod]");
|
|
|
|
cy.visit("/ops-profile");
|
|
cy.url().should("include", "/ops-profile");
|
|
cy.get("[data-cy=generalerror]").should("not.exist");
|
|
cy.get("[data-cy=profileCard]");
|
|
|
|
cy.visit("/ops-notification-settings");
|
|
cy.url().should("include", "/ops-notification-settings");
|
|
cy.get("[data-cy=generalerror]").should("not.exist");
|
|
cy.get("[data-cy=smtpDeliveryActive]");
|
|
|
|
cy.visit("/ops-notify-queue");
|
|
cy.url().should("include", "/ops-notify-queue");
|
|
cy.get("[data-cy=generalerror]").should("not.exist");
|
|
cy.get("[data-cy=notifyQueueTable]");
|
|
|
|
cy.visit("/ops-view-configuration");
|
|
cy.url().should("include", "/ops-view-configuration");
|
|
cy.get("[data-cy=generalerror]").should("not.exist");
|
|
cy.get("[data-cy=configCard]");
|
|
|
|
|
|
//-----------------------------------------------------
|
|
});
|
|
});
|