-
Download Gauge from here.
-
Install core plugins using the following commands
gauge --install java
gauge --install html-report
-
Run the following commands with proper values to setup the required environment variables.
export BAHMNI_GAUGE_APP_URL=<bahmni application url>
export BAHMNI_GAUGE_APP_USER=<bahmni username>
export BAHMNI_GAUGE_APP_PASSWORD=<bahmni password>
export BAHMNI_GAUGE_APP_IMPL_NAME=<bahmni implementation name>
export BAHMNI_GAUGE_PIH_USER=<bahmni pih_username>
export BAHMNI_GAUGE_MSF_USER=<bahmni msf_username>
export BAHMNI_GAUGE_IRD_USER=<bahmni ird_username>
export BAHMNI_GAUGE_PIH_PASSWORD=<bahmni pih_password>
export BAHMNI_GAUGE_MSF_PASSWORD=<bahmni msf_password>
export BAHMNI_GAUGE_IRD_PASSWORD=<bahmni ird_password>
export BAHMNI_GAUGE_APP_LOCATION=<bahmni login location>
export BAHMNI_GAUGE_APP_ANOTHER_LOCATION=<bahmni another login location for multiple visits check>
-
Running functional tests
- Run
mvn clean install
at the root project level. - To run functional tests for a specific project, for example the endtb project
cd bahmni-gauge-endtb
mvn gauge:execute
- Run
- Xvfb gets stopped on reboot of the machine
- To make it running again, please run the below commands
Xvfb -ac :99 -screen 0 1280x1024x16 &
export DISPLAY=:99
- To make it running again, please run the below commands