Skip to content
Snippets Groups Projects
Commit 52f312a8 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

fix group:people tests after prev commit

parent c38a6fe1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -19,6 +19,7 @@ Feature: Groups
When I visit group merge requests page
Then I should see merge requests from this group assigned to me
 
@javascript
Scenario: I should add user to projects in Group
Given I have new user "John"
When I visit group people page
Loading
Loading
class Groups < Spinach::FeatureSteps
include SharedAuthentication
include SharedPaths
include Select2Helper
 
Then 'I should see projects list' do
current_user.authorized_projects.each do |project|
Loading
Loading
@@ -39,7 +40,7 @@ class Groups < Spinach::FeatureSteps
And 'I select user "John" from list with role "Reporter"' do
user = User.find_by_name("John")
within "#new_team_member" do
select user.name, from: "user_ids"
select2(user.id, from: "#user_ids", multiple: true)
select "Reporter", from: "project_access"
end
click_button "Add"
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment