diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2015-12-01 19:45:58 -0200 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2015-12-01 20:53:43 -0200 |
commit | 9ab7bdf7739935bf79c2e033212726a4be421a26 (patch) | |
tree | 968d6b8307ae59ca46e8865a49c52f4d08f02d04 /features/admin | |
parent | 1ad8b73121c93570bde08ce6fa58b5e50f771603 (diff) | |
download | gitlab-ce-9ab7bdf7739935bf79c2e033212726a4be421a26.tar.gz |
Signed in admin should be able to add/remove himself to a group
Diffstat (limited to 'features/admin')
-rw-r--r-- | features/admin/groups.feature | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/features/admin/groups.feature b/features/admin/groups.feature index 973918086a3..2edb3964f70 100644 --- a/features/admin/groups.feature +++ b/features/admin/groups.feature @@ -33,3 +33,19 @@ Feature: Admin Groups When I visit admin group page When I select user "johndoe@gitlab.com" from user list as "Reporter" Then I should see "johndoe@gitlab.com" in team list in every project as "Reporter" + + @javascript + Scenario: Signed in admin should be able to add himself to a group + Given "John Doe" is owner of group "Owned" + When I visit group "Owned" members page + When I select current user as "Developer" + Then I should see current user as "Developer" + + @javascript + Scenario: Signed in admin should be able to remove himself from group + Given current user is developer of group "Owned" + When I visit group "Owned" members page + Then I should see current user as "Developer" + When I click on the "Remove User From Group" button for current user + When I visit group "Owned" members page + Then I should not see current user as "Developer" |