summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-06-26 16:26:55 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-06-26 16:26:55 +0200
commit5300a8944e850a2aa75ba051ef12adcd176c3dcc (patch)
tree75f9d6bab071ea20049ef978c7034e69f5bc4429 /features
parent9f87b34f667582c0df82b0a79b07ad2a0c1931bb (diff)
downloadgitlab-ce-5300a8944e850a2aa75ba051ef12adcd176c3dcc.tar.gz
Remove group members spinach tests that we already covered with rspec
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features')
-rw-r--r--features/group/members.feature40
1 files changed, 0 insertions, 40 deletions
diff --git a/features/group/members.feature b/features/group/members.feature
index e539f6a1273..5ff75ab3a5b 100644
--- a/features/group/members.feature
+++ b/features/group/members.feature
@@ -4,46 +4,6 @@ Feature: Group Members
And "John Doe" is owner of group "Owned"
And "John Doe" is guest of group "Guest"
- # Leave
-
- @javascript
- Scenario: Owner should be able to remove himself from group if he is not the last owner
- Given "Mary Jane" is owner of group "Owned"
- When I visit group "Owned" members page
- Then I should see user "John Doe" in team list
- Then I should see user "Mary Jane" in team list
- When I click on the "Remove User From Group" button for "John Doe"
- And I visit group "Owned" members page
- Then I should not see user "John Doe" in team list
- Then I should see user "Mary Jane" in team list
-
- @javascript
- Scenario: Owner should not be able to remove himself from group if he is the last owner
- Given "Mary Jane" is guest of group "Owned"
- When I visit group "Owned" members page
- Then I should see user "John Doe" in team list
- Then I should see user "Mary Jane" in team list
- Then I should not see the "Remove User From Group" button for "John Doe"
-
- @javascript
- Scenario: Guest should be able to remove himself from group
- Given "Mary Jane" is guest of group "Guest"
- When I visit group "Guest" members page
- Then I should see user "John Doe" in team list
- Then I should see user "Mary Jane" in team list
- When I click on the "Remove User From Group" button for "John Doe"
- When I visit group "Guest" members page
- Then I should not see user "John Doe" in team list
- Then I should see user "Mary Jane" in team list
-
- @javascript
- Scenario: Guest should be able to remove himself from group even if he is the only user in the group
- When I visit group "Guest" members page
- Then I should see user "John Doe" in team list
- When I click on the "Remove User From Group" button for "John Doe"
- When I visit group "Guest" members page
- Then I should not see user "John Doe" in team list
-
# Remove others
Scenario: Owner should be able to remove other users from group