Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdaud committed Aug 20, 2024
1 parent 6108f30 commit 7324b09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e/tests/medications.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ test('Create, revise and discontinue a drug order.', async ({ page }) => {

// verify cancellation
await expect(drugNameSelector).toContainText('Aspirine Co 81mg (Comprime)');
await page.locator('.stop-drug-btn').first().click();
await page.getByRole('button', { name: 'Stop' }).first().click();
await page.getByPlaceholder('Notes').clear();
await page.getByPlaceholder('Notes').fill('Patient allergic to medicine');
await bahmni.saveOrder();
await expect(page.getByText(/no recent treatments/i)).toBeVisible();
Expand Down

0 comments on commit 7324b09

Please sign in to comment.