IO-2327 added some test cases on posting bills
This commit is contained in:
@@ -18,7 +18,7 @@ describe(
|
||||
.should("not.have.class", "ant-table-placeholder");
|
||||
});
|
||||
|
||||
it("order multiple parts for the job", () => {
|
||||
it("order parts for the job", () => {
|
||||
const today = moment(new Date()).format("YYYY-MM-DD");
|
||||
|
||||
cy.get("@active-jobs-table")
|
||||
@@ -73,7 +73,7 @@ describe(
|
||||
.contains("Ordered");
|
||||
});
|
||||
|
||||
it.only("order parts for the job", () => {
|
||||
it.only("order multiple parts for the job", () => {
|
||||
const today = moment(new Date()).format("YYYY-MM-DD");
|
||||
|
||||
cy.get("@active-jobs-table")
|
||||
@@ -110,6 +110,8 @@ describe(
|
||||
cy.get("#deliver_by").click();
|
||||
cy.get(`[title="${today}"]`).should("be.visible").click({ force: true });
|
||||
|
||||
cy.get('[data-cy="part-order-comments"]').type("testing from cypress");
|
||||
|
||||
cy.get('[data-cy="part-order-select-none"]').check();
|
||||
cy.get('[data-cy="order-part-submit"]').should("not.be.disabled").click();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user