diff options
| -rw-r--r-- | app/views/layouts/nav/_dashboard.html.haml | 2 | ||||
| -rw-r--r-- | features/steps/group/milestones.rb | 4 | ||||
| -rw-r--r-- | features/steps/project/active_tab.rb | 4 | ||||
| -rw-r--r-- | features/steps/shared/project_tab.rb | 2 | 
4 files changed, 8 insertions, 4 deletions
| diff --git a/app/views/layouts/nav/_dashboard.html.haml b/app/views/layouts/nav/_dashboard.html.haml index dfdabd4c55d..dc2917df0b9 100644 --- a/app/views/layouts/nav/_dashboard.html.haml +++ b/app/views/layouts/nav/_dashboard.html.haml @@ -15,7 +15,7 @@        = icon('dashboard fw')        %span          Activity -  = nav_link(path: ['groups#index']) do +  = nav_link(path: ['dashboard/groups#index', 'explore/groups#index']) do      = link_to dashboard_groups_path, title: 'Groups' do        = icon('group fw')        %span diff --git a/features/steps/group/milestones.rb b/features/steps/group/milestones.rb index a167d259837..f047669ba3d 100644 --- a/features/steps/group/milestones.rb +++ b/features/steps/group/milestones.rb @@ -5,7 +5,9 @@ class Spinach::Features::GroupMilestones < Spinach::FeatureSteps    include SharedUser    step 'I click on group milestones' do -    click_link 'Milestones' +    within '.nav-secondary' do +      click_link 'Milestones' +    end    end    step 'I should see group milestones index page has no milestones' do diff --git a/features/steps/project/active_tab.rb b/features/steps/project/active_tab.rb index 19d81453d8c..b08eb45a452 100644 --- a/features/steps/project/active_tab.rb +++ b/features/steps/project/active_tab.rb @@ -82,7 +82,9 @@ class Spinach::Features::ProjectActiveTab < Spinach::FeatureSteps    # Sub Tabs: Issues    step 'I click the "Milestones" tab' do -    click_link('Milestones') +    within '.nav-secondary' do +      click_link('Milestones') +    end    end    step 'I click the "Labels" tab' do diff --git a/features/steps/shared/project_tab.rb b/features/steps/shared/project_tab.rb index 4fc2ece79ff..fa7d24ce611 100644 --- a/features/steps/shared/project_tab.rb +++ b/features/steps/shared/project_tab.rb @@ -41,7 +41,7 @@ module SharedProjectTab    end    step 'the active main tab should be Settings' do -    page.within '.nav-sidebar' do +    page.within '.nav-secondary' do        expect(page).to have_content('Go to project')      end    end | 
