@skip_if_github_validation
@scope_salt
Feature: 0125 - Install a package and a patch on the SUSE SSH client via Salt through the UI
File name: minssh_salt_install_package_and_patch.feature
Relative path: secondary/minssh_salt_install_package_and_patch.feature
@skip_if_github_validation
@scope_salt
Scenario: Pre-requisite: remove andromeda-dummy package from SSH minion
When
I remove package "andromeda-dummy" from this "ssh_minion" without error control
00:00:00.901
And
I refresh the metadata for "ssh_minion"
00:00:00.830
And
I refresh packages list via spacecmd on "ssh_minion"
00:00:08.871
And
I wait until refresh package list on "ssh_minion" is finished
00:00:24.333
@skip_if_github_validation
@scope_salt
Scenario: Pre-requisite: refresh package list and check old packages installed on SSH minion
When
I refresh packages list via spacecmd on "ssh_minion"
00:00:09.412
And
I wait until refresh package list on "ssh_minion" is finished
00:00:23.109
Then
spacecmd should show packages "virgo-dummy-1.0" installed on "ssh_minion"
00:00:09.734
And
I wait until package "andromeda-dummy-2.0-1.1" is removed from "ssh_minion" via spacecmd
00:00:08.299
@skip_if_github_validation
@scope_salt
Scenario: Pre-requisite: ensure the errata cache is computed before patching Salt minion
Given
I am on the Systems overview page of this "ssh_minion"
00:00:02.398
When
I follow "Software" in the content area
00:00:00.075
And
I follow "List / Remove" in the content area
00:00:00.066
And
I enter "virgo-dummy" as the filtered package name
00:00:00.203
And
I click on the filter button until page does contain "virgo-dummy" text
00:04:10.000
+ 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/minssh_salt_install_package_and_patch.feature:35:in `I click on the filter button until page does contain "virgo-dummy" text'
When
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: Install a patch on the SSH minion
Requested /rhn/systems/details/Overview.do?sid=1000010023, got https://uyuni-master-server.sumaci.aws/rhn/manager/login?url_bounce=%2Frhn%2Fsystems%2Fdetails%2FOverview.do%3Fsid%3D1000010023&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/minssh_salt_install_package_and_patch.feature:45:in `I follow "Software" in the content area'
And
I follow "Patches" in the content area
0s
And
I enter "virgo" as the filtered synopsis
0s
And
I click on the filter button
0s
And
I check "virgo-dummy-3456" in the list
0s
And
I check "allowVendorChange"
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
When
I wait for "virgo-dummy-2.0-1.1" to be installed on "ssh_minion"
0s
Then
vendor change should be enabled for package actions on "ssh_minion"
0s
@skip_if_github_validation
@scope_salt
Scenario: Install a package on the SSH minion
Given
I am on the Systems overview page of this "ssh_minion"
00:00:01.533
When
I follow "Software" in the content area
00:00:00.074
And
I follow "Packages"
00:00:00.440
And
I follow "Install"
00:00:00.542
And
I enter "andromeda" as the filtered package name
00:00:00.092
And
I click on the filter button
00:00:00.643
And
I check "andromeda-dummy-2.0-1.1" in the list
00:00:00.061
And
I click on "Install Packages"
00:00:00.755
And
I click on "Confirm"
00:00:00.675
Then
I should see a "1 package install has been scheduled" text
00:00:00.077
When
I wait for "andromeda-dummy-2.0-1.1" to be installed on "ssh_minion"
00:00:24.107
Then
vendor change should be enabled for package actions on "ssh_minion"
00:00:01.019
@skip_if_github_validation
@scope_salt
Scenario: Cleanup: remove virgo-dummy package from SSH minion
When
I remove package "virgo-dummy" from this "ssh_minion" without error control
00:00:01.624
And
I refresh the metadata for "ssh_minion"
00:00:00.948
And
I refresh packages list via spacecmd on "ssh_minion"
00:00:09.062
And
I wait until refresh package list on "ssh_minion" is finished
00:00:35.687
@skip_if_github_validation
@scope_salt
Scenario: Cleanup: remove andromeda-dummy package from SSH minion
When
I remove package "andromeda-dummy" from this "ssh_minion" without error control
00:00:01.399
And
I refresh the metadata for "ssh_minion"
00:00:00.781
And
I refresh packages list via spacecmd on "ssh_minion"
00:00:08.028
And
I wait until refresh package list on "ssh_minion" is finished
00:00:24.279