@skip_if_github_validation
@scope_salt
Feature: 0138 - 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.817
And
I refresh the metadata for "sle_minion"
00:00:00.938
And
I install old package "milkyway-dummy-1.0" on this "sle_minion" without error control
00:00:02.009
@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:07.712
And
I wait until refresh package list on "sle_minion" is finished
00:00:13.958
Then
spacecmd should show packages "milkyway-dummy-1.0" installed on "sle_minion"
00:00:09.419
@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.432
When
I follow "Software" in the content area
00:00:00.080
And
I follow "List / Remove" in the content area
00:00:00.067
And
I enter "milkyway-dummy" as the filtered package name
00:00:00.140
And
I click on the filter button until page does contain "milkyway-dummy-1.0" text
00:04:10.007
+ Show Error
execution expired (Timeout::Error) ./features/support/commonlib.rb:89:in `repeat_until_timeout' ./features/step_definitions/navigation_steps.rb:955:in `/^I click on the filter button until page does contain "([^"]*)" text$/' features/secondary/min_salt_pkgset_beacon.feature:27:in `I click on the filter button until page does contain "milkyway-dummy-1.0" text'
And
I follow the left menu "Admin > Task Schedules"
0s
And
I follow "errata-cache-default"
0s
And
I follow "errata-cache-bunch"
0s
And
I click on "Single Run Schedule"
0s
Then
I should see a "bunch was scheduled" text
0s
When
I wait until the table contains "FINISHED" or "SKIPPED" followed by "FINISHED" in its first rows
0s
undefined method `map' for an instance of String (NoMethodError) ./features/support/env.rb:211:in `web_session_is_active?' ./features/support/env.rb:182:in `After'
@skip_if_github_validation
@scope_salt
Scenario: Remove manually a package on a minion
Requested /rhn/systems/details/Overview.do?sid=1000010020, got https://uyuni-master-server.sumaci.aws/rhn/manager/login?url_bounce=%2Frhn%2Fsystems%2Fdetails%2FOverview.do%3Fsid%3D1000010020&request_method=GET
Unable to find link "Software" within #(Capybara::Node::Element tag="section" path="/HTML/BODY[1]/DIV[1]/DIV[1]/SECTION[1]") (Capybara::ElementNotFound) ./features/support/commonlib.rb:193:in `click_link_and_wait' ./features/step_definitions/navigation_steps.rb:366:in `/^I follow "([^"]*)"$/' ./features/step_definitions/navigation_steps.rb:388:in `block (2 levels) in (top (required))' ./features/step_definitions/navigation_steps.rb:387:in `/^I follow "([^"]*)" in the (.+)$/' features/secondary/min_salt_pkgset_beacon.feature:37:in `I follow "Software" in the content area'
And
I follow "List / Remove"
0s
And
I enter "milkyway-dummy" as the filtered package name
0s
And
I click on the filter button
0s
Then
I should see a "milkyway-dummy" text
0s
When
I remove package "milkyway-dummy" from this "sle_minion"
0s
And
I click on the filter button until page does not contain "milkyway-dummy" text
0s
@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.071
And
I follow "List / Remove"
00:00:00.994
And
I enter "milkyway-dummy" as the filtered package name
00:00:00.126
And
I click on the filter button
00:00:00.802
Text 'milkyway-dummy' found on the page (ScriptError) ./features/step_definitions/navigation_steps.rb:747:in `/^I should not see a "([^"]*)" text$/' features/secondary/min_salt_pkgset_beacon.feature:50:in `I should not see a "milkyway-dummy" text'
When
I install package "milkyway-dummy" on this "sle_minion"
0s
And
I click on the filter button until page does not contain "milkyway-dummy" text
0s
@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.830
And
I remove package "milkyway-dummy" from this "sle_minion" without error control
00:00:01.939
And
I refresh the metadata for "sle_minion"
00:00:00.923