Skip to content

Commit

Permalink
OZ-365: Corrected element locator for medications link
Browse files Browse the repository at this point in the history
  • Loading branch information
kdaud committed Oct 5, 2023
1 parent 670cd0f commit c54326d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/utils/functions/testBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export class HomePage {
}

async makeDrugOrder() {
await this.page.getByRole('complementary').filter({ hasText: 'MedicationsNoteFormPatient lists' }).getByRole('button').first().click();
await this.page.getByRole('complementary').filter({ hasText: 'Medications' }).getByRole('button').first().click();
await delay(3000);
await this.page.getByRole('button', { name: 'Add', exact: true }).nth(0).click();
await delay(2000);
Expand Down

0 comments on commit c54326d

Please sign in to comment.