Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Aug 3, 2018 · 1 comment
Labels

Comments

@kml27
Copy link

kml27 commented Aug 3, 2018

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

@kml27 kml27 added the question label Aug 3, 2018
@ynurmahomed
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants