BigW Consortium Gitlab

Commit 963c212b by Dmitriy Zaporozhets

UserTeam spinach fixed

parent 496b7da7
...@@ -184,7 +184,7 @@ class Userteams < Spinach::FeatureSteps ...@@ -184,7 +184,7 @@ class Userteams < Spinach::FeatureSteps
And 'I select user "John" from list with role "Reporter"' do And 'I select user "John" from list with role "Reporter"' do
user = User.find_by_name("John") user = User.find_by_name("John")
within "#team_members" do within "#team_members" do
select "#{user.name} (#{user.email})", from: "user_ids" select "#{user.name} (#{user.username})", from: "user_ids"
select "Reporter", from: "default_project_access" select "Reporter", from: "default_project_access"
end end
click_button "Add" click_button "Add"
......
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