debian-mirror-gitlab/features/project/active_tab.feature

123 lines
3.9 KiB
Gherkin
Raw Normal View History

2015-04-26 12:48:37 +05:30
Feature: Project Active Tab
2014-09-02 18:07:02 +05:30
Background:
Given I sign in as a user
And I own a project
# Main Tabs
Scenario: On Project Home
Given I visit my project's home page
Then the active main tab should be Home
And no other main tabs should be active
Scenario: On Project Code
2014-09-02 18:07:02 +05:30
Given I visit my project's files page
Then the active main tab should be Code
2014-09-02 18:07:02 +05:30
And no other main tabs should be active
Scenario: On Project Issues
Given I visit my project's issues page
Then the active main tab should be Issues
And no other main tabs should be active
Scenario: On Project Merge Requests
Given I visit my project's merge requests page
Then the active main tab should be Merge Requests
And no other main tabs should be active
Scenario: On Project Wiki
Given I visit my project's wiki page
Then the active main tab should be Wiki
And no other main tabs should be active
# Sub Tabs: Home
Scenario: On Project Home/Show
Given I visit my project's home page
Then the active main tab should be Home
And no other main tabs should be active
# Sub Tabs: Settings
Scenario: On Project Settings/Hooks
Given I visit my project's settings page
And I click the "Hooks" tab
Then the active sub nav should be Hooks
And no other sub navs should be active
And the active main tab should be Settings
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 nav should be Deploy Keys
And no other sub navs should be active
And the active main tab should be Settings
Scenario: On Project Members
Given I visit my project's members page
Then the active sub nav should be Members
And no other sub navs should be active
And the active main tab should be Settings
2014-09-02 18:07:02 +05:30
# Sub Tabs: Code
Scenario: On Project Code/Files
Given I visit my project's files page
Then the active sub tab should be Files
And no other sub tabs should be active
And the active main tab should be Code
Scenario: On Project Code/Commits
2014-09-02 18:07:02 +05:30
Given I visit my project's commits page
Then the active sub tab should be Commits
And no other sub tabs should be active
And the active main tab should be Code
2014-09-02 18:07:02 +05:30
Scenario: On Project Code/Network
2015-12-23 02:04:40 +05:30
Given I visit my project's network page
Then the active sub tab should be Network
And no other sub tabs should be active
And the active main tab should be Code
2015-12-23 02:04:40 +05:30
Scenario: On Project Code/Compare
2014-09-02 18:07:02 +05:30
Given I visit my project's commits page
And I click the "Compare" tab
Then the active sub tab should be Compare
And no other sub tabs should be active
And the active main tab should be Code
2014-09-02 18:07:02 +05:30
Scenario: On Project Code/Branches
2014-09-02 18:07:02 +05:30
Given I visit my project's commits page
And I click the "Branches" tab
Then the active sub tab should be Branches
And no other sub tabs should be active
And the active main tab should be Code
2014-09-02 18:07:02 +05:30
Scenario: On Project Code/Tags
2014-09-02 18:07:02 +05:30
Given I visit my project's commits page
And I click the "Tags" tab
Then the active sub tab should be Tags
And no other sub tabs should be active
And the active main tab should be Code
2014-09-02 18:07:02 +05:30
Scenario: On Project Issues/Browse
Given I visit my project's issues page
2015-04-26 12:48:37 +05:30
Then the active main tab should be Issues
And no other main tabs should be active
2014-09-02 18:07:02 +05:30
Scenario: On Project Issues/Milestones
Given I visit my project's issues page
And I click the "Milestones" sub tab
Then the active main tab should be Issues
Then the active sub tab should be Milestones
2015-04-26 12:48:37 +05:30
And no other main tabs should be active
And no other sub tabs should be active
2014-09-02 18:07:02 +05:30
Scenario: On Project Issues/Labels
Given I visit my project's issues page
And I click the "Labels" sub tab
Then the active main tab should be Issues
Then the active sub tab should be Labels
2015-04-26 12:48:37 +05:30
And no other main tabs should be active
And no other sub tabs should be active