Testing Scenario: I have three users U1 and U2 are Admin and U3 is a normal user. Login from U1 first time and pgAdmin4 discover all the local servers. Steps that I perform:
Shared one server.
Create a group 'Test' and move one server to that group.
Share the server of the 'Test' group as well.
Issues:
When login using U2 or U3 PostgreSQL 9.2 and 10 shown twice which should not. Refer below screenshot
When expanding the server or clicking on the 'Connect Server' menu of the shared server, it opens the properties dialog.
Try to update the IPAddress, Port it is not updating for the shared server. Check other properties too.
When we set "Hide shared server?" setting to true/false. A complete browser tree should be refreshed. With the current implementation, each group needs to be refreshed individually and the server group still visible while refreshing the complete page Browser Tree looks perfect.
When there is only one server in a group and we expanded the group 'Connect to server' dialog appears which should not. (*This may be an old issue)
Schema Diff shared servers are not visible inside the appropriate group in the source and target server list.
Documentation changes required (Create a new Redmine).
SonarQube shows 1 new Bug and 4 new code smell. (Fixed the Bug, code smell can be fixed later)
'pgAdmin4_test_non_admin_credentials' should be added in 'test_config.json.in' file.
For Desktop mode shared server test cases should be skipped. It is failing at the moment.