diff options
Diffstat (limited to 'features/steps/project/active_tab.rb')
-rw-r--r-- | features/steps/project/active_tab.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/project/active_tab.rb b/features/steps/project/active_tab.rb index 4e0d85f6730..1a18f1d7065 100644 --- a/features/steps/project/active_tab.rb +++ b/features/steps/project/active_tab.rb @@ -34,13 +34,13 @@ class Spinach::Features::ProjectActiveTab < Spinach::FeatureSteps end step 'I click the "Repository" tab' do - page.within '.nav-sidebar' do + page.within '.sidebar-top-level-items > .active' do click_link('Repository') end end step 'I click the "Activity" tab' do - page.within '.nav-sidebar' do + page.within '.sidebar-top-level-items > .active' do click_link('Activity') end end @@ -82,7 +82,7 @@ class Spinach::Features::ProjectActiveTab < Spinach::FeatureSteps end step 'I click the "Charts" tab' do - page.within '.nav-sidebar' do + page.within('.sidebar-top-level-items > .active') do click_link('Charts') end end |