When a Scheduling an appointment for a patient ,
when a user navigates to manage appointments and selects the patient,
The appointment made before should be indicated appointment requests of the patient
However i have tried this on both local and online instances and the Appointment request is not registered . Unable to search, are your search parameters valid? is returned as below
The logs are the same and are clearly showing that the test is breaking as a result of waiting for a certain element look up which can not be retrieved. You need to watch clearly the test when simulating to see exactly where things are breaking and you will be able to figure out the mess.
Ensure to set headless property value to false so as to observe the test leakage via UI otherwise you’re on track ←
Thanks, @kdaud however the way I think it is, after scheduling an appointment, when you come back to the patient, the appointment should appear under appointment requests and that’s what the test looks for which is not appearing.
which means the appointments are not being scheduled. because its the case even when i do it manually
The causes for the failures on this issue were arising because I had not updated my repo with the master which led to failures on CI. Some changes were made in the logic too.
There was a challenge of the IDE also reflecting changes in the whole code whenever we save. this was done by the formatter . i think there is something to fix with the OpenMRS guide on setting up eclipse.
This was solved by using a fresh installation of the IDE .
The tests later passed CI
Thanks to @kdaud for spending a number of hours with me fixing this