diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-03-08 00:59:06 +0300 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-03-08 08:26:57 +0300 |
commit | 3225fd3688ee7633ade1ff8f4d8525551c8c31cb (patch) | |
tree | 09e50dc4671a049e0c507838a7755273008d4bbd /features/steps/project/active_tab.rb | |
parent | b5cb1115f4e3357118465ea4becf031b4ea598a6 (diff) |
Removed the settings gear button inside the Project to a tab
Diffstat (limited to 'features/steps/project/active_tab.rb')
-rw-r--r-- | features/steps/project/active_tab.rb | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/features/steps/project/active_tab.rb b/features/steps/project/active_tab.rb index f901f4889dd..4befd49ac81 100644 --- a/features/steps/project/active_tab.rb +++ b/features/steps/project/active_tab.rb @@ -22,23 +22,27 @@ class Spinach::Features::ProjectActiveTab < Spinach::FeatureSteps end step 'I click the "Edit Project"' do - page.within '.layout-nav .controls' do + page.within '.sub-nav' do click_link('Edit Project') end end step 'I click the "Integrations" tab' do - click_link('Integrations') + page.within '.sub-nav' do + click_link('Integrations') + end end step 'I click the "Repository" tab' do - page.within '.layout-nav .controls' do + page.within '.sub-nav' do click_link('Repository') end end step 'I click the "Pages" tab' do - click_link('Pages') + page.within '.sub-nav' do + click_link('Pages') + end end step 'I click the "Activity" tab' do @@ -47,20 +51,20 @@ class Spinach::Features::ProjectActiveTab < Spinach::FeatureSteps end end - step 'the active sub nav should be Members' do - ensure_active_sub_nav('Members') + step 'the active sub tab should be Members' do + ensure_active_sub_tab('Members') end - step 'the active sub nav should be Integrations' do - ensure_active_sub_nav('Integrations') + step 'the active sub tab should be Integrations' do + ensure_active_sub_tab('Integrations') end - step 'the active sub nav should be Repository' do - ensure_active_sub_nav('Repository') + step 'the active sub tab should be Repository' do + ensure_active_sub_tab('Repository') end - step 'the active sub nav should be Pages' do - ensure_active_sub_nav('Pages') + step 'the active sub tab should be Pages' do + ensure_active_sub_tab('Pages') end step 'the active sub tab should be Activity' do |