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

Fix the failing RefApp 2.x Clinical Visit Test

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • None
    • Quality Assurance (QA)
    • None
    • Low

    Description

      The RefApp 2.x Clinical Visit Test workflow is currently failing. Specifically, it fails when attempting to save a visit note in the Complete visit note user story. The issue lies in the code, which currently uses an incorrect HTML element for the assertion.

      We can fix this by updating the assertion.
      /qaframework-bdd- tests/src/test/java/org/openmrs/contrib/qaframework/automation/ClinicalVisitSteps.java:systemAddsVisitNote() to:

      @Then("the system adds the note into visit note table")
      public void systemAddsVisitNote() {
          assertEquals(DIAGNOSIS_PRIMARY, visitNotePage.savedPrimaryDiagnosis());
      }
      

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                chiran Chiran govinna
                piumal1999 Piumal Rathnayake
                Piumal Rathnayake Piumal Rathnayake
                Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: