BigW Consortium Gitlab

Fix specs

Signed-off-by: 's avatarRémy Coutable <remy@rymai.me>
parent 00ac7ae8
...@@ -27,13 +27,6 @@ Feature: Admin Groups ...@@ -27,13 +27,6 @@ Feature: Admin Groups
Then I should see project shared with group Then I should see project shared with group
@javascript @javascript
Scenario: Remove user from group
Given we have user "John Doe" in group
When I visit admin group page
And I remove user "John Doe" from group
Then I should not see "John Doe" in team list
@javascript
Scenario: Invite user to a group by e-mail Scenario: Invite user to a group by e-mail
When I visit admin group page When I visit admin group page
When I select user "johndoe@gitlab.com" from user list as "Reporter" When I select user "johndoe@gitlab.com" from user list as "Reporter"
......
...@@ -62,7 +62,7 @@ class Spinach::Features::AdminGroups < Spinach::FeatureSteps ...@@ -62,7 +62,7 @@ class Spinach::Features::AdminGroups < Spinach::FeatureSteps
step 'I should see "johndoe@gitlab.com" in team list in every project as "Reporter"' do step 'I should see "johndoe@gitlab.com" in team list in every project as "Reporter"' do
page.within ".group-users-list" do page.within ".group-users-list" do
expect(page).to have_content "johndoe@gitlab.com (invited)" expect(page).to have_content "johndoe@gitlab.com – Invited by"
expect(page).to have_content "Reporter" expect(page).to have_content "Reporter"
end end
end end
...@@ -92,12 +92,6 @@ class Spinach::Features::AdminGroups < Spinach::FeatureSteps ...@@ -92,12 +92,6 @@ class Spinach::Features::AdminGroups < Spinach::FeatureSteps
current_group.add_reporter(user_john) current_group.add_reporter(user_john)
end end
step 'I remove user "John Doe" from group' do
page.within "#user_#{user_john.id}" do
click_link 'Remove user from group'
end
end
step 'I should not see "John Doe" in team list' do step 'I should not see "John Doe" in team list' do
page.within ".group-users-list" do page.within ".group-users-list" do
expect(page).not_to have_content "John Doe" expect(page).not_to have_content "John Doe"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment