Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

feat(test) add cancel downtime test #5897

Merged
merged 18 commits into from
Dec 1, 2017
1 change: 0 additions & 1 deletion features/Acknowledgement.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Feature: Meta-services acknowledgement
Background:
Given I am logged in a Centreon server

@critical
Scenario: Acknowlegde normal services
Given a non-OK service
When I acknowledge the service
Expand Down
1 change: 0 additions & 1 deletion features/Clapi.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Feature: Clapi
Background:
Given a freshly installed Centreon server

@critical
Scenario: import/export
Given a Clapi configuration file
And it was imported
Expand Down
1 change: 0 additions & 1 deletion features/CommandConfiguration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Feature: Edit a command
Given I am logged in a Centreon server
And a command is configured

@critical
Scenario: Change the properties of a command
When I change the properties of a command
Then the properties are updated
Expand Down
1 change: 0 additions & 1 deletion features/ContactConfiguration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Feature: ContactConfiguration
Given I am logged in a Centreon server
And a contact is configured

@critical
Scenario: Change the properties of a contact
When I update contact properties
Then the contact properties are updated
Expand Down
19 changes: 0 additions & 19 deletions features/DowntimeDST.feature
Original file line number Diff line number Diff line change
Expand Up @@ -10,55 +10,46 @@ Feature: Downtime DST

# summer changing time

@critical
Scenario: realtime downtime starting on summer changing time
Given a downtime starting on summer changing time
When realtime downtime is applied
Then the downtime is properly scheduled

@critical
Scenario: recurrent downtime starting on summer changing time
Given a downtime starting on summer changing time
When recurrent downtime is applied
Then the downtime is properly scheduled

@critical
Scenario: recurrent downtime ending on summer changing time
Given a downtime ending on summer changing time
When recurrent downtime is applied
Then the downtime is properly scheduled

@critical
Scenario: realtime downtime ending on summer changing time
Given a downtime ending on summer changing time
When realtime downtime is applied
Then the downtime is properly scheduled

@critical
Scenario: recurrent downtime starting and ending on summer changing time
Given a downtime starting and ending on summer changing time
When recurrent downtime is applied
Then the downtime is not scheduled

@critical
Scenario: realtime downtime starting and ending on summer changing time
Given a downtime starting and ending on summer changing time
When realtime downtime is applied
Then the downtime is not scheduled

@critical
Scenario: recurrent downtime during all day on summer changing date
Given a downtime during all day on summer changing date
When recurrent downtime is applied
Then the downtime is properly scheduled

@critical
Scenario: realtime downtime during all day on summer changing date
Given a downtime during all day on summer changing date
When realtime downtime is applied
Then the downtime is properly scheduled

@critical
Scenario: recurrent downtime of next day of summer changing date
Given a downtime during all day on summer changing date is scheduled
And a downtime of next day of summer changing date
Expand All @@ -69,62 +60,52 @@ Feature: Downtime DST

# winter changing time

@critical
Scenario: recurrent downtime starting on winter changing time
Given a downtime starting on winter changing time
When recurrent downtime is applied
Then the downtime is properly scheduled

@critical
Scenario: realtime downtime starting on winter changing time
Given a downtime starting on winter changing time
When realtime downtime is applied
Then the downtime is properly scheduled

@critical
Scenario: recurrent downtime ending on winter changing time
Given a downtime ending on winter changing time
When recurrent downtime is applied
Then the downtime is properly scheduled

@critical
Scenario: realtime downtime ending on winter changing time
Given a downtime ending on winter changing time
When realtime downtime is applied
Then the downtime is properly scheduled

@critical
Scenario: recurrent downtime starting and ending on winter changing time
Given a downtime starting and ending on winter changing time
When recurrent downtime is applied
Then the downtime is properly scheduled

@critical
Scenario: realtime downtime starting and ending on winter changing time
Given a downtime starting and ending on winter changing time
When realtime downtime is applied
Then the downtime is properly scheduled

@critical
Scenario: recurrent downtime during all day on winter changing date
Given a downtime during all day on winter changing date
When recurrent downtime is applied
Then the downtime is properly scheduled

@critical
Scenario: realtime downtime during all day on winter changing date
Given a downtime during all day on winter changing date
When realtime downtime is applied
Then the downtime is properly scheduled

@critical
Scenario: recurrent downtime of next day of winter changing date
Given a downtime during all day on winter changing date is scheduled
And a downtime of next day of winter changing date
When recurrent downtime is applied
Then the downtime is properly scheduled

@critical
Scenario: realtime downtime of next day of winter changing date
Given a downtime during all day on winter changing date is scheduled
And a downtime of next day of winter changing date
Expand Down
4 changes: 0 additions & 4 deletions features/DowntimeStartAndStop.feature
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,23 @@ Feature: Downtime start and stop
When I save a downtime
Then the downtime start and end uses host timezone

@critical
Scenario: Start of fixed downtime
Given a fixed downtime on a monitored element
When the downtime period is started
Then the downtime is started

@critical
Scenario: End of fixed downtime
Given a fixed downtime on a monitored element
And the downtime is started
When the end date of the downtime happens
Then the downtime is stopped

