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:
Steffen Schaefer committed 2020-08-20 12:36:44 +02:00
1 parent 9ad1364cd6
commit dd73f633ee
1 file changed
+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");
}
}