@scope_deblike
@scope_salt
@deblike_minion
@susemanager
@uyuni
Feature: 0129 - 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] Ign:4 https://uyuni-master-proxy.sumaci.aws:443/rhn/manager/download fake-base-channel-debian-like/ InRelease Get:5 http://mirror.sumaci.aws/repositories/systemsmanagement:/Uyuni:/Test-Packages:/Pool/deb Packages [785 B] Hit:6 https://uyuni-master-proxy.sumaci.aws:443/rhn/manager/download fake-base-channel-debian-like/ Release Ign:7 https://uyuni-master-proxy.sumaci.aws:443/rhn/manager/download fake-base-channel-debian-like/ Release.gpg Fetched 2,333 B in 0s (8,876 B/s) Reading package lists... Building dependency tree... Reading state information... 2 packages can be upgraded. Run 'apt list --upgradable' to see them. 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.452
@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:02.289
When
I follow "Software" in the content area
00:00:00.072
And
I click on "Update Package List"
00:00:01.004
And
I follow "Events" in the content area
00:00:00.065
And
I wait until I do not see "Package List Refresh scheduled" text, refreshing the page
00:00:24.215
And
I wait until package "virgo-dummy" is installed on "deblike_minion" via spacecmd
00:00:09.655
And
I wait until package "andromeda-dummy" is removed from "deblike_minion" via spacecmd
00:00:08.465
@scope_deblike
@scope_salt
@deblike_minion
Scenario: Install a patch on the Debian-like minion
When
I follow "Software" in the content area
00:00:00.064
And
I follow "Patches" in the content area
00:00:00.068
Unable to find xpath "//table/tbody/tr[.//td[contains(.,'3456-1')]]//input[@type='checkbox']" (Capybara::ElementNotFound) ./features/support/navigation_step_helper.rb:32:in `toggle_checkbox_in_list' ./features/support/navigation_step_helper.rb:10:in `toggle_checkbox_in_package_list' ./features/step_definitions/navigation_steps.rb:1047:in `/^I (check|uncheck) "([^"]*)"(| last version) in the list$/' features/secondary/min_deblike_salt_install_package_and_patch.feature:34:in `I check "3456-1" in the list'
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
When
I follow "Software" in the content area
00:00:00.076
And
I follow "Install"
00:00:00.511
And
I check "andromeda-dummy-2.0" in the list
00:00:00.062
And
I click on "Install Packages"
00:00:00.549
And
I click on "Confirm"
00:00:00.667
And
I should see a "1 package install has been scheduled for" text
00:00:00.150
When
I wait until event "Package Install/Upgrade scheduled" is completed
00:00:22.148
Then
Deb package "andromeda-dummy" with version "2.0" should be installed on "deblike_minion"
00:00:01.024
@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.393
OUT: Ign:1 https://uyuni-master-proxy.sumaci.aws:443/rhn/manager/download fake-base-channel-debian-like/ InRelease Hit:2 https://uyuni-master-proxy.sumaci.aws:443/rhn/manager/download fake-base-channel-debian-like/ Release Ign:3 https://uyuni-master-proxy.sumaci.aws:443/rhn/manager/download fake-base-channel-debian-like/ Release.gpg Reading package lists... Building dependency tree... Reading state information... 1 package can be upgraded. Run 'apt list --upgradable' to see it. WARNING: apt does not have a stable CLI interface. Use with caution in scripts.