-
Notifications
You must be signed in to change notification settings - Fork 248
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
(fix) O3-2666: Order getting removed after clicking on Back to order basket #1549
(fix) O3-2666: Order getting removed after clicking on Back to order basket #1549
Conversation
Back to order basket
packages/esm-patient-medications-app/src/add-drug-order/add-drug-order.test.tsx
Show resolved
Hide resolved
packages/esm-patient-medications-app/src/add-drug-order/add-drug-order.test.tsx
Show resolved
Hide resolved
Hi Usama! Thanks for the PR. A note on how we handle PRs. The checkboxes are there both to remind the submitter to do stuff and to communicate with others. You should not check them if they are not relevant. The one about conforming to the styleguide informs the reviewer that you have done some design implementation that references some specific designs. That isn't relevant to this ticket, so don't check the box. The one about tests requires some careful thought; the question is whether tests would fail if you didn't make the change you made. Tests were passing before (with the bad behavior), and you have only removed tests; therefore it is impossible that if your change was somehow undone that tests would fail. Therefore your change is not tested for, and you shouldn't check the box. It's not strictly a requirement, but if it's not too hard to write a test that protects us against this bug, it would be great to have. |
Thanks @brandones, It's a good guide, and I will endeavor to follow along. Also with the tests I am to add the tests as to the changes I made. |
2fe5a55
to
c8565c6
Compare
…://github.com/usamaidrsk/openmrs-esm-patient-chart into fix-removing-order-from-basket-on-back-action
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @usamaidrsk & @vasharma05
Requirements
Summary
Back to order basket
Screenshots
Related Issue
O3-2666
Other