diff options
author | Dimitrie Hoekstra <dimitrie@gitlab.com> | 2017-04-19 16:43:57 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-04-19 16:43:57 +0000 |
commit | 3b2adb5bd7b2f4c77147a1f6adc7f7f46124a40a (patch) | |
tree | f3ee15d920ed88abfec6a30bbb7d540c03d06681 /features | |
parent | 364050c1f1387170fc70128dd2eec570cba89999 (diff) | |
download | gitlab-ce-3b2adb5bd7b2f4c77147a1f6adc7f7f46124a40a.tar.gz |
Added profile name to user dropdown
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/group/members.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/group/members.rb b/features/steps/group/members.rb index adaf375453c..dcbf36df656 100644 --- a/features/steps/group/members.rb +++ b/features/steps/group/members.rb @@ -87,7 +87,7 @@ class Spinach::Features::GroupMembers < Spinach::FeatureSteps end step 'I click on the "Remove User From Group" button for "John Doe"' do - find(:css, 'li', text: "John Doe").find(:css, 'a.btn-remove').click + find(:css, '.project-members-page li', text: "John Doe").find(:css, 'a.btn-remove').click # poltergeist always confirms popups. end @@ -97,7 +97,7 @@ class Spinach::Features::GroupMembers < Spinach::FeatureSteps end step 'I should not see the "Remove User From Group" button for "John Doe"' do - expect(find(:css, 'li', text: "John Doe")).not_to have_selector(:css, 'a.btn-remove') + expect(find(:css, '.project-members-page li', text: "John Doe")).not_to have_selector(:css, 'a.btn-remove') # poltergeist always confirms popups. end |