1 Feature: Project active tab
3 Given I sign in as a user
8 Scenario: On Project Home
9 Given I visit my project's home page
10 Then the active main tab should be Home
11 And no other main tabs should be active
13 Scenario: On Project Files
14 Given I visit my project's files page
15 Then the active main tab should be Files
16 And no other main tabs should be active
18 Scenario: On Project Commits
19 Given I visit my project's commits page
20 Then the active main tab should be Commits
21 And no other main tabs should be active
23 Scenario: On Project Network
24 Given I visit my project's network page
25 Then the active main tab should be Network
26 And no other main tabs should be active
28 Scenario: On Project Issues
29 Given I visit my project's issues page
30 Then the active main tab should be Issues
31 And no other main tabs should be active
33 Scenario: On Project Merge Requests
34 Given I visit my project's merge requests page
35 Then the active main tab should be Merge Requests
36 And no other main tabs should be active
38 Scenario: On Project Wall
39 Given I visit my project's wall page
40 Then the active main tab should be Wiki
41 And no other main tabs should be active
43 Scenario: On Project Wiki
44 Given I visit my project's wiki page
45 Then the active main tab should be Wiki
46 And no other main tabs should be active
50 Scenario: On Project Home/Show
51 Given I visit my project's home page
52 Then the active main tab should be Home
53 And no other main tabs should be active
55 #Scenario: On Project Settings/Attachments
56 #Given I visit my project's home page
57 #And I click the "Attachments" tab
58 #Then the active sub tab should be Attachments
59 #And no other sub tabs should be active
60 #And the active main tab should be Home
62 #Scenario: On Project Settings/Snippets
63 #Given I visit my project's home page
64 #And I click the "Snippets" tab
65 #Then the active sub tab should be Snippets
66 #And no other sub tabs should be active
67 #And the active main tab should be Home
71 Scenario: On Project Settings/Team
72 Given I visit my project's settings page
73 And I click the "Team" tab
74 Then the active sub tab should be Team
75 And no other sub tabs should be active
76 And the active main tab should be Settings
78 Scenario: On Project Settings/Edit
79 Given I visit my project's settings page
80 And I click the "Edit" tab
81 Then the active sub tab should be Edit
82 And no other sub tabs should be active
83 And the active main tab should be Settings
85 Scenario: On Project Settings/Hooks
86 Given I visit my project's settings page
87 And I click the "Hooks" tab
88 Then the active sub tab should be Hooks
89 And no other sub tabs should be active
90 And the active main tab should be Settings
92 Scenario: On Project Settings/Deploy Keys
93 Given I visit my project's settings page
94 And I click the "Deploy Keys" tab
95 Then the active sub tab should be Deploy Keys
96 And no other sub tabs should be active
97 And the active main tab should be Settings
101 Scenario: On Project Commits/Commits
102 Given I visit my project's commits page
103 Then the active sub tab should be Commits
104 And no other sub tabs should be active
105 And the active main tab should be Commits
107 Scenario: On Project Commits/Compare
108 Given I visit my project's commits page
109 And I click the "Compare" tab
110 Then the active sub tab should be Compare
111 And no other sub tabs should be active
112 And the active main tab should be Commits
114 Scenario: On Project Commits/Branches
115 Given I visit my project's commits page
116 And I click the "Branches" tab
117 Then the active sub tab should be Branches
118 And no other sub tabs should be active
119 And the active main tab should be Commits
121 Scenario: On Project Commits/Tags
122 Given I visit my project's commits page
123 And I click the "Tags" tab
124 Then the active sub tab should be Tags
125 And no other sub tabs should be active
126 And the active main tab should be Commits
130 Scenario: On Project Issues/Browse
131 Given I visit my project's issues page
132 Then the active sub tab should be Browse Issues
133 And no other sub tabs should be active
134 And the active main tab should be Issues
136 Scenario: On Project Issues/Milestones
137 Given I visit my project's issues page
138 And I click the "Milestones" tab
139 Then the active sub tab should be Milestones
140 And no other sub tabs should be active
141 And the active main tab should be Issues
143 Scenario: On Project Issues/Labels
144 Given I visit my project's issues page
145 And I click the "Labels" tab
146 Then the active sub tab should be Labels
147 And no other sub tabs should be active
148 And the active main tab should be Issues