@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.117
And
I wait for "1" second
00:00:01.000
Then
I should see a "No calendars created" text
00:00:00.063
When
I click on "Create" in element "maintenance-windows"
00:00:00.100
Then
I should see a "Calendar Name" text
00:00:00.056
When
I enter "singlecalendar" as "name"
00:00:00.084
URL: https://uyuni-master-server.sumaci.aws/pub/maintenance-windows-exchange.ics
And
I click on "Create Calendar"
00:00:00.066
Then
I should see a "Calendar successfully created" text
00:00:00.300
@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.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.066
When
I click on "Create" in element "maintenance-windows"
00:00:00.071
Then
I should see a "Calendar Name" text
00:00:00.057
When
I enter "multicalendar" as "name"
00:00:00.070
URL: https://uyuni-master-server.sumaci.aws/pub/maintenance-windows-multi-exchange-1.ics
And
I click on "Create Calendar"
00:00:00.058
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 single schedule
When
I follow the left menu "Schedule > Maintenance Windows > Schedules"
00:00:00.104
And
I wait for "1" second
00:00:01.000
Then
I should see a "No schedules created" text
00:00:00.065
When
I click on "Create" in element "maintenance-windows"
00:00:00.073
Then
I should see a "Schedule Name" text
00:00:00.077
When
I enter "singleschedule" as "name"
00:00:00.079
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.135
And
I click on "Create Schedule"
00:00:00.068
Then
I should see a "Schedule successfully created" text
00:00:00.188
@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.118
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.069
Then
I should see a "Schedule Name" text
00:00:00.059
When
I enter "SAP Maintenance Window" as "name"
00:00:00.094
And
I choose "MULTI"
00:00:00.061
And
I click on "Add Calendar"
00:00:00.070
And
I select "multicalendar" from "calendarSelect"
00:00:01.119
And
I click on "Create Schedule"
00:00:00.060
Then
I should see a "Schedule successfully created" text
00:00:00.189
@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.085
And
I wait for "1" second
00:00:01.000
Then
I should see a "Items 1 - 2 of 2" text
00:00:00.069
When
I click on "Create"
00:00:00.065
And
I enter "Core Server Window" as "name"
00:00:00.082
And
I choose "MULTI"
00:00:00.054
And
I click on "Add Calendar"
00:00:00.063
And
I select "multicalendar" from "calendarSelect"
00:00:01.115
And
I click on "Create Schedule"
00:00:00.059
Then
I should see a "Schedule successfully created" text
00:00:00.310
@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.687
When
I follow "Properties" in the content area
00:00:00.080
And
I select "singleschedule" from "maintenance-schedule"
00:00:00.075
And
I click on "Update Properties"
00:00:01.148
Then
I should see a "System properties changed" text
00:00:00.092
@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.170
And
I click on the clear SSM button
00:00:00.061
And
I check the "rhlike_minion" client
00:00:02.060
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.490
And
I follow "Assign" in the content area
00:00:00.078
And
I select "SAP Maintenance Window" from "scheduleId"
00:00:01.139
And
I check "cancelActions"
00:00:00.096
And
I click on "Assign All"
00:00:00.076
And
I click on "Confirm"
00:00:00.076
Then
I should see a "Maintenance schedule has been assigned" text
00:00:00.192
@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:02.048
And
I refresh packages list via spacecmd on "rhlike_minion"
00:00:09.514
And
I wait until refresh package list on "rhlike_minion" is finished
00:00:13.962
@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.615
When
I follow "Software" in the content area
00:00:00.077
And
I follow "Install"
00:00:00.608
And
I enter "virgo-dummy" as the filtered package name
00:00:00.059
And
I click on the filter button
00:00:00.675
And
I check "virgo-dummy" in the list
00:00:00.063
And
I click on "Install Packages"
00:00:01.139
And
I select the next maintenance window
00:00:00.049
And
I click on "Confirm"
00:00:00.885
Then
I should see a "1 package install has been scheduled for" text
00:00:00.065
@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.136
And
I click on the clear SSM button
00:00:00.071
And
I check the "sle_minion" client
00:00:00.563
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.631
And
I follow "Assign" in the content area
00:00:00.065
And
I select "None - clear schedule" from "scheduleId"
00:00:01.131
And
I click on "Clear All"
00:00:00.071
Then
I should see a "Maintenance schedule has been cleared" text
00:00:00.186
@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.599
And
I click the "Core Server Window" item delete button
00:00:00.335
Then
I should see a "Delete maintenance schedule" text
00:00:00.080
When
I click on the red confirmation button
00:00:00.074
And
I wait until I see "Schedule 'Core Server Window' has been deleted." text
00:00:00.211
And
I click the "SAP Maintenance Window" item delete button
00:00:00.074
Then
I should see a "Delete maintenance schedule" text
00:00:00.068
When
I click on the red confirmation button
00:00:00.067
And
I wait until I see "Schedule 'SAP Maintenance Window' has been deleted." text
00:00:00.207
And
I click the "singleschedule" item delete button
00:00:00.118
Then
I should see a "Delete maintenance schedule" text
00:00:00.075
When
I click on the red confirmation button
00:00:00.063
And
I wait until I see "Schedule 'singleschedule' has been deleted." text
00:00:00.186
@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.081
And
I click the "singlecalendar" item delete button
00:00:00.299
Then
I should see a "Delete maintenance calendar" text
00:00:00.073
When
I click on the red confirmation button
00:00:00.066
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.155
Then
I should see a "Delete maintenance calendar" text
00:00:00.068
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.184