This commit is contained in:
@@ -6,8 +6,8 @@ describe("SMOKE SETUP", () => {
|
|||||||
url: `${Cypress.env("apiBaseUrl")}auth`,
|
url: `${Cypress.env("apiBaseUrl")}auth`,
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: {
|
body: {
|
||||||
login: Cypress.env("adminusername"),
|
login: Cypress.env("admin").login,
|
||||||
password: Cypress.env("adminpassword")
|
password: Cypress.env("admin").password
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.its("body")
|
.its("body")
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
describe("SMOKE SERVICE MISC SECTION", () => {
|
describe("SMOKE SERVICE MISC SECTION", () => {
|
||||||
it("Service MISC forms open without error", () => {
|
it("Service MISC forms open without error", () => {
|
||||||
cy.ayLogin("admin");
|
cy.ayLogin("admin");
|
||||||
//################# SERVICE
|
|
||||||
cy.visit("/svc-schedule");
|
cy.visit("/svc-schedule");
|
||||||
cy.url().should("include", "/svc-schedule");
|
cy.url().should("include", "/svc-schedule");
|
||||||
cy.get("[data-cy=generalerror]").should("not.exist");
|
cy.get("[data-cy=generalerror]").should("not.exist");
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
describe("SMOKE SERVICE WO SECTION", () => {
|
describe("SMOKE SERVICE WO SECTION", () => {
|
||||||
it("Service WO forms open without error", () => {
|
it("Service WO forms open without error", () => {
|
||||||
cy.ayLogin("admin");
|
cy.ayLogin("admin");
|
||||||
//################# SERVICE WO
|
|
||||||
|
|
||||||
cy.visit("/svc-workorders");
|
cy.visit("/svc-workorders");
|
||||||
cy.url().should("include", "/svc-workorders");
|
cy.url().should("include", "/svc-workorders");
|
||||||
|
|||||||
@@ -2,9 +2,7 @@
|
|||||||
|
|
||||||
describe("SMOKE SERVICE QUOTE SECTION", () => {
|
describe("SMOKE SERVICE QUOTE SECTION", () => {
|
||||||
it("Service quote forms open without error", () => {
|
it("Service quote forms open without error", () => {
|
||||||
cy.ayLogin("admin");
|
cy.ayLogin("admin");
|
||||||
|
|
||||||
|
|
||||||
cy.visit("/svc-quotes");
|
cy.visit("/svc-quotes");
|
||||||
cy.url().should("include", "/svc-quotes");
|
cy.url().should("include", "/svc-quotes");
|
||||||
cy.get("[data-cy=generalerror]").should("not.exist");
|
cy.get("[data-cy=generalerror]").should("not.exist");
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
describe("SMOKE CUSTOMER SECTION", () => {
|
describe("SMOKE CUSTOMER SECTION", () => {
|
||||||
it("Customer User forms open without error", () => {
|
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=generalerror]").should("not.exist");
|
||||||
cy.get("[data-cy=csrTable]");
|
cy.get("[data-cy=csrTable]");
|
||||||
|
|||||||
Reference in New Issue
Block a user