@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
@rhlike_minion
@skip_if_containerized_server
Feature: 0118 - Manage a group of systems and the Systems Set Manager
File name: allcli_system_group.feature
Relative path: secondary/allcli_system_group.feature
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: Pre-requisite: install dummy packages to allow patching
When
I enable repository "test_repo_rpm_pool" on this "sle_minion"
00:00:00.781
And
I refresh the metadata for "sle_minion"
00:00:00.846
And
I install old package "andromeda-dummy-1.0" on this "sle_minion"
00:00:01.880
And
I install old package "virgo-dummy-1.0" on this "sle_minion"
00:00:01.918
@scope_ssm
@sle_minion
@scope_visualization
Scenario: Pre-requisite: ensure that fake patches are available
When
I follow the left menu "Admin > Task Schedules"
00:00:00.152
And
I follow "errata-cache-default"
00:00:01.241
And
I follow "errata-cache-bunch"
00:00:01.303
And
I click on "Single Run Schedule"
00:00:01.543
Then
I should see a "bunch was scheduled" text
00:00:00.275
And
I wait until the table contains "FINISHED" or "SKIPPED" followed by "FINISHED" in its first rows
00:01:45.658
@scope_ssm
@sle_minion
@scope_visualization
Scenario: Pre-requisite: ensure that fake channels were created
When
I follow the left menu "Patches > Patch List > Relevant"
00:00:00.251
Then
I should see an update in the list
00:00:00.014
When
I wait until I see "andromeda-dummy" text, refreshing the page
00:00:00.070
Then
I should see a "andromeda-dummy-6789" link
00:00:00.012
When
I enter "virgo-dummy" as the filtered synopsis
00:00:00.059
And
I click on the filter button until page does contain "virgo-dummy-3456" text
00:00:00.073
Then
I should see a "virgo-dummy-3456" link
00:00:00.013
@scope_ssm
@sle_minion
@scope_visualization
Scenario: Fail to create a group with only its name
When
I follow the left menu "Systems > System Groups"
00:00:00.182
And
I follow "Create Group"
00:00:00.281
And
I enter "new-systems-group" as "name"
00:00:00.070
And
I click on "Create Group"
00:00:00.065
Then
I should see a "Both name and description are required for System Groups." text
00:00:00.311
@scope_ssm
@sle_minion
@scope_visualization
Scenario: Fail to create a group with only its description
When
I follow the left menu "Systems > System Groups"
00:00:00.066
And
I follow "Create Group"
00:00:00.296
And
I enter "My new group" as "description"
00:00:00.060
And
I click on "Create Group"
00:00:00.278
Then
I should see a "Both name and description are required for System Groups." text
00:00:00.057
When
I follow the left menu "Systems > System Groups"
00:00:00.065
And
I follow "Create Group"
00:00:00.287
And
I enter "new-systems-group" as "name"
00:00:00.062
And
I enter "My new group" as "description"
00:00:00.057
And
I click on "Create Group"
00:00:00.057
Then
I should see a "System group new-systems-group created." text
00:00:00.463
@scope_ssm
@sle_minion
@scope_visualization
Scenario: Add the SLE minion to the group and to SSM
When
I follow the left menu "Systems > System Groups"
00:00:00.065
And
I follow "new-systems-group"
00:00:00.335
And
I follow "Target Systems"
00:00:00.545
And
I check the "sle_minion" client
00:00:00.064
And
I click on "Add Systems"
00:00:01.376
Then
I should see a "1 systems were added to new-systems-group server group." text
00:00:00.094
When
I click on "Add Selected to SSM"
00:00:00.655
@scope_ssm
@sle_minion
@scope_visualization
Scenario: The SLE minion is part of the new group
Given
I am on the Systems overview page of this "sle_minion"
00:00:01.949
When
I follow "Groups" in the content area
00:00:00.078
Then
I should see a "new-systems-group" text
00:00:00.073
@scope_ssm
@sle_minion
@scope_visualization
Scenario: Apply a patch to systems in the system group
When
I follow the left menu "Systems > System Groups"
00:00:00.088
And
I follow "new-systems-group"
00:00:00.306
And
I follow first "Patches"
00:00:00.329
When
I enter "virgo-dummy" as the filtered synopsis
00:00:00.046
And
I click on the filter button until page does contain "virgo-dummy-3456" text
00:00:00.070
Then
I should see a "virgo-dummy-3456" link
00:00:00.009
When
I follow "virgo-dummy-3456"
00:00:00.411
And
I follow first "Affected Systems"
00:00:00.317
And
I check the "sle_minion" client
00:00:00.055
And
I click on "Apply Patches"
00:00:00.568
And
I click on "Confirm"
00:00:00.597
Then
I should see a "Patch virgo-dummy-3456 has been scheduled for 1 system" text
00:00:00.071
And
I am on the Systems overview page of this "sle_minion"
00:00:01.695
And
I wait until event "Patch Update: virgo-dummy-3456 - Test update for virgo-dummy scheduled by admin" is completed
00:00:22.025
@scope_ssm
@sle_minion
@scope_visualization
Scenario: Apply a patch to systems in the SSM
When
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.617
And
I follow first "Patches"
00:00:00.356
When
I enter "andromeda-dummy" as the filtered synopsis
00:00:00.061
And
I click on the filter button
00:00:00.370
When
I wait until I see "andromeda-dummy-6789" text, refreshing the page
00:00:00.066
Then
I should see a "andromeda-dummy-6789" link
00:00:00.013
When
I follow "andromeda-dummy-6789"
00:00:00.493
And
I follow first "Affected Systems"
00:00:00.303
And
I check the "sle_minion" client
00:00:00.062
And
I click on "Apply Patches"
00:00:00.494
And
I click on "Confirm"
00:00:00.063
Then
I should see a "Patch andromeda-dummy-6789 has been scheduled for 1 system" text
00:00:00.595
And
I am on the Systems overview page of this "sle_minion"
00:00:01.742
And
I wait until event "Patch Update: andromeda-dummy-6789 - Test update for andromeda-dummy scheduled by admin" is completed
00:00:22.339
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: Pre-requisite: re-select sle_minion in SSM for package operations
When
I follow the left menu "Systems > System Groups"
00:00:00.080
And
I click on "Use in SSM" in row "new-systems-group"
00:00:00.075
Then
I should see a "Selected Systems List" text
00:00:00.078
And
I should see "sle_minion" as link
00:00:00.015
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: Delete a package from systems in the SSM
When
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.083
And
I follow "Packages"
00:00:00.447
And
I follow "Remove"
00:00:00.887
And
I wait until I see "Package Removal" text, refreshing the page
00:00:00.221
And
I enter "virgo-dummy" as the filtered package name
00:00:00.120
And
I click on the filter button until page does contain "virgo-dummy-2.0-1.1" text
00:00:11.008
And
I check "virgo-dummy-2.0-1.1" in the list
00:00:00.063
And
I click on "Remove Packages"
00:00:00.427
And
I click on "Confirm"
00:00:00.507
Then
I should see a "Package removals are being scheduled, it may take several minutes for this to complete." text
00:00:00.061
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: Pre-requisite: re-select sle_minion in SSM for package install
When
I follow the left menu "Systems > System Groups"
00:00:00.077
And
I click on "Use in SSM" in row "new-systems-group"
00:00:00.074
Then
I should see a "Selected Systems List" text
00:00:00.076
And
I should see "sle_minion" as link
00:00:00.036
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: Install a package to systems in the SSM
When
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.082
And
I follow "Packages"
00:00:00.449
And
I follow "Install"
00:00:00.496
And
I wait until I see "Fake-RPM-SUSE-Channel" text, refreshing the page
00:00:00.076
Then
I should see a "Fake-RPM-SUSE-Channel" text
00:00:00.067
When
I follow "Fake-RPM-SUSE-Channel"
00:00:00.438
Then
I should see a "virgo-dummy-2.0-1.1" text
00:00:00.087
And
I enter "virgo-dummy" as the filtered package name
00:00:00.054
And
I click on the filter button until page does contain "virgo-dummy-2.0-1.1" text
00:00:00.093
When
I check "virgo-dummy-2.0-1.1" in the list
00:00:00.057
And
I click on "Install Packages"
00:00:00.381
And
I click on "Confirm"
00:00:00.395
Then
I should see a "Package installations are being scheduled, it may take several minutes for this to complete." text
00:00:00.059
@scope_ssm
@sle_minion
@scope_visualization
@rhlike_minion
Scenario: Add the Red Hat-like minion to the group in a different way
When
I follow the left menu "Systems > System Groups"
00:00:00.062
Then
I should see a "System Groups" text
00:00:00.069
When
I follow "new-systems-group"
00:00:00.316
And
I follow "Target Systems"
00:00:00.468
Then
I should see a "The following are systems that may be added to this group." text
00:00:00.091
Unable to find xpath "//table/tbody/tr[.//td[contains(.,'uyuni-master-rhlike-minion')]]//input[@type='checkbox']" (Capybara::ElementNotFound) ./features/support/navigation_step_helper.rb:32:in `toggle_checkbox_in_list' ./features/step_definitions/navigation_steps.rb:556:in `/^I check the "([^"]*)" client$/' features/secondary/allcli_system_group.feature:154:in `I check the "rhlike_minion" client'
And
I click on "Add Systems"
0s
Then
I should see a "1 systems were added to new-systems-group server group" text
0s
@scope_ssm
@sle_minion
@scope_visualization
Scenario: Add the new group to SSM
When
I follow the left menu "Systems > System Groups"
00:00:00.068
And
I click on "Use in SSM" in row "new-systems-group"
00:00:00.110
Then
I should see a "Selected Systems List" text
00:00:00.077
Link uyuni-master-rhlike-minion is not visible (ScriptError) ./features/step_definitions/navigation_steps.rb:758:in `/^I should see a "([^"]*)" link$/' ./features/step_definitions/setup_steps.rb:247:in `/^I should see "([^"]*)" as link$/' features/secondary/allcli_system_group.feature:162:in `I should see "rhlike_minion" as link'
And
I should see "sle_minion" as link
0s
@scope_ssm
@sle_minion
@scope_visualization
Scenario: New formula page is rendered for the system group
When
I follow the left menu "Systems > System Groups"
00:00:00.081
And
I follow "new-systems-group"
00:00:00.322
And
I follow "Formulas"
00:00:00.494
Then
I should see a "Choose formulas:" text
00:00:00.058
And
I should see a "General System Configuration" text
00:00:00.089
And
the "locale" formula should be unchecked
00:00:10.027
@scope_ssm
@sle_minion
@scope_visualization
@rhlike_minion
Scenario: Apply the highstate to the group
When
I follow the left menu "Systems > System Groups"
00:00:00.079
Then
I should see a "System Groups" text
00:00:00.070
When
I follow "new-systems-group"
00:00:00.297
And
I follow "States"
00:00:00.401
And
I click on "Apply Highstate"
00:00:00.062
Then
I should see a "Applying the highstate has been scheduled." text
00:00:00.316
When
I follow "scheduled"
00:00:00.280
Then
I should see a "Apply states (highstate)" text
00:00:00.057
And
I should see a "Action Details" text
00:00:00.053
And
I wait until I see "2 systems successfully completed this action." text, refreshing the page
00:04:13.037
+ Show Error
+ Screenshot
execution expired (Timeout::Error) ./features/support/commonlib.rb:89:in `repeat_until_timeout' ./features/step_definitions/navigation_steps.rb:70:in `/^I wait until I see "([^"]*)" (text|regex), refreshing the page$/' features/secondary/allcli_system_group.feature:192:in `I wait until I see "2 systems successfully completed this action." text, refreshing the page'
@scope_ssm
@sle_minion
@scope_visualization
Scenario: Remove SLE minion from new group
Given
I am on the Systems overview page of this "sle_minion"
00:00:01.583
When
I follow "Groups"
00:00:00.408
And
I check "new-systems-group" in the list
00:00:00.063
And
I click on "Leave Groups"
00:00:00.954
Then
I should see a "1 system groups removed." text
00:00:00.064
@scope_ssm
@sle_minion
@scope_visualization
Scenario: Cleanup: remove the new group
When
I follow the left menu "Systems > System Groups"
00:00:00.077
When
I follow "new-systems-group" in the content area
00:00:00.073
And
I follow "Delete Group" in the content area
00:00:00.089
And
I click on "Confirm Deletion"
00:00:00.701
Then
I should see a "System group" text
00:00:00.062
And
I should see a "new-systems-group" text
00:00:00.059
And
I should see a "deleted" text
00:00:00.057
@scope_ssm
@sle_minion
@scope_visualization
Scenario: Cleanup: regenerate search index for later tests
Search by hostname: uyuni-master-suse-minion
[{"last_boot"=>"2026-05-20T15:02:10Z", "name"=>"uyuni-master-suse-minion.sumaci.aws", "id"=>1000010019, "last_checkin"=>"2026-05-20T17:43:28Z"}]
@scope_ssm
@sle_minion
@scope_visualization
Scenario: Cleanup: remove dummy packages
When
I disable repository "test_repo_rpm_pool" on this "sle_minion" without error control
00:00:00.778
And
I refresh the metadata for "sle_minion"
00:00:01.260
And
I remove package "andromeda-dummy" from this "sle_minion" without error control
00:00:01.795
And
I remove package "virgo-dummy" from this "sle_minion" without error control
00:00:01.677