Skip to content

Commit

Permalink
Test ERPNext-O3 flows
Browse files Browse the repository at this point in the history
  • Loading branch information
kdaud committed Jun 10, 2024
1 parent 54944a0 commit 3cccf8b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .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 All @@ -21,8 +21,8 @@ O3_URL_DEMO=https://demo.ozone-his.com

# ERPNEXT
ERPNEXT_URL_DEV=https://erpnext.ozone-dev.mekomsolutions.net
ERPNEXT_URL_QA=
ERPNEXT_URL_DEMO=
ERPNEXT_URL_QA=https://erpnext.ozone-qa.mekomsolutions.net
ERPNEXT_URL_DEMO=https://erpnext.demo.ozone-his.com

# Odoo
ODOO_URL_DEV=https://erp.ozone-dev.mekomsolutions.net
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 erpnext-openmrs",
"e2e-tests-foss": "npx playwright test odoo-openmrs erpnext-openmrs openmrs-senaite"
},
"publishConfig": {
Expand Down
4 changes: 3 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ const config: PlaywrightTestConfig = {
name: 'chromium',
use: {
...devices['Desktop Chromium'],
viewport: { width: 1920, height: 1080 }
viewport: { width: 1920, height: 1080 },
screenshot: 'only-on-failure',
video: 'on'
},

},
Expand Down

0 comments on commit 3cccf8b

Please sign in to comment.