Skip to content

Commit 31e523a

Browse files
Updated rescalling test
1 parent be1051b commit 31e523a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

features/availability.feature

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ Feature: Availability reports
3535
| 2013-01-01 12:00:03 | 701 | NULL | NULL | win-server1 | PING | 1 | 0 | 1 | NULL | ERROR - tinky-winky |
3636
| 2013-03-09 00:01:00 | 701 | NULL | NULL | linux-server1 | PING | 1 | 0 | 1 | 0 | OK - linux-server1 |
3737
| 2013-03-09 00:03:00 | 701 | NULL | NULL | linux-server1 | PING | 0 | 1 | 1 | 0 | OK - linux-server1 |
38-
| 2013-03-01 00:01:00 | 701 | NULL | NULL | linux-server2 | System Load | 0 | 1 | 1 | 0 | OK - linux-server2 |
39-
| 2013-03-03 00:01:00 | 701 | NULL | NULL | linux-server2 | System Load | 0 | 1 | 1 | 0 | OK - linux-server2 |
40-
| 2013-03-05 00:03:00 | 701 | NULL | NULL | linux-server2 | System Load | 0 | 1 | 1 | NULL | ERROR - cannot find linux-server2 |
41-
| 2013-03-05 00:08:00 | 701 | NULL | NULL | linux-server2 | System Load | 0 | 1 | 1 | 0 | OK - linux-server2 |
4238
And I have activated the configuration
4339
And I am logged in as administrator
4440

@@ -613,6 +609,12 @@ Feature: Availability reports
613609

614610
Scenario: Create availability report with re-scalling
615611
Given I am on the Host details page
612+
And I have these report data entries:
613+
| timestamp | event_type | flags | attrib | host_name | service_description | state | hard | retry | downtime_depth | output |
614+
| 2013-03-01 00:01:00 | 801 | NULL | NULL | linux-server2 | System Load | 0 | 1 | 1 | 0 | OK - linux-server2 |
615+
| 2013-03-03 00:01:00 | 801 | NULL | NULL | linux-server2 | System Load | 0 | 1 | 1 | 0 | OK - linux-server2 |
616+
| 2013-03-05 00:03:00 | 801 | NULL | NULL | linux-server2 | System Load | 0 | 1 | 1 | NULL | ERROR - cannot find linux-server2 |
617+
| 2013-03-05 00:08:00 | 801 | NULL | NULL | linux-server2 | System Load | 0 | 1 | 1 | 0 | OK - linux-server2 |
616618
And I hover over the "Report" menu
617619
And I hover over the "Availability" menu
618620
When I click "Create Availability Report"
@@ -634,3 +636,4 @@ Feature: Availability reports
634636
And I should see "2013-03-21"
635637
And I should see trend graph have background color "#a19e95"
636638
And I should see trend graph have background color "#aade53"
639+
And I should see trend graph have background color "#333"

0 commit comments

Comments
 (0)