Reference Application 2.11.0
Goal: An automated test case that verifies a user is able to add and delete allergies and conditions via the patient dashboard.
Steps in this test include:
- Log in as an admin.
- Click on the find a patient.
- Select a patient.
- Add two allergies and two conditions.
- Delete one added allergy and one added condition.
Expected results: The application displays the one allergy and one condition allergy.
To complete this task, you will need to do the following within https://github.com/openmrs/openmrs-contrib-qaframework:
- Add the user story in the Feature File in the correct location here: https://github.com/openmrs/openmrs-contrib-qaframework/tree/master/src/test/resources/features
- Add the page functionality: Follow sample page files at https://wiki.openmrs.org/pages/viewpage.action?pageId=235277297
- Write Steps in Gherkin (Guidance here: https://cucumber.io/docs/gherkin/reference/)
- Complete the test in Selenium using the OMRS QA Framework
Additional guidance: https://wiki.openmrs.org/display/docs/QA+Framework%3A+Overview+of+Frontend+Test+Steps
- mentioned in