@critical
Scenario: Start of flexible downtime
Given a flexible downtime on a monitored element
And the downtime period is started
When the monitored element is not OK
Then the downtime is started

@critical
Scenario: End of flexible downtime
Given a flexible downtime on a monitored element
And the flexible downtime is started
Expand Down
1 change: 0 additions & 1 deletion features/GeneratePoller.feature
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Feature: Generate poller configuration
Then I am redirected to generate page
And the pollers are already selected

@critical
Scenario: Generate poller configuration
Given a Centreon platform with multiple pollers
And multiple pollers are selected
Expand Down
1 change: 0 additions & 1 deletion features/HostConfiguration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Feature: HostConfiguration
Given I am logged in a Centreon server
And an host is configured

@critical
Scenario: Edit the name of an host
When I change the properties of a host
Then its properties are updated
Expand Down
1 change: 0 additions & 1 deletion features/HostGroupConfiguration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Feature: HostGroupConfiguration
Given I am logged in a Centreon server
And an host group is configured

@critical
Scenario: Edit the properties of an host group
When I change the properties of a host group
Then its properties are updated
Expand Down
1 change: 0 additions & 1 deletion features/HostTemplateBasicsOperations.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Feature: HostTemplateBasicsOperations
Given I am logged in a Centreon server
And a host template is configured

@critical
Scenario: I test the modification of a host template properties
When I change the properties of a host template
Then the properties are updated
Expand Down
1 change: 0 additions & 1 deletion features/MassiveChangeHosts.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Feature: Massive Change on Hosts
Given I am logged in a Centreon server
And several hosts have been created with mandatory properties

@critical
Scenario: Configure by massive change several hosts with same properties
When I have applied Massive Change operation to several hosts
Then all selected hosts are updated with the same values
1 change: 0 additions & 1 deletion features/RestApi.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Feature: REST API
I want REST API in Centreon Web
So that I can develop software interfacing with Centreon Web

@critical
Scenario: Configuration REST API tests
Given a Centreon server with REST API testing data
When REST API are called
Expand Down
1 change: 0 additions & 1 deletion features/RestartCentreonEngine.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Feature: Centreon Engine Restart
Background:
Given I am logged in a Centreon server

@critical
Scenario: Check Centreon Engine Restart
Given I am on the poller configuration export page
And I check Restart Monitoring Engine
Expand Down
1 change: 0 additions & 1 deletion features/ServiceConfiguration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Feature: Edit a service
Given I am logged in a Centreon server
And a service is configured

@critical
Scenario: Change the properties of a service
When I change the properties of a service
Then the properties are updated
Expand Down
1 change: 0 additions & 1 deletion features/ServiceGroupConfiguration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Feature: ServiceGroupConfiguration
Given I am logged in a Centreon server
And a service group is configured

@critical
Scenario: Change the properties of a service group
When I change the properties of a service group
Then the properties are updated
Expand Down
1 change: 0 additions & 1 deletion features/ServiceTemplateConfiguration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Feature: Edit a service
Given I am logged in a Centreon server
And a service template is configured

@critical
Scenario: Change the properties of a service template
When I change the properties of a service template
Then the properties are updated
Expand Down
2 changes: 0 additions & 2 deletions features/TestProxyConfiguration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ Feature: Testing A Configuration Proxy
I want to test my proxy configuration
So that to verify it

@critical
Scenario: Proxy settings with a correct connection
Given I am logged in a Centreon server with a configured proxy
When I test the proxy configuration in the interface
Then a popin displays a successful connexion

@critical
Scenario: Proxy settings with a wrong connection
Given I am logged in a Centreon server with a wrongly configured proxy
When I test the proxy configuration in the interface
Expand Down
4 changes: 0 additions & 4 deletions features/TrapsSNMPConfiguration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,18 @@ Feature: TrapsSNMPConfiguration
Background:
Given I am logged in a Centreon server

@critical
Scenario: Creating SNMP trap with advanced matching rule
When I add a new SNMP trap definition with an advanced matching rule
Then the trap definition is saved with its properties, especially the content of Regexp field

@critical
Scenario: Modify SNMP trap definition
When I modify some properties of an existing SNMP trap definition
Then all changes are saved

@critical
Scenario: Duplicate SNMP trap definition
When I have duplicated one existing SNMP trap definition
Then all SNMP trap properties are updated

@critical
Scenario: Delete SNMP trap definition
When I have deleted one existing SNMP trap definition
Then this definition disappears from the SNMP trap list
3 changes: 0 additions & 3 deletions features/TrapsSNMPGroupConfiguration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,14 @@ Feature: Edit a trap group
Given I am logged in a Centreon server
And a trap group is configured

@critical
Scenario: Change the properties of a trap group
When I change the properties of a trap group
Then the properties are updated

@critical
Scenario: Duplicate one existing trap group
When I duplicate a trap group
Then the new object has the same properties

@critical
Scenario: Delete one existing trap group
When I delete a trap group
Then the deleted object is not displayed in the list
Loading