@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.159
And
I wait for "1" second
00:00:01.000
Then
I should see a "No calendars created" text
00:00:00.059
When
I click on "Create" in element "maintenance-windows"
00:00:00.075
Then
I should see a "Calendar Name" text
00:00:00.052
When
I enter "singlecalendar" as "name"
00:00:00.074
URL: https://uyuni-master-server.sumaci.aws/pub/maintenance-windows-exchange.ics
And
I click on "Create Calendar"
00:00:00.059
Then
I should see a "Calendar successfully created" text
00:00:00.274
@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.084
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.062
Then
I should see a "Calendar Name" text
00:00:00.053
When
I enter "multicalendar" as "name"
00:00:00.064
URL: https://uyuni-master-server.sumaci.aws/pub/maintenance-windows-multi-exchange-1.ics
And
I click on "Create Calendar"
00:00:00.050
Then
I should see a "Calendar successfully created" text
00:00:00.172
@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.088
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.061
Then
I should see a "Schedule Name" text
00:00:00.052
When
I enter "singleschedule" as "name"
00:00:00.070
And
I choose "SINGLE"
00:00:00.053
And
I click on "Add Calendar"
00:00:00.068
And
I select "singlecalendar" from "calendarSelect"
00:00:01.116
And
I click on "Create Schedule"
00:00:00.058
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.085
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.067
Then
I should see a "Schedule Name" text
00:00:00.052
When
I enter "SAP Maintenance Window" as "name"
00:00:00.087
And
I choose "MULTI"
00:00:00.053
And
I click on "Add Calendar"
00:00:00.056
And
I select "multicalendar" from "calendarSelect"
00:00:01.100
And
I click on "Create Schedule"
00:00:00.052
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: Create another multi 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 "Items 1 - 2 of 2" text
00:00:00.062
When
I click on "Create"
00:00:00.057
And
I enter "Core Server Window" as "name"
00:00:00.080
And
I choose "MULTI"
00:00:00.046
And
I click on "Add Calendar"
00:00:00.052
And
I select "multicalendar" from "calendarSelect"
00:00:01.095
And
I click on "Create Schedule"
00:00:00.051
Then
I should see a "Schedule successfully created" text
00:00:00.291
@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.684
When
I follow "Properties" in the content area
00:00:00.074
And
I select "singleschedule" from "maintenance-schedule"
00:00:00.065
And
I click on "Update Properties"
00:00:01.034
Then
I should see a "System properties changed" text
00:00:00.084
@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.141
And
I click on the clear SSM button
00:00:00.084
And
I check the "rhlike_minion" client
00:00:01.917
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.066
And
I select "SAP Maintenance Window" from "scheduleId"
00:00:01.123
And
I check "cancelActions"
00:00:00.081
And
I click on "Assign All"
00:00:00.064
And
I click on "Confirm"
00:00:00.060
Then
I should see a "Maintenance schedule has been assigned" text
00:00:00.182
@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.555
And
I refresh packages list via spacecmd on "rhlike_minion"
00:00:07.789
And
I wait until refresh package list on "rhlike_minion" is finished
00:00:13.448
@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.713
When
I follow "Software" in the content area
00:00:00.067
And
I follow "Install"
00:00:00.630
And
I enter "virgo-dummy" as the filtered package name
00:00:00.048
And
I click on the filter button
00:00:00.596
And
I check "virgo-dummy" in the list
00:00:00.056
And
I click on "Install Packages"
00:00:01.141
And
I select the next maintenance window
00:00:00.018
And
I click on "Confirm"
00:00:00.977
Then
I should see a "1 package install has been scheduled for" text
00:00:00.058
@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.117
And
I click on the clear SSM button
00:00:00.050
And
I check the "sle_minion" client
00:00:00.371
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.559
And
I follow "Assign" in the content area
00:00:00.063
And
I select "None - clear schedule" from "scheduleId"
00:00:01.112
And
I click on "Clear All"
00:00:00.062
Then
I should see a "Maintenance schedule has been cleared" text
00:00:00.261
@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.521
And
I click the "Core Server Window" item delete button
00:00:00.344
Then
I should see a "Delete maintenance schedule" text
00:00:00.068
When
I click on the red confirmation button
00:00:00.063
And
I wait until I see "Schedule 'Core Server Window' has been deleted." text
00:00:00.180
And
I click the "SAP Maintenance Window" item delete button
00:00:00.160
Then
I should see a "Delete maintenance schedule" text
00:00:00.067
When
I click on the red confirmation button
00:00:00.056
And
I wait until I see "Schedule 'SAP Maintenance Window' has been deleted." text
00:00:00.177
And
I click the "singleschedule" item delete button
00:00:00.138
Then
I should see a "Delete maintenance schedule" text
00:00:00.064
When
I click on the red confirmation button
00:00:00.058
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.084
And
I click the "singlecalendar" item delete button
00:00:00.298
Then
I should see a "Delete maintenance calendar" text
00:00:00.077
When
I click on the red confirmation button
00:00:00.060
And
I wait until I see "Calendar 'singlecalendar' has been deleted." text
00:00:00.334
And
I click the "multicalendar" item delete button
00:00:00.063
Then
I should see a "Delete maintenance calendar" text
00:00:00.061
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.168