IO-2327 posting bill test cases
This commit is contained in:
@@ -5,7 +5,7 @@ import Dinero from "dinero.js";
|
||||
|
||||
const uuid = () => Cypress._.random(0, 1e6);
|
||||
|
||||
describe.only(
|
||||
describe(
|
||||
"Billing job parts orders",
|
||||
{
|
||||
defaultCommandTimeout: 10000,
|
||||
@@ -663,8 +663,6 @@ describe(
|
||||
});
|
||||
});
|
||||
|
||||
// TODO add more assertions to the parts table
|
||||
// location, status
|
||||
it("views the row expander if it has the order and bill", () => {
|
||||
cy.get('[data-cy="tab-repairdata"]').should("be.visible").click();
|
||||
|
||||
@@ -680,15 +678,14 @@ describe(
|
||||
.first()
|
||||
.click();
|
||||
|
||||
// TODO find location from bodyshop config
|
||||
// cy.get('[data-cy="repair-data-table"]')
|
||||
// .find(".ant-table-tbody")
|
||||
// .find("> tr:not(.ant-table-measure-row)")
|
||||
// .first()
|
||||
// .find("td")
|
||||
// .eq(13)
|
||||
// .find("div")
|
||||
// .should("exist");
|
||||
cy.get('[data-cy="repair-data-table"]')
|
||||
.find(".ant-table-tbody")
|
||||
.find("> tr:not(.ant-table-measure-row)")
|
||||
.first()
|
||||
.find("td")
|
||||
.eq(13)
|
||||
.find("div")
|
||||
.should("exist");
|
||||
|
||||
cy.get('[data-cy="repair-data-table"]')
|
||||
.find(".ant-table-tbody")
|
||||
|
||||
Reference in New Issue
Block a user