summaryrefslogtreecommitdiff
path: root/features/profile
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-09-25 20:11:57 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-09-26 16:32:24 -0400
commitcada511f8b88671bb8a99600ed314c3beb5a36f4 (patch)
tree978958c53389be9d44adebbf4d84777ee5dbde6b /features/profile
parentf814da38bf3d86b8ff045ff585c75af4d6755184 (diff)
downloadgitlab-ce-cada511f8b88671bb8a99600ed314c3beb5a36f4.tar.gz
Add features for checking the "Active Tab" across various pages
Diffstat (limited to 'features/profile')
-rw-r--r--features/profile/active_tab.feature28
1 files changed, 28 insertions, 0 deletions
diff --git a/features/profile/active_tab.feature b/features/profile/active_tab.feature
new file mode 100644
index 00000000000..475641a33ed
--- /dev/null
+++ b/features/profile/active_tab.feature
@@ -0,0 +1,28 @@
+Feature: Profile active tab
+ Background:
+ Given I sign in as a user
+
+ Scenario: On Profile Home
+ Given I visit profile page
+ Then the active main tab should be Home
+ And no other main tabs should be active
+
+ Scenario: On Profile Account
+ Given I visit profile account page
+ Then the active main tab should be Account
+ And no other main tabs should be active
+
+ Scenario: On Profile SSH Keys
+ Given I visit profile SSH keys page
+ Then the active main tab should be SSH Keys
+ And no other main tabs should be active
+
+ Scenario: On Profile Design
+ Given I visit profile design page
+ Then the active main tab should be Design
+ And no other main tabs should be active
+
+ Scenario: On Profile History
+ Given I visit profile history page
+ Then the active main tab should be History
+ And no other main tabs should be active