Skip to content

Commit

Permalink
Updated rescalling test
Browse files Browse the repository at this point in the history
  • Loading branch information
euniceremoquillo committed May 3, 2024
1 parent be1051b commit 31e523a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions features/availability.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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"
Expand All @@ -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"

0 comments on commit 31e523a

Please sign in to comment.