This commit is contained in:
@@ -94,7 +94,9 @@ describe("When Accounting user logs in", () => {
|
||||
cy.get("[data-cy=notes]").type(
|
||||
`Hello SuperUser this is my forward to you!{enter}eot{enter}`
|
||||
);
|
||||
cy.get("[data-cy=pickListSelectedUserId]").click().type("SuperUser{downarrow}{enter}");
|
||||
cy.get("[data-cy=pickListSelectedUserId]")
|
||||
.click()
|
||||
.type("SuperUser{downarrow}{enter}");
|
||||
cy.get("[data-cy='memo-edit:save'] > .v-btn__content").click();
|
||||
|
||||
//REMINDERS
|
||||
@@ -195,12 +197,6 @@ describe("When Accounting user logs in", () => {
|
||||
cy.contains("12 PM"); //just something to find in day view to confirm we made it there
|
||||
cy.contains(`${Cypress.config("cyid")}-test-review`);
|
||||
|
||||
//NOTIFICATION
|
||||
cy.get("[data-cy=notification]").click();
|
||||
cy.url().should("include", "/home-notifications");
|
||||
cy.contains("Object created");
|
||||
cy.contains(`${Cypress.config("cyid")}-test-contract`);
|
||||
|
||||
//HISTORY
|
||||
cy.get("[data-cy=navicon]").click();
|
||||
cy.get("[data-cy='nav/home-history']").click();
|
||||
@@ -247,7 +243,7 @@ describe("When Accounting user logs in", () => {
|
||||
);
|
||||
cy.get("[data-cy=charge]").type("2.00");
|
||||
cy.get("[data-cy=cost]").type("1.00");
|
||||
cy.get("[data-cy=unit]").type("{downarrow}{enter}");//choose first in list
|
||||
cy.get("[data-cy=unit]").type("{downarrow}{enter}"); //choose first in list
|
||||
cy.get("[data-cy=notes]").type(`Test trvl rate NOTES!!!{enter}eot{enter}`);
|
||||
cy.get("[data-cy='travel-rate-edit:save'] > .v-btn__content").click();
|
||||
cy.get("[data-cy=navicon]").click();
|
||||
@@ -275,6 +271,12 @@ describe("When Accounting user logs in", () => {
|
||||
cy.url().should("include", "/acc-tax-codes");
|
||||
cy.contains(`${Cypress.config("cyid")}-test-tax-code`);
|
||||
|
||||
//NOTIFICATION
|
||||
cy.get("[data-cy=notification]").click();
|
||||
cy.url().should("include", "/home-notifications");
|
||||
cy.contains("Object created");
|
||||
cy.contains(`${Cypress.config("cyid")}-test-contract`);
|
||||
|
||||
//LOGOUT
|
||||
cy.get("[data-cy=navicon]").click();
|
||||
cy.get("[data-cy=logout]").click();
|
||||
|
||||
@@ -125,7 +125,7 @@ describe("When Service user logs in", () => {
|
||||
|
||||
//Unit
|
||||
cy.get("[data-cy=woItemHeader]").click();
|
||||
cy.get("[data-cy=woItemAddUnit]").click();
|
||||
cy.get("[data-cy=woItemAddUnit]").click({force:true});
|
||||
cy.choosePickList("units.unitId", "e2e");
|
||||
cy.get("[data-cy=woItemUnitGetWarrantyInfo]").click();
|
||||
cy.contains("Receipt Number:"); //just confirm it displayed something
|
||||
@@ -163,8 +163,8 @@ describe("When Service user logs in", () => {
|
||||
cy.get("[data-cy=woItemPartAssemblyAdd]").click();
|
||||
|
||||
//Labor
|
||||
cy.get("[data-cy=woItemHeader]").click();
|
||||
cy.get("[data-cy=woItemAddLabor]").click();
|
||||
cy.get("[data-cy=woItemHeader]").click({force:true});
|
||||
cy.get("[data-cy=woItemAddLabor]").click({force:true});
|
||||
|
||||
cy.get("[data-cy='serviceStartDate:date']").type(
|
||||
dayjs().format("YYYY-MM-DD")
|
||||
|
||||
Reference in New Issue
Block a user