Skip to content

Commit

Permalink
fix flaky interception
Browse files Browse the repository at this point in the history
  • Loading branch information
nihal467 committed Jun 19, 2024
1 parent c2512ac commit cc153d8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cypress/pageobject/Patient/PatientPrescription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,7 @@ export class PatientPrescription {
}

clickAllVisibleAdministration() {
cy.get("#should_administer")
.children()
.filter(":visible")
.each(($el) => {
cy.wrap($el).click();
});
cy.get("#should_administer").should("be.visible").click();
}

selectMedicinebox() {
Expand Down

0 comments on commit cc153d8

Please sign in to comment.