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

AddPatientAppointment & BookRequestAppointment tests fail master build plan on Sundays and Saturdays

    XMLWordPrintable

    Details

    • Complexity:
      Medium

      Description

      Abstract:

      AddPatientAppointment and BookRequestAppointment tests fail to pass master build plan on Sundays and Saturdays certainly because these two days can not avail on the calendar in Manage Appointment Block page and the tests pick the current date resulting into the tests failure. See the logs at https://ci.openmrs.org/browse/REFAPP-UI-524

      The calendar in "Manage Appointment Blocks" page doesn't have Saturday & Sunday and besides failing the master build plan on those two specific days for the tests in context, in some countries those days are considered to be working days.

      Resolution:

      First step would be to change the parameter ("weekends") to "true" and then adding a global property "appointmentschedulingui.includeWeekends" with a default value of false. An access for this GP should be added to AppointmentSchedulingUIProperties, and then passed into the scheduleProviders.gsp and on to the scheduleProvidersController.js.

      The above suggested resolution was made in this PR by Samuel Male but seems to have set the global property of "appointmentschedulingui.includeWeekends" to false which makes the weekends not available on the calendar.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              kdaud Kakumirizi Daud
              Reporter:
              kdaud Kakumirizi Daud
              Designated Committer:
              Kakumirizi Daud Kakumirizi Daud
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: