summaryrefslogtreecommitdiff
path: root/features/admin/active_tab.feature
blob: f5bb06dea7d76f8c9ca42edd220b6428fbdf1510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
@admin
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 Overview
    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 Overview
    And the active sub tab should be Projects
    And no other main tabs should be active
    And no other sub tabs should be active

  Scenario: On Admin Groups
    Given I visit admin groups page
    Then the active main tab should be Overview
    And the active sub tab should be Groups
    And no other main tabs should be active
    And no other sub tabs should be active

  Scenario: On Admin Users
    Given I visit admin users page
    Then the active main tab should be Overview
    And the active sub tab should be Users
    And no other main tabs should be active
    And no other sub tabs should be active

  Scenario: On Admin Logs
    Given I visit admin logs page
    Then the active main tab should be Monitoring
    And the active sub tab should be Logs
    And no other main tabs should be active
    And no other sub tabs should be active

  Scenario: On Admin Messages
    Given I visit admin messages page
    Then the active main tab should be Messages
    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 Monitoring
    And the active sub tab should be Resque
    And no other main tabs should be active
    And no other sub tabs should be active