Skip to content

Commit

Permalink
latest check
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrin2005 committed Dec 28, 2024
1 parent 18fcf32 commit ce00cdf
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions cypress/pageobject/Patient/PatientInvestigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,7 @@ class PatientInvestigation {
}

selectInvestigationOption(options: string[]) {
// Click to open dropdown
cy.get("#investigation-select").should("exist").click();

// Select each option
options.forEach((option) => {
cy.get("[role='option']").contains(option).should("be.visible").click();
});

// Click outside to close dropdown (if needed)
cy.get("body").click(0, 0);
cy.clickAndMultiSelectOption("#investigation-select", options);
}

clickLogLabResults() {
Expand Down

0 comments on commit ce00cdf

Please sign in to comment.