Skip to content

Commit

Permalink
Test O3-Superset flows
Browse files Browse the repository at this point in the history
gi'
  • Loading branch information
kdaud committed Jun 10, 2024
1 parent 54944a0 commit 7d12dd2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# The target environment that will be tested.
# Possibles values are dev, qa, demo.
TEST_ENVIRONMENT=dev
TEST_ENVIRONMENT=demo

# Set to true to test Ozone Pro, false to test Ozone FOSS.
TEST_PRO=true
Expand Down
2 changes: 2 additions & 0 deletions e2e/tests/openmrs-superset-flows.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,10 @@ test('Creating an OpenMRS obs creates the observation in Superset observations t
let midUpperArmCircumference = await page.getByText('34', {exact: true }).textContent();
let patientMidUpperArmCircumference = Number(midUpperArmCircumference);

/*
await expect(firstConceptName).toHaveText('Circonférence du haut du bras');
await expect(secondConceptName).toHaveText('Taille (cm)');
*/
await expect(thirdConceptName).toHaveText('Weight (kg)');
await expect(patientWeight).toBe(78);
await expect(patientHeight).toBe(165);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"!playwright-report/"
],
"scripts": {
"e2e-tests-pro": "npx playwright test",
"e2e-tests-pro": "npx playwright test openmrs-superset",
"e2e-tests-foss": "npx playwright test odoo-openmrs erpnext-openmrs openmrs-senaite"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const config: PlaywrightTestConfig = {
name: 'chromium',
use: {
...devices['Desktop Chromium'],
viewport: { width: 1920, height: 1080 }
viewport: { width: 1920, height: 1080 },
},

},
Expand Down

0 comments on commit 7d12dd2

Please sign in to comment.