@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.292
And
I wait for "1" second
00:00:01.000
Then
I should see a "No calendars created" text
00:00:00.061
When
I click on "Create" in element "maintenance-windows"
00:00:00.087
Then
I should see a "Calendar Name" text
00:00:00.055
When
I enter "singlecalendar" as "name"
00:00:00.085
URL: https://uyuni-master-server.sumaci.aws/pub/maintenance-windows-exchange.ics
And
I click on "Create Calendar"
00:00:00.070
Then
I should see a "Calendar successfully created" text
00:00:00.294
@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.110
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.071
Then
I should see a "Calendar Name" text
00:00:00.053
When
I enter "multicalendar" as "name"
00:00:00.072
URL: https://uyuni-master-server.sumaci.aws/pub/maintenance-windows-multi-exchange-1.ics
And
I click on "Create Calendar"
00:00:00.056
Then
I should see a "Calendar successfully created" text
00:00:00.275
@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.097
And
I wait for "1" second
00:00:01.000
Then
I should see a "No schedules created" text
00:00:00.055
When
I click on "Create" in element "maintenance-windows"
00:00:00.073
Then
I should see a "Schedule Name" text
00:00:00.058
When
I enter "singleschedule" as "name"
00:00:00.081
And
I choose "SINGLE"
00:00:00.062
And
I click on "Add Calendar"
00:00:00.081
And
I select "singlecalendar" from "calendarSelect"
00:00:01.145
And
I click on "Create Schedule"
00:00:00.070
Then
I should see a "Schedule successfully created" text
00:00:00.190
@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.097
And
I wait for "1" second
00:00:01.000
Then
I should see a "Items 1 - 1 of 1" text
00:00:00.063
When
I click on "Create" in element "maintenance-windows"
00:00:00.072
Then
I should see a "Schedule Name" text
00:00:00.058
When
I enter "SAP Maintenance Window" as "name"
00:00:00.099
And
I choose "MULTI"
00:00:00.062
And
I click on "Add Calendar"
00:00:00.066
And
I select "multicalendar" from "calendarSelect"
00:00:01.118
And
I click on "Create Schedule"
00:00:00.060
Then
I should see a "Schedule successfully created" text
00:00:00.186
@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.100
And
I wait for "1" second
00:00:01.000
Then
I should see a "Items 1 - 2 of 2" text
00:00:00.063
When
I click on "Create"
00:00:00.065
And
I enter "Core Server Window" as "name"
00:00:00.087
And
I choose "MULTI"
00:00:00.055
And
I click on "Add Calendar"
00:00:00.063
And
I select "multicalendar" from "calendarSelect"
00:00:01.120
And
I click on "Create Schedule"
00:00:00.063
Then
I should see a "Schedule successfully created" text
00:00:00.194
@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:03.018
When
I follow "Properties" in the content area
00:00:00.084
And
I select "singleschedule" from "maintenance-schedule"
00:00:00.074
And
I click on "Update Properties"
00:00:00.946
Then
I should see a "System properties changed" text
00:00:00.086
@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.180
And
I click on the clear SSM button
00:00:00.076
And
I check the "rhlike_minion" client
00:00:01.937
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.554
And
I follow "Assign" in the content area
00:00:00.072
And
I select "SAP Maintenance Window" from "scheduleId"
00:00:01.135
And
I check "cancelActions"
00:00:00.099
And
I click on "Assign All"
00:00:00.077
And
I click on "Confirm"
00:00:00.069
Then
I should see a "Maintenance schedule has been assigned" text
00:00:00.289
@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.864
And
I refresh packages list via spacecmd on "rhlike_minion"
00:00:08.880
And
I wait until refresh package list on "rhlike_minion" is finished
00:00:13.251
@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.686
When
I follow "Software" in the content area
00:00:00.077
And
I follow "Install"
00:00:00.591
And
I enter "virgo-dummy" as the filtered package name
00:00:00.059
And
I click on the filter button
00:00:00.658
And
I check "virgo-dummy" in the list
00:00:00.067
And
I click on "Install Packages"
00:00:01.189
And
I select the next maintenance window
00:00:00.041
And
I click on "Confirm"
00:00:01.354
Then
I should see a "1 package install has been scheduled for" text
00:00:00.060
@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.135
And
I click on the clear SSM button
00:00:00.057
And
I check the "sle_minion" client
00:00:00.464
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.534
And
I follow "Assign" in the content area
00:00:00.072
And
I select "None - clear schedule" from "scheduleId"
00:00:01.138
And
I click on "Clear All"
00:00:00.076
Then
I should see a "Maintenance schedule has been cleared" text
00:00:00.184
@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.624
And
I click the "Core Server Window" item delete button
00:00:00.441
Then
I should see a "Delete maintenance schedule" text
00:00:00.072
When
I click on the red confirmation button
00:00:00.076
And
I wait until I see "Schedule 'Core Server Window' has been deleted." text
00:00:00.316
And
I click the "SAP Maintenance Window" item delete button
00:00:00.168
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 'SAP Maintenance Window' has been deleted." text
00:00:00.224
And
I click the "singleschedule" item delete button
00:00:00.076
Then
I should see a "Delete maintenance schedule" text
00:00:00.062
When
I click on the red confirmation button
00:00:00.064
And
I wait until I see "Schedule 'singleschedule' has been deleted." text
00:00:00.181
@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.096
And
I click the "singlecalendar" item delete button
00:00:00.242
Then
I should see a "Delete maintenance calendar" text
00:00:00.075
When
I click on the red confirmation button
00:00:00.071
And
I wait until I see "Calendar 'singlecalendar' has been deleted." text
00:00:00.192
And
I click the "multicalendar" item delete button
00:00:00.134
Then
I should see a "Delete maintenance calendar" text
00:00:00.066
When
I click on the red confirmation button
00:00:00.067
And
I wait until I see "Calendar 'multicalendar' has been deleted." text
00:00:00.190