-
-
Notifications
You must be signed in to change notification settings - Fork 571
Resolves #5224: Banks can see partners's active children using items when deactivating #5340
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
base: main
Are you sure you want to change the base?
Resolves #5224: Banks can see partners's active children using items when deactivating #5340
Conversation
… which contains items in child requests
dorner
left a comment
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.
Thanks for the PR! Please add a test to cover this case.
@dorner Can you help me regarding test I have to write Rspec test for this ? Is there anything used for writing tests in this project |
|
Hi @jeet12323 - please look under
|
|
@dorner I have written rspec and commited at that time all tests were passed when i updated branch in github directly main was merged into this and 2 checks are failed if you could guide me further regarding this |
|
Probably flaky tests. Over to @awwaiid for functional testing. |
|
Functional Testing @jeet12323 Thanks for getting this one started. There are a few things I'm noticing during functional testing.
Item not visible scenario: Found under Items & Inventory > Click Edit on an Item > Notice Item Visible to Partners? checkbox gets deselected Partner Groups Changing scenario: partner groups can be found under Partner Agencies > All Partners > Groups tab > Edit a group > Deselect a partner group that is included
@jeet12323 are you able to update and work on this? Thanks! |
janeewheatley
left a comment
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.
Please see my functional testing notes
|
That sounds right -- The idea is that we should check in all the cases where, if the bank takes that action, it would impact whether a partner should be able to ask for the item. Having a confirmation allows the bank to make their own call on whether they want to reach out to the partners affected before making the change. Note that we may want a followup issue to refine the check on the children to "not archived" rather than active, based on the fallout from #3806 , but that needn't affect this PR. |
|
@cielf @janeewheatley Ok sure i will start working on these things,I am not allowed to push in this branch anymore could u help me proceed? |
|
@jeet12323 Not sure what is going wrong with this branch for pushing, but it would be totally fine to open up a new branch / PR if that works better. |
Resolves #5224
Description
In inventory when an item is deactivated it displays list of partners which contains child requests
Screenshot
