Details
-
Type:
Task
-
Status: Closed
-
Priority:
Should
-
Resolution: Fixed
-
Affects Version/s: Version 1.0
-
Fix Version/s: Reference Application 2.11.0
-
Component/s: Quality Assurance (QA)
-
Labels:
-
Complexity:Medium
Description
Goal: Add an automated test case that verifies the workflow of editing vitals for an existing patient is working.
Steps in this test include:
- Log in as an admin.
- Click on the find patient record app.
- Search for a patient using a name or unique identifier.
#Scenarios Data Search by name Joseph Search by Unique ID 1000MJ - Select the patient that matches the search criteria.
- Check in the patient for a visit by starting a visit.
- On the patient dashboard, click on capture vitals and record the vital signs of the patient.
Scenario | Data | Expected results |
---|---|---|
Existing Vitals | Height: 170cm Weight: 75kg Temperature: 36.5c Pulse: 78/min Respiratory: 14/min Blood Pressure: 120/80 pulse oximeter: 60% |
Initial Vitals form with data |
Edited Vitals | Height: 180cm Weight: 80kg Temperature: 40c Pulse: 85/min Respiratory: 16/min Blood Pressure: 120/85 pulse oximeter: 60% |
Edited Vitals form is successfully saved. |
Expected results:
- If the patient exists a match is displayed in a tabular format and upon selection, the user is redirected to the patient dashboard.
- Once the patient is successfully checked in a green status bar is displayed on the patient dashboard indicating an active visit.
- Once the vitals are edited and saved, a summary of the vitals is displayed on the patient dashboard.
Guidance:
To complete this task, you will need to do the following within https://github.com/openmrs/openmrs-contrib-qaframework:
- Add user story in VitalsAndTriaging feature File located at https://github.com/openmrs/openmrs-contrib-qaframework/tree/master/src/test/resources/features
- 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