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