diff options
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/admin/groups.rb | 2 | ||||
-rw-r--r-- | features/steps/group/group.rb | 2 | ||||
-rw-r--r-- | features/steps/project/team_management.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/admin/groups.rb b/features/steps/admin/groups.rb index 9c1bcfefb9c..d761584ad93 100644 --- a/features/steps/admin/groups.rb +++ b/features/steps/admin/groups.rb @@ -40,7 +40,7 @@ class AdminGroups < Spinach::FeatureSteps user = User.find_by(name: "John Doe") select2(user.id, from: "#user_ids", multiple: true) within "#new_team_member" do - select "Reporter", from: "group_access" + select "Reporter", from: "access_level" end click_button "Add users into group" end diff --git a/features/steps/group/group.rb b/features/steps/group/group.rb index c3ee42f1127..d0ec503f47b 100644 --- a/features/steps/group/group.rb +++ b/features/steps/group/group.rb @@ -32,7 +32,7 @@ class Groups < Spinach::FeatureSteps click_link 'Add members' within ".users-group-form" do select2(user.id, from: "#user_ids", multiple: true) - select "Reporter", from: "group_access" + select "Reporter", from: "access_level" end click_button "Add users into group" end diff --git a/features/steps/project/team_management.rb b/features/steps/project/team_management.rb index db04e234c84..76a0671721e 100644 --- a/features/steps/project/team_management.rb +++ b/features/steps/project/team_management.rb @@ -23,7 +23,7 @@ class ProjectTeamManagement < Spinach::FeatureSteps user = User.find_by(name: "Mike") select2(user.id, from: "#user_ids", multiple: true) - within "#new_team_member" do + within "#new_project_member" do select "Reporter", from: "access_level" end click_button "Add users" |