summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorAdam Niedzielski <adamsunday@gmail.com>2016-08-05 08:36:09 +0200
committerAdam Niedzielski <adamsunday@gmail.com>2016-08-05 08:36:09 +0200
commitf564535579af71af599696a039801195a5c30f78 (patch)
treedda64ba8bb2ab6f04d02d2a45c5f72c97b8413c8 /features
parent245f237dc8675e43f229ddf74c70d1f72156bc3e (diff)
downloadgitlab-ce-f564535579af71af599696a039801195a5c30f78.tar.gz
Allow to edit access expiration date.
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 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