diff --git a/.gitignore b/.gitignore index 75e854d8..e8b56cfd 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ node_modules/ /test-results/ /playwright-report/ /playwright/.cache/ +.idea/ \ No newline at end of file diff --git a/e2e/tests/odoo-openmrs-flows.spec.ts b/e2e/tests/odoo-openmrs-flows.spec.ts index e5970b8f..aaf2b590 100644 --- a/e2e/tests/odoo-openmrs-flows.spec.ts +++ b/e2e/tests/odoo-openmrs-flows.spec.ts @@ -115,7 +115,7 @@ test('Revising a synced OpenMRS drug order edits the corresponding Odoo quotatio await page.getByRole('cell', { name: `${patientName.firstName + ' ' + patientName.givenName}` }).click(); const drugOrderItem = await page.locator("table tbody td.o_data_cell:nth-child(3) span"); await expect(drugOrderItem).toContainText('4.0 Tablet'); - await expect(drugOrderItem).toContainText('Twice daily - 5 Days'); + await expect(drugOrderItem).toContainText('Twice daily - 5 day'); await page.goto(`${O3_URL}`); await openmrs.searchPatient(`${patientName.firstName + ' ' + patientName.givenName}`); await openmrs.editDrugOrder(); @@ -125,7 +125,7 @@ test('Revising a synced OpenMRS drug order edits the corresponding Odoo quotatio await odoo.searchCustomer(); await page.getByRole('cell', { name: `${patientName.firstName + ' ' + patientName.givenName}` }).click(); await expect(drugOrderItem).toContainText('8.0 Tablet'); - await expect(drugOrderItem).toContainText('Thrice daily - 6 Days'); + await expect(drugOrderItem).toContainText('Thrice daily - 6 day'); }); test('Discontinuing a synced OpenMRS drug order for an Odoo customer with a single quotation line removes the corresponding quotation.', async ({ page }) => {