This commit is contained in:
2021-12-20 19:20:20 +00:00
parent f3ff88229e
commit 68c08d0cb0
5 changed files with 4 additions and 8 deletions

View File

@@ -6,8 +6,8 @@ describe("SMOKE SETUP", () => {
url: `${Cypress.env("apiBaseUrl")}auth`,
method: "POST",
body: {
login: Cypress.env("adminusername"),
password: Cypress.env("adminpassword")
login: Cypress.env("admin").login,
password: Cypress.env("admin").password
}
})
.its("body")

View File

@@ -3,7 +3,6 @@
describe("SMOKE SERVICE MISC SECTION", () => {
it("Service MISC forms open without error", () => {
cy.ayLogin("admin");
//################# SERVICE
cy.visit("/svc-schedule");
cy.url().should("include", "/svc-schedule");
cy.get("[data-cy=generalerror]").should("not.exist");

View File

@@ -3,7 +3,6 @@
describe("SMOKE SERVICE WO SECTION", () => {
it("Service WO forms open without error", () => {
cy.ayLogin("admin");
//################# SERVICE WO
cy.visit("/svc-workorders");
cy.url().should("include", "/svc-workorders");

View File

@@ -3,8 +3,6 @@
describe("SMOKE SERVICE QUOTE SECTION", () => {
it("Service quote forms open without error", () => {
cy.ayLogin("admin");
cy.visit("/svc-quotes");
cy.url().should("include", "/svc-quotes");
cy.get("[data-cy=generalerror]").should("not.exist");

View File

@@ -2,7 +2,7 @@
describe("SMOKE CUSTOMER SECTION", () => {
it("Customer User forms open without error", () => {
cy.ayLogin("accounting", "/customer-csr");
cy.ayLogin("customer", "/customer-csr");
cy.get("[data-cy=generalerror]").should("not.exist");
cy.get("[data-cy=csrTable]");