summaryrefslogtreecommitdiff
path: root/features/steps/profile/profile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/profile/profile.rb')
-rw-r--r--features/steps/profile/profile.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/features/steps/profile/profile.rb b/features/steps/profile/profile.rb
index 9e5602dacf1..4ee6784a086 100644
--- a/features/steps/profile/profile.rb
+++ b/features/steps/profile/profile.rb
@@ -155,8 +155,11 @@ class Spinach::Features::Profile < Spinach::FeatureSteps
end
step 'I click on my profile picture' do
- find(:css, '.side-nav-toggle').click
- find(:css, '.sidebar-user').click
+ find(:css, '.header-user-dropdown-toggle').click
+
+ page.within ".header-user" do
+ click_link "Profile"
+ end
end
step 'I should see my user page' do