Add features for checking the "Active Tab" across various pages
This commit is contained in:
parent
f814da38bf
commit
cada511f8b
11 changed files with 537 additions and 9 deletions
33
features/admin/active_tab.feature
Normal file
33
features/admin/active_tab.feature
Normal file
|
@ -0,0 +1,33 @@
|
|||
Feature: Admin active tab
|
||||
Background:
|
||||
Given I sign in as an admin
|
||||
|
||||
Scenario: On Admin Home
|
||||
Given I visit admin page
|
||||
Then the active main tab should be Home
|
||||
And no other main tabs should be active
|
||||
|
||||
Scenario: On Admin Projects
|
||||
Given I visit admin projects page
|
||||
Then the active main tab should be Projects
|
||||
And no other main tabs should be active
|
||||
|
||||
Scenario: On Admin Users
|
||||
Given I visit admin users page
|
||||
Then the active main tab should be Users
|
||||
And no other main tabs should be active
|
||||
|
||||
Scenario: On Admin Logs
|
||||
Given I visit admin logs page
|
||||
Then the active main tab should be Logs
|
||||
And no other main tabs should be active
|
||||
|
||||
Scenario: On Admin Hooks
|
||||
Given I visit admin hooks page
|
||||
Then the active main tab should be Hooks
|
||||
And no other main tabs should be active
|
||||
|
||||
Scenario: On Admin Resque
|
||||
Given I visit admin Resque page
|
||||
Then the active main tab should be Resque
|
||||
And no other main tabs should be active
|
Loading…
Add table
Add a link
Reference in a new issue