diff --git a/client/cypress/e2e/posting-bills/posting-bills.cy.js b/client/cypress/e2e/posting-bills/posting-bills.cy.js index 14fefb970..bde8479ea 100644 --- a/client/cypress/e2e/posting-bills/posting-bills.cy.js +++ b/client/cypress/e2e/posting-bills/posting-bills.cy.js @@ -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")