Open Benmuiruri opened 1 month ago
@Benmuiruri I'm not sure the best way to manage a growing list of test scenarios, perhaps just edit / add to the first comment and then react with a 👍🏼 on this comment once they have been acknowledged or added/updated, but here are some other funky scenarios to consider.
Issue with Reports Page Filter. I'm not sure it has to do with the work we are doing now, but I just noticed it here and can't replicate it in other environments. I tried to test this on https://demo-cht.dev.medicmobile.org/#/reports but I think it has a different setting for place_hierarchy_types
(in app_settings) so it doesn't show HHs in the Place filter. I also tried it on https://care-teams-4x.dev.medicmobile.org/#/reports, and it seemed to work fine but there's a lot of data and hard to know for sure.
There are two issues illustrated in the video...
https://github.com/medic/care-teams/assets/10096985/1b9cef11-47b2-4511-af99-34481e38f1fb
CHU-A
, you see reports associated to CHU-B
. Then when you filter reports associated to CHU-B
you see no reports. https://github.com/medic/care-teams/assets/2597305/ade48e56-fd88-4916-a580-f2fffe4ec6a8
CHU-A and CHU-B
) and get's reassigned to one facility (CHU-A
) will continue to see the places belonging to CHU-B
. Perhaps something to keep in. mind when writing the documentationhttps://github.com/medic/care-teams/assets/2597305/aeb25ec2-9182-44d6-ac65-2f2f8d9aa4fb
Overall, those are the three issues I found. All other behavior is as expected in the Issue description above.
@Benmuiruri can we get rid of the second error message? I think that error should only be shown if the Place is blank/nothing selected.
All users must be associated with a place in the system to be correctly located in the hierarchy and see appropriate data when they log in.
@Benmuiruri The issue is that none of the selected roles have the required permission. I think we should change the error message...
Instead of: The person with selected role cannot have multiple places
Something like: None of the selected roles allow assignment of multiple places
@n-orlowski Any recommendations for improving this wording? 👆🏼
The selected roles do not have permission to be assigned multiple places
I've completed testing on this from my own end and didn't find anything new @Benmuiruri @michaelkohn qq: are we looking at having the message change as part of this PR?
Yes @ralfudx we are. I have made the change in the PR
This issue tracks the results of manual testing the features of the supervisor related features that allow users to be associated to two places.
The testing involves making sure no bugs were introduced by the changes.
The testing comprises of reviewing:
Testing all Supervisor Stuff
If the user has more than one
facility_id
:light-grey
background for the homeplacescan_aggregate_targets
is enabled user CANNOT see the aggregate targets page.If the user has just one
facility_id
light-grey
background for the homeplacecan_aggregate_targets
is enabled user can see the aggregate targets page.In the Admin app
can_have_multiple_places
permission.can_have_multiple_places
permission.can_have_multiple_places
permission.PS - While testing try to think of edge cases as much as possible