Uploaded image for project: 'QA Framework'
  1. QA Framework
  2. RATEST-204

E2E Vitals and Triaging workflow test extension

    XMLWordPrintable

    Details

    • Type: Task
    • Status: In Progress
    • Priority: Should
    • Resolution: Unresolved
    • Affects Version/s: Version 1.0
    • Fix Version/s: None
    • 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:

      1. Log in as an admin.
      2. Click on the find patient record app.
      3. Search for a patient using a name or unique identifier.
        #
        Scenarios Data
        Search by name Joseph 
        Search by Unique ID 1000MJ
      4. Select the patient that matches the search criteria.
      5. Check in the patient for a visit by starting a visit.
      6. 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:

      1. If the patient exists a match is displayed in a tabular format and upon selection, the user is redirected to the patient dashboard.
      2. Once the patient is successfully checked in a green status bar is displayed on the patient dashboard indicating an active visit.
      3. 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

      1. Add user story in VitalsAndTriaging feature File located at  https://github.com/openmrs/openmrs-contrib-qaframework/tree/master/src/test/resources/features 
      2. Write Steps in Gherkin (Guidance here: https://cucumber.io/docs/gherkin/reference/)
      3. 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

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              irenyak1 Irene Nyakate
              Reporter:
              kdaud Kakumirizi Daud
              Designated Committer:
              Kakumirizi Daud Kakumirizi Daud
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: