@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.047
And
I wait for "1" second
00:00:01.000
Then
I should see a "No calendars created" text
00:00:00.056
When
I click on "Create" in element "maintenance-windows"
00:00:00.082
Then
I should see a "Calendar Name" text
00:00:00.052
When
I enter "singlecalendar" as "name"
00:00:00.076
URL: https://uyuni-master-server.sumaci.aws/pub/maintenance-windows-exchange.ics
And
I click on "Create Calendar"
00:00:00.062
Then
I should see a "Calendar successfully created" text
00:00:00.290
@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.070
And
I wait for "1" second
00:00:01.000
Then
I should see a "Items 1 - 1 of 1" text
00:00:00.062
When
I click on "Create" in element "maintenance-windows"
00:00:00.064
Then
I should see a "Calendar Name" text
00:00:00.055
When
I enter "multicalendar" as "name"
00:00:00.065
URL: https://uyuni-master-server.sumaci.aws/pub/maintenance-windows-multi-exchange-1.ics
And
I click on "Create Calendar"
00:00:00.053
Then
I should see a "Calendar successfully created" text
00:00:00.184
@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.094
And
I wait for "1" second
00:00:01.000
Then
I should see a "No schedules created" text
00:00:00.053
When
I click on "Create" in element "maintenance-windows"
00:00:00.066
Then
I should see a "Schedule Name" text
00:00:00.056
When
I enter "singleschedule" as "name"
00:00:00.073
And
I choose "SINGLE"
00:00:00.055
And
I click on "Add Calendar"
00:00:00.073
And
I select "singlecalendar" from "calendarSelect"
00:00:01.149
And
I click on "Create Schedule"
00:00:00.062
Then
I should see a "Schedule successfully created" text
00:00:00.292
@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.077
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.064
Then
I should see a "Schedule Name" text
00:00:00.054
When
I enter "SAP Maintenance Window" as "name"
00:00:00.087
And
I choose "MULTI"
00:00:00.057
And
I click on "Add Calendar"
00:00:00.062
And
I select "multicalendar" from "calendarSelect"
00:00:01.108
And
I click on "Create Schedule"
00:00:00.055
Then
I should see a "Schedule successfully created" text
00:00:00.176
@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.090
And
I wait for "1" second
00:00:01.000
Then
I should see a "Items 1 - 2 of 2" text
00:00:00.064
When
I click on "Create"
00:00:00.059
And
I enter "Core Server Window" as "name"
00:00:00.077
And
I choose "MULTI"
00:00:00.051
And
I click on "Add Calendar"
00:00:00.059
And
I select "multicalendar" from "calendarSelect"
00:00:01.097
And
I click on "Create Schedule"
00:00:00.054
Then
I should see a "Schedule successfully created" text
00:00:00.179
@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.707
When
I follow "Properties" in the content area
00:00:00.076
And
I select "singleschedule" from "maintenance-schedule"
00:00:00.074
And
I click on "Update Properties"
00:00:01.092
Then
I should see a "System properties changed" text
00:00:00.085
@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.171
And
I click on the clear SSM button
00:00:00.083
And
I check the "rhlike_minion" client
00:00:01.879
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.634
And
I follow "Assign" in the content area
00:00:00.069
And
I select "SAP Maintenance Window" from "scheduleId"
00:00:01.130
And
I check "cancelActions"
00:00:00.089
And
I click on "Assign All"
00:00:00.070
And
I click on "Confirm"
00:00:00.069
Then
I should see a "Maintenance schedule has been assigned" text
00:00:00.180
@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.675
And
I refresh packages list via spacecmd on "rhlike_minion"
00:00:09.595
And
I wait until refresh package list on "rhlike_minion" is finished
00:00:13.166
@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.851
When
I follow "Software" in the content area
00:00:00.069
And
I follow "Install"
00:00:00.572
And
I enter "virgo-dummy" as the filtered package name
00:00:00.051
And
I click on the filter button
00:00:00.628
And
I check "virgo-dummy" in the list
00:00:00.058
And
I click on "Install Packages"
00:00:01.250
And
I select the next maintenance window
00:00:00.019
And
I click on "Confirm"
00:00:01.019
Then
I should see a "1 package install has been scheduled for" text
00:00:00.059
@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.142
And
I click on the clear SSM button
00:00:00.054
And
I check the "sle_minion" client
00:00:00.450
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.478
And
I follow "Assign" in the content area
00:00:00.072
And
I select "None - clear schedule" from "scheduleId"
00:00:01.125
And
I click on "Clear All"
00:00:00.065
Then
I should see a "Maintenance schedule has been cleared" text
00:00:00.176
@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.581
And
I click the "Core Server Window" item delete button
00:00:00.458
Then
I should see a "Delete maintenance schedule" text
00:00:00.072
When
I click on the red confirmation button
00:00:00.068
And
I wait until I see "Schedule 'Core Server Window' has been deleted." text
00:00:00.183
And
I click the "SAP Maintenance Window" item delete button
00:00:00.174
Then
I should see a "Delete maintenance schedule" text
00:00:00.069
When
I click on the red confirmation button
00:00:00.076
And
I wait until I see "Schedule 'SAP Maintenance Window' has been deleted." text
00:00:00.183
And
I click the "singleschedule" item delete button
00:00:00.164
Then
I should see a "Delete maintenance schedule" text
00:00:00.060
When
I click on the red confirmation button
00:00:00.057
And
I wait until I see "Schedule 'singleschedule' has been deleted." text
00:00:00.170
@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.090
And
I click the "singlecalendar" item delete button
00:00:00.234
Then
I should see a "Delete maintenance calendar" text
00:00:00.073
When
I click on the red confirmation button
00:00:00.061
And
I wait until I see "Calendar 'singlecalendar' has been deleted." text
00:00:00.191
And
I click the "multicalendar" item delete button
00:00:00.067
Then
I should see a "Delete maintenance calendar" text
00:00:00.076
When
I click on the red confirmation button
00:00:00.058
And
I wait until I see "Calendar 'multicalendar' has been deleted." text
00:00:00.176