summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2016-08-18 17:01:50 +0100
committerSean McGivern <sean@gitlab.com>2016-08-18 21:09:17 +0100
commit396f85e438ddc9bcd89f5a557980ce82b71e098b (patch)
tree107f557ebf32d9cb76111edb36c656c54d80f5cc /features
parent8b1656282bcc39a0c1c7a3dccf74c98b1c3adae2 (diff)
downloadgitlab-ce-396f85e438ddc9bcd89f5a557980ce82b71e098b.tar.gz
Add expiration date to group memberships
Diffstat (limited to 'features')
-rw-r--r--features/steps/group/members.rb2
-rw-r--r--features/steps/project/team_management.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/group/members.rb b/features/steps/group/members.rb
index 956a0026e1a..e9b45823c67 100644
--- a/features/steps/group/members.rb
+++ b/features/steps/group/members.rb
@@ -117,7 +117,7 @@ class Spinach::Features::GroupMembers < Spinach::FeatureSteps
page.within "#group_member_#{member.id}" do
click_button 'Edit'
- select 'Developer', from: 'group_member_access_level'
+ select 'Developer', from: "member_access_level_#{member.id}"
click_on 'Save'
end
end
diff --git a/features/steps/project/team_management.rb b/features/steps/project/team_management.rb
index 334ce7dd3db..e920f5a706b 100644
--- a/features/steps/project/team_management.rb
+++ b/features/steps/project/team_management.rb
@@ -66,7 +66,7 @@ class Spinach::Features::ProjectTeamManagement < Spinach::FeatureSteps
project_member = project.project_members.find_by(user_id: user.id)
page.within "#project_member_#{project_member.id}" do
click_button 'Edit'
- select "Reporter", from: "project_member_access_level"
+ select "Reporter", from: "member_access_level_#{project_member.id}"
click_button "Save"
end
end