Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-08 19:20:00 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-08 19:20:00 +0300
commit5b4ab5a0cac99e7dabad400d9c9ff3ac383e25c4 (patch)
treecf67d1e71b676523aef8192da4e6cff20eb7c0f6 /features/steps/profile
parent8ee57adc8af63721e96d48477bcb56150d3ff137 (diff)
Properly click on user profile picture
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps/profile')
-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