1/ While setting up bahmni development environment as mentioned here it failed on grunt test throwing error -
Connected on socket TrCl876ZaBqpXxUWAAAA with id 83326953
Firefox 55.0.0 (Windows 10 0.0.0) conceptDbService tests should update children of concept if there are setmembers FAILED
Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in C:/Projects/Bahmni/AWS/Sandbox/openmrs-module-bahmniapps-master/ui/node_modules/karma-jasmine/lib/jasmine.js (line 281)
2/ Did it second time only to get coverage as follows: (good / bad?)
Statements : 70.49% ( 12189/17292 )
Branches : 59.73% ( 4579/7666 )
Functions : 63.14% ( 3278/5192 )
Lines : 70.53% ( 12153/17232 )
3/ Still tried bahmni login. After successful login every page throws error “Information Does not exist”
Assuming you were able to run the tests successfully, so not answering to your first question. Coming to the coverage, it has been bad since long time and we have been trying to make it better everyday. If your are willing to write some tests to increase the coverage, you are always welcome.
To answer your 3rd,4th and 5th question, you have 0.89 version of bahmni installed on your vagrant box and I am assuming that you are trying to symlink the master branch of bahmniapps. This is the reason you are getting an error. Can you try to symlink the release-0.89 branch of bahmniapps instead of master.
This should resolve all your issues. Let me know if you still face any issues.
BUT when I tried openerp-atomfeed-service, I get the error related to shouldEscapeHindiCharacters (getting reported in file \Projects\Bahmni\openerp-atomfeed-service\openerp-client\target\surefire-reports\org.bahmni.openerp.web.request.builder.RequestBuilderTest.txt) stating “expected and returned strings do not match”. I have also listed this error here
Is this again due to version mismatch (but I cloned what is related to 0.89) OR the test related issue?
May I request you to look into this?
The environment is same as mentioned earlier in this thread.
For debug the file /opt/bahmni-erp-connect/etc/bahmni-erp-connect.conf gives debug port as 8002. So changing the forward port in vagrantfile, restart vbox and connecting remote debugger on 8002 will give an opportunity to debug openerp-atomfeed-service (bahmni-erp-connect)