diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-14 23:51:44 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-14 23:51:44 +0400 |
commit | 753ecbdcecfacfaea9157267db4151d1b68e555a (patch) | |
tree | e0a97f4403a6944bfcbf7245f32bff1d345d2bf9 /features/project/active_tab.feature | |
parent | 38ecec447299ed77a358782a1c0d9c058b91631e (diff) |
Change spinach tab tests to fit new tabs navigation
Diffstat (limited to 'features/project/active_tab.feature')
-rw-r--r-- | features/project/active_tab.feature | 59 |
1 files changed, 30 insertions, 29 deletions
diff --git a/features/project/active_tab.feature b/features/project/active_tab.feature index 2d3e41d3d33..f33e4b9e369 100644 --- a/features/project/active_tab.feature +++ b/features/project/active_tab.feature @@ -49,51 +49,52 @@ Feature: Project active tab Scenario: On Project Home/Show Given I visit my project's home page - Then the active sub tab should be Show - And no other sub tabs should be active - And the active main tab should be Home + Then the active main tab should be Home + And no other main tabs should be active - Scenario: On Project Home/Team - Given I visit my project's home page - And I click the "Team" tab - Then the active sub tab should be Team - And no other sub tabs should be active - And the active main tab should be Home + #Scenario: On Project Settings/Attachments + #Given I visit my project's home page + #And I click the "Attachments" tab + #Then the active sub tab should be Attachments + #And no other sub tabs should be active + #And the active main tab should be Home - Scenario: On Project Home/Attachments - Given I visit my project's home page - And I click the "Attachments" tab - Then the active sub tab should be Attachments - And no other sub tabs should be active - And the active main tab should be Home + #Scenario: On Project Settings/Snippets + #Given I visit my project's home page + #And I click the "Snippets" tab + #Then the active sub tab should be Snippets + #And no other sub tabs should be active + #And the active main tab should be Home - Scenario: On Project Home/Snippets - Given I visit my project's home page - And I click the "Snippets" tab - Then the active sub tab should be Snippets + # Sub Tabs: Settings + + Scenario: On Project Settings/Team + Given I visit my project's settings page + And I click the "Team" tab + Then the active sub tab should be Team And no other sub tabs should be active - And the active main tab should be Home + And the active main tab should be Settings - Scenario: On Project Home/Edit - Given I visit my project's home page + Scenario: On Project Settings/Edit + Given I visit my project's settings page And I click the "Edit" tab Then the active sub tab should be Edit And no other sub tabs should be active - And the active main tab should be Home + And the active main tab should be Settings - Scenario: On Project Home/Hooks - Given I visit my project's home page + Scenario: On Project Settings/Hooks + Given I visit my project's settings page And I click the "Hooks" tab Then the active sub tab should be Hooks And no other sub tabs should be active - And the active main tab should be Home + And the active main tab should be Settings - Scenario: On Project Home/Deploy Keys - Given I visit my project's home page + Scenario: On Project Settings/Deploy Keys + Given I visit my project's settings page And I click the "Deploy Keys" tab Then the active sub tab should be Deploy Keys And no other sub tabs should be active - And the active main tab should be Home + And the active main tab should be Settings # Sub Tabs: Commits |