@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
@rhlike_minion
@skip_if_containerized_server
Feature: 0119 - 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
@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.756
And
I refresh the metadata for "sle_minion"
00:00:00.869
And
I install old package "andromeda-dummy-1.0" on this "sle_minion"
00:00:01.819
And
I install old package "virgo-dummy-1.0" on this "sle_minion"
00:00:01.809
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: Pre-requisite: ensure that fake patches are available
When
I follow the left menu "Admin > Task Schedules"
00:00:00.143
And
I follow "errata-cache-default"
00:00:01.247
And
I follow "errata-cache-bunch"
00:00:01.324
And
I click on "Single Run Schedule"
00:00:01.307
Then
I should see a "bunch was scheduled" text
00:00:00.289
And
I wait until the table contains "FINISHED" or "SKIPPED" followed by "FINISHED" in its first rows
00:00:01.097
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: Pre-requisite: ensure that fake channels were created
When
I follow the left menu "Patches > Patch List > Relevant"
00:00:00.234
Then
I should see an update in the list
00:00:00.013
When
I wait until I see "andromeda-dummy" text, refreshing the page
00:00:00.073
Then
I should see a "andromeda-dummy-6789" link
00:00:00.011
When
I enter "virgo-dummy" as the filtered synopsis
00:00:00.052
And
I click on the filter button until page does contain "virgo-dummy-3456" text
00:00:21.481
Then
I should see a "virgo-dummy-3456" link
00:00:00.011
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: Fail to create a group with only its name
When
I follow the left menu "Systems > System Groups"
00:00:00.139
And
I follow "Create Group"
00:00:00.205
And
I enter "new-systems-group" as "name"
00:00:00.071
And
I click on "Create Group"
00:00:00.295
Then
I should see a "Both name and description are required for System Groups." text
00:00:00.059
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: Fail to create a group with only its description
When
I follow the left menu "Systems > System Groups"
00:00:00.062
And
I follow "Create Group"
00:00:00.206
And
I enter "My new group" as "description"
00:00:00.055
And
I click on "Create Group"
00:00:00.297
Then
I should see a "Both name and description are required for System Groups." text
00:00:00.069
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: Create a group
When
I follow the left menu "Systems > System Groups"
00:00:00.061
And
I follow "Create Group"
00:00:00.307
And
I enter "new-systems-group" as "name"
00:00:00.059
And
I enter "My new group" as "description"
00:00:00.053
And
I click on "Create Group"
00:00:00.056
Then
I should see a "System group new-systems-group created." text
00:00:00.458
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: Add the SLE minion to the group and to SSM
When
I follow the left menu "Systems > System Groups"
00:00:00.060
And
I follow "new-systems-group"
00:00:00.322
And
I follow "Target Systems"
00:00:00.404
And
I check the "sle_minion" client
00:00:00.060
And
I click on "Add Systems"
00:00:01.091
Then
I should see a "1 systems were added to new-systems-group server group." text
00:00:00.098
When
I click on "Add Selected to SSM"
00:00:00.401
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
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.530
When
I follow "Groups" in the content area
00:00:00.069
Then
I should see a "new-systems-group" text
00:00:00.073
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: Apply a patch to systems in the system group
When
I follow the left menu "Systems > System Groups"
00:00:00.059
And
I follow "new-systems-group"
00:00:00.302
And
I follow first "Patches"
00:00:00.306
When
I enter "virgo-dummy" as the filtered synopsis
00:00:00.047
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.008
When
I follow "virgo-dummy-3456"
00:00:00.563
And
I follow first "Affected Systems"
00:00:00.314
And
I check the "sle_minion" client
00:00:00.053
And
I click on "Apply Patches"
00:00:00.590
And
I click on "Confirm"
00:00:00.548
Then
I should see a "Patch virgo-dummy-3456 has been scheduled for 1 system" text
00:00:00.078
And
I am on the Systems overview page of this "sle_minion"
00:00:01.588
And
I wait until event "Patch Update: virgo-dummy-3456 - Test update for virgo-dummy scheduled by admin" is completed
00:00:21.770
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: Apply a patch to systems in the SSM
When
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.459
And
I follow first "Patches"
00:00:00.269
When
I enter "andromeda-dummy" as the filtered synopsis
00:00:00.071
And
I click on the filter button
00:00:00.377
When
I wait until I see "andromeda-dummy-6789" text, refreshing the page
00:00:00.068
Then
I should see a "andromeda-dummy-6789" link
00:00:00.012
When
I follow "andromeda-dummy-6789"
00:00:00.321
And
I follow first "Affected Systems"
00:00:00.317
And
I check the "sle_minion" client
00:00:00.059
And
I click on "Apply Patches"
00:00:00.436
And
I click on "Confirm"
00:00:00.061
Then
I should see a "Patch andromeda-dummy-6789 has been scheduled for 1 system" text
00:00:00.076
And
I am on the Systems overview page of this "sle_minion"
00:00:02.891
And
I wait until event "Patch Update: andromeda-dummy-6789 - Test update for andromeda-dummy scheduled by admin" is completed
00:00:21.825
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
@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.072
And
I click on "Use in SSM" in row "new-systems-group"
00:00:00.087
Then
I should see a "Selected Systems List" text
00:00:00.099
And
I should see "sle_minion" as link
00:00:00.014
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
@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.077
And
I follow "Packages"
00:00:00.349
And
I follow "Remove"
00:00:00.489
And
I wait until I see "Package Removal" text, refreshing the page
00:00:00.237
And
I enter "virgo-dummy" as the filtered package name
00:00:00.117
And
I click on the filter button until page does contain "virgo-dummy-2.0-1.1" text
00:00:11.238
And
I check "virgo-dummy-2.0-1.1" in the list
00:00:00.062
And
I click on "Remove Packages"
00:00:00.342
And
I click on "Confirm"
00:00:00.408
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
@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.071
And
I click on "Use in SSM" in row "new-systems-group"
00:00:00.071
Then
I should see a "Selected Systems List" text
00:00:00.076
And
I should see "sle_minion" as link
00:00:00.021
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
@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.079
And
I follow "Packages"
00:00:00.354
And
I follow "Install"
00:00:00.442
And
I wait until I see "Fake-RPM-SUSE-Channel" text, refreshing the page
00:00:00.068
Then
I should see a "Fake-RPM-SUSE-Channel" text
00:00:00.066
When
I follow "Fake-RPM-SUSE-Channel"
00:00:00.405
Then
I should see a "virgo-dummy-2.0-1.1" text
00:00:00.092
And
I enter "virgo-dummy" as the filtered package name
00:00:00.049
And
I click on the filter button until page does contain "virgo-dummy-2.0-1.1" text
00:00:00.089
When
I check "virgo-dummy-2.0-1.1" in the list
00:00:00.056
And
I click on "Install Packages"
00:00:00.388
And
I click on "Confirm"
00:00:00.894
Then
I should see a "Package installations are being scheduled, it may take several minutes for this to complete." text
00:00:00.063
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
@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.057
Then
I should see a "System Groups" text
00:00:00.075
When
I follow "new-systems-group"
00:00:00.404
And
I follow "Target Systems"
00:00:00.480
Then
I should see a "The following are systems that may be added to this group." text
00:00:00.100
When
I check the "rhlike_minion" client
00:00:00.057
And
I click on "Add Systems"
00:00:01.049
Then
I should see a "1 systems were added to new-systems-group server group" text
00:00:00.093
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: Add the new group to SSM
When
I follow the left menu "Systems > System Groups"
00:00:00.060
And
I click on "Use in SSM" in row "new-systems-group"
00:00:00.060
Then
I should see a "Selected Systems List" text
00:00:00.085
And
I should see "rhlike_minion" as link
00:00:00.014
And
I should see "sle_minion" as link
00:00:00.010
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: New formula page is rendered for the system group
When
I follow the left menu "Systems > System Groups"
00:00:00.060
And
I follow "new-systems-group"
00:00:00.310
And
I follow "Formulas"
00:00:00.397
Then
I should see a "Choose formulas:" text
00:00:00.067
And
I should see a "General System Configuration" text
00:00:00.293
And
the "locale" formula should be unchecked
00:00:10.037
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
@rhlike_minion
Scenario: Apply the highstate to the group
When
I follow the left menu "Systems > System Groups"
00:00:00.060
Then
I should see a "System Groups" text
00:00:00.084
When
I follow "new-systems-group"
00:00:00.312
And
I follow "States"
00:00:00.404
And
I click on "Apply Highstate"
00:00:00.059
Then
I should see a "Applying the highstate has been scheduled." text
00:00:00.436
When
I follow "scheduled"
00:00:00.274
Then
I should see a "Apply states (highstate)" text
00:00:00.058
And
I should see a "Action Details" text
00:00:00.057
And
I wait until I see "2 systems successfully completed this action." text, refreshing the page
00:00:29.860
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: Remove SLE minion from new group
Given
I am on the Systems overview page of this "sle_minion"
00:00:01.509
When
I follow "Groups"
00:00:00.395
And
I check "new-systems-group" in the list
00:00:00.063
And
I click on "Leave Groups"
00:00:00.906
Then
I should see a "1 system groups removed." text
00:00:00.065
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: Cleanup: remove the new group
When
I follow the left menu "Systems > System Groups"
00:00:00.074
When
I follow "new-systems-group" in the content area
00:00:00.068
And
I follow "Delete Group" in the content area
00:00:00.064
And
I click on "Confirm Deletion"
00:00:00.987
Then
I should see a "System group" text
00:00:00.064
And
I should see a "new-systems-group" text
00:00:00.062
And
I should see a "deleted" text
00:00:00.063
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
Scenario: Cleanup: regenerate search index for later tests
Search by hostname: uyuni-master-suse-minion
[{"last_boot"=>"2026-06-07T04:28:25Z", "name"=>"uyuni-master-suse-minion.sumaci.aws", "id"=>1000010023, "last_checkin"=>"2026-06-07T06:51:22Z"}]
@scope_ssm
@sle_minion
@scope_visualization
@skip_if_github_validation
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:00.853
And
I remove package "andromeda-dummy" from this "sle_minion" without error control
00:00:01.660
And
I remove package "virgo-dummy" from this "sle_minion" without error control
00:00:01.665