Are you interested in running automated tests for Reference Application 2.13.0-SNAPSHOT locally? Kindly follow these steps:
-
clone the repository → GitHub - openmrs/openmrs-contrib-qaframework.
-
cd into the repository using →
cd openmrs-contrib-qaframework
-
Import the project in your preferred IDE and change the
test.properties
file to something like this:
webapp.url=https://uat-refapp.openmrs.org/openmrs
login.username=admin
login.password=Admin123
login.location=Pharmacy
webdriver=chrome
headless=false
webdriver.gecko.driver=chromedriver/mac/chromedriver
includes.csrftoken=false
and save the changes.
- Navigate to the qaframework-bdd-tests module using →
cd qaframework-bdd-tests
. - Trigger
npm run
in the terminal in order to see all the workflows that have been created - Trigger any test workflow by running the command: →
npm run workflowName
, e.g.npm run refapp2ClinicalVisit
Kindly report you findings on this link.