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);
|
const uuid = () => Cypress._.random(0, 1e6);
|
||||||
|
|
||||||
describe.only(
|
describe(
|
||||||
"Billing job parts orders",
|
"Billing job parts orders",
|
||||||
{
|
{
|
||||||
defaultCommandTimeout: 10000,
|
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", () => {
|
it("views the row expander if it has the order and bill", () => {
|
||||||
cy.get('[data-cy="tab-repairdata"]').should("be.visible").click();
|
cy.get('[data-cy="tab-repairdata"]').should("be.visible").click();
|
||||||
|
|
||||||
@@ -680,15 +678,14 @@ describe(
|
|||||||
.first()
|
.first()
|
||||||
.click();
|
.click();
|
||||||
|
|
||||||
// TODO find location from bodyshop config
|
cy.get('[data-cy="repair-data-table"]')
|
||||||
// cy.get('[data-cy="repair-data-table"]')
|
.find(".ant-table-tbody")
|
||||||
// .find(".ant-table-tbody")
|
.find("> tr:not(.ant-table-measure-row)")
|
||||||
// .find("> tr:not(.ant-table-measure-row)")
|
.first()
|
||||||
// .first()
|
.find("td")
|
||||||
// .find("td")
|
.eq(13)
|
||||||
// .eq(13)
|
.find("div")
|
||||||
// .find("div")
|
.should("exist");
|
||||||
// .should("exist");
|
|
||||||
|
|
||||||
cy.get('[data-cy="repair-data-table"]')
|
cy.get('[data-cy="repair-data-table"]')
|
||||||
.find(".ant-table-tbody")
|
.find(".ant-table-tbody")
|
||||||
|
|||||||
Reference in New Issue
Block a user