Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdaud committed Aug 22, 2024
1 parent 61f1f70 commit f31e3bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/tests/diagnosis.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ test('Create, revise and discontinue diagnosis.', async ({ page }) => {
await page.locator('#opd-tabs').getByText('Diagnosis').click();
await page.locator('i.fa.fa-edit').first().click();
await delay(3000);
await page.getByRole('button', { name: 'PRESUMED'}).nth(1).click();
await page.getByRole('button', { name: 'PRESUMED'}).nth(1).dblclick();
await bahmni.saveOrder();
await page.locator('i.fa.fa-edit').nth(1).click();
await delay(3000);
await page.getByRole('button', { name: 'CONFIRMED' }).nth(1).click();
await page.getByRole('button', { name: 'CONFIRMED' }).nth(1).dblclick();
await bahmni.saveOrder();
await page.locator('#dashboard-link span.patient-name').click();
await expect(primaryDiagnosisCertaintySelector).toContainText(/presumed/i);
Expand Down

0 comments on commit f31e3bc

Please sign in to comment.