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
Fixed. If the server is auto-discovered and U1 shared the auto-discovered server(PostgreSQL 9.2 in the above example) and then log in using U2, in this case, shared server(PostgreSQL 9.2) will not visible to U2 as the same server will be auto-discovered for U2.
When expanding the server or clicking on the 'Connect Server' menu of the shared server, it opens the properties dialog.
This is expected. Properties dialogue will open the first time for a shared server where the user has to enter server details. This will happen for the user who is not the owner of the server.
Try to update the IPAddress, Port it is not updating for the shared server. Check other properties too.
Fixed.
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.
Fixed.
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)
This is expected and its an old behavior.
Schema Diff shared servers are not visible inside the appropriate group in the source and target server list.
Fixed
Documentation changes required (Create a new Redmine).
Done.
SonarQube shows 1 new Bug and 4 new code smell. (Fixed the Bug, code smell can be fixed later)
Fixed.
'pgAdmin4_test_non_admin_credentials' should be added in 'test_config.json.in' file.
Fixed.
For Desktop mode shared server test cases should be skipped. It is failing at the moment.