@skip_if_github_validation
@scope_salt
Feature: 0137 - System package list is updated if packages are manually installed or removed
File name: min_salt_pkgset_beacon.feature
Relative path: secondary/min_salt_pkgset_beacon.feature
@skip_if_github_validation
@scope_salt
Scenario: Pre-requisite: install milkyway-dummy-1.0 package
When
I enable repository "test_repo_rpm_pool" on this "sle_minion"
00:00:00.818
And
I refresh the metadata for "sle_minion"
00:00:00.925
And
I install old package "milkyway-dummy-1.0" on this "sle_minion" without error control
00:00:01.918
@skip_if_github_validation
@scope_salt
Scenario: Pre-requisite: refresh package list and check installed packages on SLE minion client
When
I refresh packages list via spacecmd on "sle_minion"
00:00:09.897
And
I wait until refresh package list on "sle_minion" is finished
00:00:12.947
Then
spacecmd should show packages "milkyway-dummy-1.0" installed on "sle_minion"
00:00:07.339
@skip_if_github_validation
@scope_salt
Scenario: Pre-requisite: ensure the errata cache is computed before package list tests
Given
I am on the Systems overview page of this "sle_minion"
00:00:02.473
When
I follow "Software" in the content area
00:00:00.077
And
I follow "List / Remove" in the content area
00:00:00.064
And
I enter "milkyway-dummy" as the filtered package name
00:00:00.200
And
I click on the filter button until page does contain "milkyway-dummy-1.0" text
00:00:10.967
And
I follow the left menu "Admin > Task Schedules"
00:00:00.133
And
I follow "errata-cache-default"
00:00:00.412
And
I follow "errata-cache-bunch"
00:00:01.314
And
I click on "Single Run Schedule"
00:00:01.278
Then
I should see a "bunch was scheduled" text
00:00:00.274
When
I wait until the table contains "FINISHED" or "SKIPPED" followed by "FINISHED" in its first rows
00:00:01.222
@skip_if_github_validation
@scope_salt
Scenario: Remove manually a package on a minion
Given
I am on the Systems overview page of this "sle_minion"
00:00:01.564
When
I follow "Software" in the content area
00:00:00.072
And
I follow "List / Remove"
00:00:00.696
And
I enter "milkyway-dummy" as the filtered package name
00:00:00.147
And
I click on the filter button
00:00:00.834
Then
I should see a "milkyway-dummy" text
00:00:00.073
When
I remove package "milkyway-dummy" from this "sle_minion"
00:00:02.138
And
I click on the filter button until page does not contain "milkyway-dummy" text
00:00:15.563
@skip_if_github_validation
@scope_salt
Scenario: Install manually a package on a minion
When
I follow "Software" in the content area
00:00:00.074
And
I follow "List / Remove"
00:00:01.035
And
I enter "milkyway-dummy" as the filtered package name
00:00:00.144
And
I click on the filter button
00:00:00.842
Then
I should not see a "milkyway-dummy" text
00:00:00.068
When
I install package "milkyway-dummy" on this "sle_minion"
00:00:02.222
And
I click on the filter button until page does not contain "milkyway-dummy" text
00:00:10.032
@skip_if_github_validation
@scope_salt
Scenario: Cleanup: remove milkyway-dummy packages from SLES minion
When
I disable repository "test_repo_rpm_pool" on this "sle_minion"
00:00:00.857
And
I remove package "milkyway-dummy" from this "sle_minion" without error control
00:00:01.803
And
I refresh the metadata for "sle_minion"
00:00:00.802