diff --git a/features/availability.feature b/features/availability.feature index d700d6dcb..573bd8b67 100644 --- a/features/availability.feature +++ b/features/availability.feature @@ -35,10 +35,6 @@ Feature: Availability reports | 2013-01-01 12:00:03 | 701 | NULL | NULL | win-server1 | PING | 1 | 0 | 1 | NULL | ERROR - tinky-winky | | 2013-03-09 00:01:00 | 701 | NULL | NULL | linux-server1 | PING | 1 | 0 | 1 | 0 | OK - linux-server1 | | 2013-03-09 00:03:00 | 701 | NULL | NULL | linux-server1 | PING | 0 | 1 | 1 | 0 | OK - linux-server1 | - | 2013-03-01 00:01:00 | 701 | NULL | NULL | linux-server2 | System Load | 0 | 1 | 1 | 0 | OK - linux-server2 | - | 2013-03-03 00:01:00 | 701 | NULL | NULL | linux-server2 | System Load | 0 | 1 | 1 | 0 | OK - linux-server2 | - | 2013-03-05 00:03:00 | 701 | NULL | NULL | linux-server2 | System Load | 0 | 1 | 1 | NULL | ERROR - cannot find linux-server2 | - | 2013-03-05 00:08:00 | 701 | NULL | NULL | linux-server2 | System Load | 0 | 1 | 1 | 0 | OK - linux-server2 | And I have activated the configuration And I am logged in as administrator @@ -613,6 +609,12 @@ Feature: Availability reports Scenario: Create availability report with re-scalling Given I am on the Host details page + And I have these report data entries: + | timestamp | event_type | flags | attrib | host_name | service_description | state | hard | retry | downtime_depth | output | + | 2013-03-01 00:01:00 | 801 | NULL | NULL | linux-server2 | System Load | 0 | 1 | 1 | 0 | OK - linux-server2 | + | 2013-03-03 00:01:00 | 801 | NULL | NULL | linux-server2 | System Load | 0 | 1 | 1 | 0 | OK - linux-server2 | + | 2013-03-05 00:03:00 | 801 | NULL | NULL | linux-server2 | System Load | 0 | 1 | 1 | NULL | ERROR - cannot find linux-server2 | + | 2013-03-05 00:08:00 | 801 | NULL | NULL | linux-server2 | System Load | 0 | 1 | 1 | 0 | OK - linux-server2 | And I hover over the "Report" menu And I hover over the "Availability" menu When I click "Create Availability Report" @@ -634,3 +636,4 @@ Feature: Availability reports And I should see "2013-03-21" And I should see trend graph have background color "#a19e95" And I should see trend graph have background color "#aade53" + And I should see trend graph have background color "#333"