Reference Application 2.13.0-SNAPSHOT Testing

Are you interested in running automated tests for Reference Application 2.13.0-SNAPSHOT locally? Kindly follow these steps:

  1. clone the repository → GitHub - openmrs/openmrs-contrib-qaframework.

  2. cd into the repository using → cd openmrs-contrib-qaframework

  3. 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.

  1. Navigate to the qaframework-bdd-tests module using → cd qaframework-bdd-tests.
  2. Trigger npm run in the terminal in order to see all the workflows that have been created
  3. Trigger any test workflow by running the command: → npm run workflowName, e.g. npm run refapp2ClinicalVisit

Kindly report you findings on this link.