Sha256: 011e1de7e812aba4bd3473689e084a35d7885d4a9a8d3e87429fbc08a7988c8c

Contents?: true

Size: 1.37 KB

Versions: 1

Compression:

Stored size: 1.37 KB

Contents

Feature: Diagnostics page

  The diagnostics page lists the diagnostic checks and also
  the data for each check.

  Scenario: View the diagnostics page
    When I go to the diagnostics page
    Then I should be on the diagnostics page

  Scenario: A passing diagnostic check with data attributes
    Given a diagnostic check named "mysql" with the following statuses:
      | passed | warning | failed |
      | true   | false   | false  |
    And diagnostic check "mysql" has the following data attributes:
      | a | b | c |
      | 1 | 2 | 3 |
    When I go to the diagnostics page
    Then I should see a passed diagnostic check named "mysql"
    And should see "a: 1" within diagnostic data
    And should see "b: 2" within diagnostic data
    And should see "c: 3" within diagnostic data
    And should see "All Systems Operational" as the title

  Scenario: A failed diagnostic check with a data list
    Given a diagnostic check named "mysql" with the following statuses:
      | passed | warning | failed |
      | false  | false   | true   |
    And diagnostic check "mysql" has a data list: "a,b,c"
    When I go to the diagnostics page
    Then I should see a failed diagnostic check named "mysql"
    And should see "a" within diagnostic data
    And should see "b" within diagnostic data
    And should see "c" within diagnostic data
    And should see "System Failure" as the title

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
diagnostics-0.0.2 spec_rails/rails2/features/diagnostics_page.feature