diff options
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/group/members.rb | 2 | ||||
-rw-r--r-- | features/steps/project/team_management.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/group/members.rb b/features/steps/group/members.rb index dfa2fa75def..956a0026e1a 100644 --- a/features/steps/group/members.rb +++ b/features/steps/group/members.rb @@ -116,7 +116,7 @@ class Spinach::Features::GroupMembers < Spinach::FeatureSteps member = mary_jane_member page.within "#group_member_#{member.id}" do - click_button "Edit access level" + click_button 'Edit' select 'Developer', from: 'group_member_access_level' click_on 'Save' end diff --git a/features/steps/project/team_management.rb b/features/steps/project/team_management.rb index f32576d2cb1..334ce7dd3db 100644 --- a/features/steps/project/team_management.rb +++ b/features/steps/project/team_management.rb @@ -65,7 +65,7 @@ class Spinach::Features::ProjectTeamManagement < Spinach::FeatureSteps user = User.find_by(name: 'Dmitriy') project_member = project.project_members.find_by(user_id: user.id) page.within "#project_member_#{project_member.id}" do - click_button "Edit access level" + click_button 'Edit' select "Reporter", from: "project_member_access_level" click_button "Save" end |