@sle_minion
@proxy
Feature: 0076 - Move a minion from a proxy to direct connection
File name: min_move_from_and_to_proxy.feature
Relative path: secondary/min_move_from_and_to_proxy.feature
When
I delete "sle_minion" system using the api
00:00:04.913
And
I perform a full salt minion cleanup on "sle_minion"
00:00:10.908
And
I wait until Salt client is inactive on "sle_minion"
00:00:00.437
Then
"sle_minion" should not be registered
00:00:01.155
When
I follow the left menu "Systems > Bootstrapping"
00:00:00.147
Then
I should see a "Bootstrap Minions" text
00:00:00.084
The hostname of sle_minion is uyuni-master-suse-minion.sumaci.aws
And
I enter "22" as "port"
00:00:00.056
And
I enter "root" as "user"
00:00:00.061
And
I enter "linux" as "password"
00:00:00.061
And
I select "1-SUSE-KEY-x86_64" from "activationKeys"
00:00:00.074
And
I select the hostname of "proxy" from "proxies" if present
00:00:00.065
And
I click on "Bootstrap"
00:00:00.064
And
I wait until I see "Bootstrap process initiated." text
00:00:52.426
And
I wait until onboarding is completed for "sle_minion"
00:01:22.782
@sle_minion
@proxy
Scenario: Check the new bootstrapped minion in System Overview page
When
I follow the left menu "Salt > Keys"
00:00:00.142
Then
I should see a "accepted" text
00:00:00.358
It took 3 seconds to contact the minion
Given
I am on the Systems overview page of this "sle_minion"
00:00:01.768
When
I follow "Details" in the content area
00:00:00.078
And
I follow "Connection" in the content area
00:00:00.070
Then
I should see "proxy" short hostname
00:00:00.070
Given
I am on the Systems overview page of this "proxy"
00:00:01.895
When
I follow "Details" in the content area
00:00:00.063
And
I follow "Proxy" in the content area
00:00:00.073
Then
I should see "sle_minion" hostname
00:00:00.108
Given
I am on the Systems overview page of this "sle_minion"
00:00:02.083
When
I follow "Details" in the content area
00:00:00.069
And
I follow "Connection" in the content area
00:00:00.062
And
I follow "Change" in the content area
00:00:00.068
And
I select "None" from "proxies"
00:00:00.075
And
I click on "Change Proxy"
00:00:00.061
And
I wait until I see "scheduled" text
00:00:00.363
And
I follow "Events"
00:00:00.357
And
I follow "History"
00:00:00.434
And
I wait until I see the event "Apply states [bootstrap.set_proxy] scheduled" completed during last minute, refreshing the page
00:00:11.485
And
I wait until I see the event "Apply states [channels] scheduled" completed during last minute, refreshing the page
00:00:23.005
Given
I am on the Systems overview page of this "sle_minion"
00:00:01.805
When
I follow "Details" in the content area
00:00:00.066
And
I follow "Connection" in the content area
00:00:00.063
Then
I should see a "This system connects directly and not through a Proxy" text
00:00:00.063
Given
I wait for "120" seconds
00:02:00.000
When
I follow the left menu "Systems > System List > All"
00:00:00.153
And
I click on the clear SSM button
00:00:00.066
And
I check the "sle_minion" client
00:00:00.440
And
I should see "1" systems selected for SSM
00:00:00.103
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.536
And
I follow "proxy server" in the content area
00:00:00.079
And
I select the hostname of "proxy" from "proxies" if present
00:00:00.077
Unable to find visible button "Change Proxy" that is not disabled (Capybara::ElementNotFound) ./features/support/commonlib.rb:176:in `click_button_and_wait' ./features/step_definitions/navigation_steps.rb:315:in `/^I click on "([^"]*)"$/' features/secondary/min_move_from_and_to_proxy.feature:76:in `I click on "Change Proxy"'
And
I wait until I see "scheduled" text
0s
Given
I am on the Systems overview page of this "sle_minion"
00:00:01.851
And
I follow "Events"
00:00:00.573
And
I follow "History"
00:00:00.441
And
I wait until I see the event "Apply states [bootstrap.set_proxy] scheduled" completed during last minute, refreshing the page
00:04:10.000
+ Show Error
+ Screenshot
execution expired (Timeout::Error) ./features/support/commonlib.rb:89:in `repeat_until_timeout' ./features/step_definitions/common_steps.rb:178:in `/^I wait until I see the event "([^"]*)" completed during last minute, refreshing the page$/' features/secondary/min_move_from_and_to_proxy.feature:83:in `I wait until I see the event "Apply states [bootstrap.set_proxy] scheduled" completed during last minute, refreshing the page'
And
I wait until I see the event "Apply states [channels] scheduled" completed during last minute, refreshing the page
0s
Given
I am on the Systems overview page of this "proxy"
00:00:01.763
When
I follow "Details" in the content area
00:00:00.075
And
I follow "Proxy" in the content area
00:00:00.068
Hostname uyuni-master-suse-minion.sumaci.aws is not present (ScriptError) ./features/step_definitions/navigation_steps.rb:711:in `/^I should see "([^"]*)" hostname$/' features/secondary/min_move_from_and_to_proxy.feature:90:in `I should see "sle_minion" hostname'
Given
I am on the Systems overview page of this "sle_minion"
00:00:02.055
When
I follow "Details" in the content area
00:00:00.079
And
I follow "Connection" in the content area
00:00:00.070
Hostname uyuni-master-proxy is not present (ScriptError) ./features/step_definitions/navigation_steps.rb:706:in `/^I should see "([^"]*)" short hostname$/' features/secondary/min_move_from_and_to_proxy.feature:96:in `I should see "proxy" short hostname'