@scope_deblike
@scope_salt
@deblike_minion
@susemanager
@uyuni
Feature: 0128 - Install and upgrade package on the Debian-like minion via Salt through the UI
File name: min_deblike_salt_install_package_and_patch.feature
Relative path: secondary/min_deblike_salt_install_package_and_patch.feature
@scope_deblike
@scope_salt
@deblike_minion
Scenario: Pre-requisite: install virgo-dummy-1.0 package on Debian-like minion
OUT: Ign:1 http://mirror.sumaci.aws/repositories/systemsmanagement:/Uyuni:/Test-Packages:/Pool/deb InRelease Get:2 http://mirror.sumaci.aws/repositories/systemsmanagement:/Uyuni:/Test-Packages:/Pool/deb Release [1,026 B] Get:3 http://mirror.sumaci.aws/repositories/systemsmanagement:/Uyuni:/Test-Packages:/Pool/deb Release.gpg [522 B] Get:4 http://mirror.sumaci.aws/repositories/systemsmanagement:/Uyuni:/Test-Packages:/Pool/deb Packages [785 B] Fetched 2,333 B in 0s (8,435 B/s) Reading package lists... Building dependency tree... Reading state information... All packages are up to date. WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
And
I install old package "virgo-dummy=1.0" on this "deblike_minion"
00:00:02.303
@scope_deblike
@scope_salt
@deblike_minion
Scenario: Pre-requisite: refresh package list and check newly installed packages on Debian-like minion
Given
I am on the Systems overview page of this "deblike_minion"
00:00:01.707
+ Show Error
+ Screenshot
No system found for hostname: uyuni-master-deblike-minion (RuntimeError) ./features/support/commonlib.rb:444:in `get_system_id' ./features/step_definitions/navigation_steps.rb:502:in `/^I am on the Systems overview page of this "([^"]*)"$/' features/secondary/min_deblike_salt_install_package_and_patch.feature:23:in `I am on the Systems overview page of this "deblike_minion"'
When
I follow "Software" in the content area
0s
And
I click on "Update Package List"
0s
And
I follow "Events" in the content area
0s
And
I wait until I do not see "Package List Refresh scheduled" text, refreshing the page
0s
And
I wait until package "virgo-dummy" is installed on "deblike_minion" via spacecmd
0s
And
I wait until package "andromeda-dummy" is removed from "deblike_minion" via spacecmd
0s
@scope_deblike
@scope_salt
@deblike_minion
Scenario: Install a patch on the Debian-like minion
Unable to find link "Software" within #(Capybara::Node::Element tag="section" path="/HTML/BODY[1]/DIV[3]/DIV[1]/DIV[1]/SECTION[1]") (Capybara::ElementNotFound) ./features/support/commonlib.rb:171: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_deblike_salt_install_package_and_patch.feature:32:in `I follow "Software" in the content area'
And
I follow "Patches" in the content area
0s
When
I check "3456-1" in the list
0s
And
I click on "Apply Patches"
0s
And
I click on "Confirm"
0s
Then
I should see a "1 patch update has been scheduled for" text
0s
And
I wait for "virgo-dummy-2.0" to be installed on "deblike_minion"
0s
@scope_deblike
@scope_salt
@deblike_minion
@susemanager
Scenario: Install a package on the Debian-like minion
When
I follow "Software" in the content area
0s
And
I follow "Install"
0s
And
I check "andromeda-dummy-2.0" in the list
0s
And
I click on "Install Packages"
0s
And
I click on "Confirm"
0s
And
I should see a "1 package install has been scheduled for" text
0s
When
I wait until event "Package Install/Upgrade scheduled" is completed
0s
Then
Deb package "andromeda-dummy" with version "2.0" should be installed on "deblike_minion"
0s
@scope_deblike
@scope_salt
@deblike_minion
@uyuni
Scenario: Install a package on the Debian-like minion
Unable to find link "Software" within #(Capybara::Node::Element tag="section" path="/HTML/BODY[1]/DIV[3]/DIV[1]/DIV[1]/SECTION[1]") (Capybara::ElementNotFound) ./features/support/commonlib.rb:171: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_deblike_salt_install_package_and_patch.feature:53:in `I follow "Software" in the content area'
And
I follow "Install"
0s
And
I check "andromeda-dummy-2.0" in the list
0s
And
I click on "Install Packages"
0s
And
I click on "Confirm"
0s
And
I should see a "1 package install has been scheduled for" text
0s
When
I wait until event "Package Install/Upgrade scheduled" is completed
0s
Then
Deb package "andromeda-dummy" with version "2.0" should be installed on "deblike_minion"
0s
@scope_deblike
@scope_salt
@deblike_minion
Scenario: Cleanup: remove andromeda-dummy package from Debian-like minion
When
I remove package "andromeda-dummy" from this "deblike_minion"
00:00:00.246
OUT: Reading package lists... Building dependency tree... Reading state information... All packages are up to date. WARNING: apt does not have a stable CLI interface. Use with caution in scripts.