esaude / esaude-emr-poc

This project is an AngularJS application for point of care based on OpenMRS and using Bahmni code. The UI was designed for tablet-like interfaces with touch screen and virtual keyboard. A demo of the system can be found here.
http://www.esaude.org/community-projects/point-of-care
MIT License
6 stars 17 forks source link

When upgrading from OpenMRS 1.11.5 to eSaude Platform 1.4.5/POC 2.0.2, are Programs expected to exist? #710

Open kml27 opened 6 years ago

kml27 commented 6 years ago

Actual Results

Currently, E2E tests do not create the Programs a patient can be enrolled in when testing patient program enrollment functionality.

Enrollment fails because the programs do not exist in the OpenMRS database.

Expected results

Programs should exist, and enrollment should continue and succeed. Are these intended to added by hand into OpenMRS? Should they be added to specific tests, or is there a specification/acceptance criteria for the process to add them that should be tested?

Steps to reproduce

Upgrade a native OpenMRS 1.11.5 server to eSaude 1.4.5/POC 2.0.2 with installer 1.9.9. Set configure proxy settings in grunt.conf.js to reference that server. Run current master of esaude-emr-poc with grunt serve. In a terminal, npm run wd:start. In another terminal, npm run e2e test/e2eTests/tests/enrollPatient_test.js

Screenshot/Attachment (Optional)

successfully_enroll_patient_in_program failed

ynurmahomed commented 6 years ago

I think they are, but CommonMetadataBundle.java#L396-L424 seems to be commented, @ningosi should know.