mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 04:36:11 +10:00
Fix profile test to click on header user profile link
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
.nav-sidebar {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
bottom: 0px;
|
||||
bottom: 0;
|
||||
width: $sidebar_width;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user