@skip_if_github_validation
@scope_maintenance_windows
@sle_minion
@rhlike_minion
@susemanager
Feature: 0035 - Maintenance windows
File name: srv_maintenance_windows.feature
Relative path: secondary/srv_maintenance_windows.feature
@skip_if_github_validation
@scope_maintenance_windows
@sle_minion
@rhlike_minion
Scenario: Create a single calendar
When
I follow the left menu "Schedule > Maintenance Windows > Calendars"
00:00:01.362
And
I wait for "1" second
00:00:01.000
Then
I should see a "No calendars created" text
00:00:00.058
When
I click on "Create" in element "maintenance-windows"
00:00:00.079
Then
I should see a "Calendar Name" text
00:00:00.053
When
I enter "singlecalendar" as "name"
00:00:00.077
URL: https://uyuni-master-server.sumaci.aws/pub/maintenance-windows-exchange.ics
And
I click on "Create Calendar"
00:00:00.063
Then
I should see a "Calendar successfully created" text
00:00:00.376
@skip_if_github_validation
@scope_maintenance_windows
@sle_minion
@rhlike_minion
Scenario: Create a multi calendar
When
I follow the left menu "Schedule > Maintenance Windows > Calendars"
00:00:00.075
And
I wait for "1" second
00:00:01.000
Then
I should see a "Items 1 - 1 of 1" text
00:00:00.060
When
I click on "Create" in element "maintenance-windows"
00:00:00.066
Then
I should see a "Calendar Name" text
00:00:00.052
When
I enter "multicalendar" as "name"
00:00:00.066
URL: https://uyuni-master-server.sumaci.aws/pub/maintenance-windows-multi-exchange-1.ics
And
I click on "Create Calendar"
00:00:00.052
Then
I should see a "Calendar successfully created" text
00:00:00.265
@skip_if_github_validation
@scope_maintenance_windows
@sle_minion
@rhlike_minion
Scenario: Create a single schedule
When
I follow the left menu "Schedule > Maintenance Windows > Schedules"
00:00:00.082
And
I wait for "1" second
00:00:01.000
Then
I should see a "No schedules created" text
00:00:00.054
When
I click on "Create" in element "maintenance-windows"
00:00:00.070
Then
I should see a "Schedule Name" text
00:00:00.057
When
I enter "singleschedule" as "name"
00:00:00.072
And
I choose "SINGLE"
00:00:00.057
And
I click on "Add Calendar"
00:00:00.078
And
I select "singlecalendar" from "calendarSelect"
00:00:01.127
And
I click on "Create Schedule"
00:00:00.063
Then
I should see a "Schedule successfully created" text
00:00:00.192
@skip_if_github_validation
@scope_maintenance_windows
@sle_minion
@rhlike_minion
Scenario: Create a multi schedule
When
I follow the left menu "Schedule > Maintenance Windows > Schedules"
00:00:00.091
And
I wait for "1" second
00:00:01.000
Then
I should see a "Items 1 - 1 of 1" text
00:00:00.061
When
I click on "Create" in element "maintenance-windows"
00:00:00.067
Then
I should see a "Schedule Name" text
00:00:00.056
When
I enter "SAP Maintenance Window" as "name"
00:00:00.088
And
I choose "MULTI"
00:00:00.057
And
I click on "Add Calendar"
00:00:00.061
And
I select "multicalendar" from "calendarSelect"
00:00:01.117
And
I click on "Create Schedule"
00:00:00.055
Then
I should see a "Schedule successfully created" text
00:00:00.301
@skip_if_github_validation
@scope_maintenance_windows
@sle_minion
@rhlike_minion
Scenario: Create another multi schedule
When
I follow the left menu "Schedule > Maintenance Windows > Schedules"
00:00:00.092
And
I wait for "1" second
00:00:01.000
Then
I should see a "Items 1 - 2 of 2" text
00:00:00.067
When
I click on "Create"
00:00:00.062
And
I enter "Core Server Window" as "name"
00:00:00.078
And
I choose "MULTI"
00:00:00.051
And
I click on "Add Calendar"
00:00:00.060
And
I select "multicalendar" from "calendarSelect"
00:00:01.109
And
I click on "Create Schedule"
00:00:00.057
Then
I should see a "Schedule successfully created" text
00:00:00.182
@skip_if_github_validation
@scope_maintenance_windows
@sle_minion
@rhlike_minion
Scenario: Assign a single system to the single schedule
Given
I am on the Systems overview page of this "sle_minion"
00:00:01.729
When
I follow "Properties" in the content area
00:00:00.077
And
I select "singleschedule" from "maintenance-schedule"
00:00:00.069
And
I click on "Update Properties"
00:00:01.304
Then
I should see a "System properties changed" text
00:00:00.091
@skip_if_github_validation
@scope_maintenance_windows
@sle_minion
@rhlike_minion
Scenario: Assign systems to the multi schedule using SSM
When
I follow the left menu "Systems > System List > All"
00:00:00.158
And
I click on the clear SSM button
00:00:00.056
And
I check the "rhlike_minion" client
00:00:01.981
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.547
And
I follow "Assign" in the content area
00:00:00.070
And
I select "SAP Maintenance Window" from "scheduleId"
00:00:01.124
And
I check "cancelActions"
00:00:00.089
And
I click on "Assign All"
00:00:00.071
And
I click on "Confirm"
00:00:00.072
Then
I should see a "Maintenance schedule has been assigned" text
00:00:00.282
@skip_if_github_validation
@scope_maintenance_windows
@sle_minion
@rhlike_minion
@susemanager
Scenario: Schedule channel change action
Given
I am on the Systems overview page of this "sle_minion"
0s
When
I follow "Software" in the content area
0s
And
I follow "Software Channels" in the content area
0s
And
I wait until I do not see "Loading..." text
0s
Then
radio button "SLE-Product-SLES15-SP7-Pool for x86_64" should be checked
0s
When
I wait until I do not see "Loading..." text
0s
Then
I should see "SLE15-SP7-Installer-Updates for x86_64" as unchecked
0s
When
I check "SLE15-SP7-Installer-Updates for x86_64"
0s
And
I click on "Next"
0s
Then
I should see a "Confirm Software Channel Change" text
0s
When
I pick "17:30" as time
0s
And
I click on "Confirm"
0s
Then
I should see a "Changing the channels has been scheduled." text
0s
@skip_if_github_validation
@scope_maintenance_windows
@sle_minion
@rhlike_minion
Scenario: Remove a package and update package list
When
I remove package "virgo-dummy" from this "rhlike_minion" without error control
00:00:01.659
And
I refresh packages list via spacecmd on "rhlike_minion"
00:00:08.621
And
I wait until refresh package list on "rhlike_minion" is finished
00:00:13.155
@skip_if_github_validation
@scope_maintenance_windows
@sle_minion
@rhlike_minion
Scenario: Schedule package installation action
Given
I am on the Systems overview page of this "rhlike_minion"
00:00:01.916
When
I follow "Software" in the content area
00:00:00.075
And
I follow "Install"
00:00:01.409
And
I enter "virgo-dummy" as the filtered package name
00:00:00.054
And
I click on the filter button
00:00:00.625
And
I check "virgo-dummy" in the list
00:00:00.068
And
I click on "Install Packages"
00:00:01.175
And
I select the next maintenance window
00:00:00.019
And
I click on "Confirm"
00:00:00.853
Then
I should see a "1 package install has been scheduled for" text
00:00:00.064
@skip_if_github_validation
@scope_maintenance_windows
@sle_minion
@rhlike_minion
Scenario: Detach systems from schedules
When
I follow the left menu "Systems > System List > All"
00:00:00.146
And
I click on the clear SSM button
00:00:00.056
And
I check the "sle_minion" client
00:00:00.356
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.566
And
I follow "Assign" in the content area
00:00:00.069
And
I select "None - clear schedule" from "scheduleId"
00:00:01.132
And
I click on "Clear All"
00:00:00.076
Then
I should see a "Maintenance schedule has been cleared" text
00:00:00.178
@skip_if_github_validation
@scope_maintenance_windows
@sle_minion
@rhlike_minion
Scenario: Cleanup: cancel all scheduled actions
- Try to cancel "Package Install/Upgrade scheduled by srv_maintenance_windows" action - Removed "Package Install/Upgrade scheduled by srv_maintenance_windows" action
@skip_if_github_validation
@scope_maintenance_windows
@sle_minion
@rhlike_minion
Scenario: Delete maintenance schedules
When
I follow the left menu "Schedule > Maintenance Windows > Schedules"
00:00:00.512
And
I click the "Core Server Window" item delete button
00:00:00.258
Then
I should see a "Delete maintenance schedule" text
00:00:00.071
When
I click on the red confirmation button
00:00:00.069
And
I wait until I see "Schedule 'Core Server Window' has been deleted." text
00:00:00.225
And
I click the "SAP Maintenance Window" item delete button
00:00:00.070
Then
I should see a "Delete maintenance schedule" text
00:00:00.066
When
I click on the red confirmation button
00:00:00.062
And
I wait until I see "Schedule 'SAP Maintenance Window' has been deleted." text
00:00:00.295
And
I click the "singleschedule" item delete button
00:00:00.135
Then
I should see a "Delete maintenance schedule" text
00:00:00.062
When
I click on the red confirmation button
00:00:00.053
And
I wait until I see "Schedule 'singleschedule' has been deleted." text
00:00:00.399
@skip_if_github_validation
@scope_maintenance_windows
@sle_minion
@rhlike_minion
Scenario: Delete maintenance calendars
When
I follow the left menu "Schedule > Maintenance Windows > Calendars"
00:00:00.079
And
I click the "singlecalendar" item delete button
00:00:00.269
Then
I should see a "Delete maintenance calendar" text
00:00:00.070
When
I click on the red confirmation button
00:00:00.063
And
I wait until I see "Calendar 'singlecalendar' has been deleted." text
00:00:00.315
And
I click the "multicalendar" item delete button
00:00:00.140
Then
I should see a "Delete maintenance calendar" text
00:00:00.066
When
I click on the red confirmation button
00:00:00.060
And
I wait until I see "Calendar 'multicalendar' has been deleted." text
00:00:00.183