Skip to content

Commit

Permalink
formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
manishjha-04 committed Aug 12, 2024
1 parent 1df3d11 commit a75253a
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions frontend/cypress/e2e/batchOrderEntry.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,15 @@ describe("Batch Order Entry On Demand", function () {

it("Should Validate Fields And Generate BarCode", function () {
cy.fixture("BatchOrder").then((batchOrderData) => {
batchOrder.validateField(":nth-child(1) > .cds--subgrid > :nth-child(8)", batchOrderData.sampleType);
batchOrder.validateField(
":nth-child(1) > .cds--subgrid > :nth-child(8)",
batchOrderData.sampleType,
);
batchOrder.validateField(".cds--lg\\:col-span-12", batchOrderData.panel);
batchOrder.validateField(":nth-child(1) > .cds--subgrid > :nth-child(13)", batchOrderData.facility);
batchOrder.validateField(
":nth-child(1) > .cds--subgrid > :nth-child(13)",
batchOrderData.facility,
);
batchOrder.checkNextLabel().should("be.disabled");
batchOrder.clickGenerateAndSaveBarcode();
batchOrder.checkNextLabel().should("be.visible");
Expand Down Expand Up @@ -95,9 +101,15 @@ describe("Batch Order Entry Pre Printed", function () {

it("Should Validate Fields", function () {
cy.fixture("BatchOrder").then((batchOrderData) => {
batchOrder.validateField(":nth-child(1) > .cds--subgrid > :nth-child(8)", batchOrderData.sampleType);
batchOrder.validateField(
":nth-child(1) > .cds--subgrid > :nth-child(8)",
batchOrderData.sampleType,
);
batchOrder.validateField(".cds--lg\\:col-span-12", batchOrderData.panel);
batchOrder.validateField(":nth-child(1) > .cds--subgrid > :nth-child(13)", batchOrderData.facility);
batchOrder.validateField(
":nth-child(1) > .cds--subgrid > :nth-child(13)",
batchOrderData.facility,
);
});
});

Expand Down

0 comments on commit a75253a

Please sign in to comment.