mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-16 07:10:48 +00:00
Bug 5239: Extended UserGroupUserPanelPO to be able to expect an
error when trying to remove a User for a UserGroup
This commit is contained in:
1 parent
9ad1364cd6
commit
dd73f633ee
1 file changed
+5
+5
@@ -88,4 +88,9 @@ public class UserGroupUserPanelPO extends PageArea {
|
||||
final UserEntryPO findUser = findUser(name);
|
||||
findUser.deleteUser();
|
||||
}
|
||||
|
||||
public void removeUserFromGroupAndExpectPermissionError(String name) {
|
||||
removeUserFromGroup(name);
|
||||
waitForAlertContainingMessageAndAccept("Current user does not have all the meta permissions of the user group the user would be removed from");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user