summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-08 18:20:00 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-08 18:20:00 +0200
commit5b4ab5a0cac99e7dabad400d9c9ff3ac383e25c4 (patch)
treecf67d1e71b676523aef8192da4e6cff20eb7c0f6 /features/steps
parent8ee57adc8af63721e96d48477bcb56150d3ff137 (diff)
downloadgitlab-ce-5b4ab5a0cac99e7dabad400d9c9ff3ac383e25c4.tar.gz
Properly click on user profile pictureimprove-navigation
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/profile/profile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/profile/profile.rb b/features/steps/profile/profile.rb
index 04f50f01fac..d16e6bbea57 100644
--- a/features/steps/profile/profile.rb
+++ b/features/steps/profile/profile.rb
@@ -168,7 +168,7 @@ class Spinach::Features::Profile < Spinach::FeatureSteps
end
step 'I click on my profile picture' do
- click_link 'sidebar-user'
+ find(:css, '.sidebar-user').click
end
step 'I should see my user page' do