@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:06.390
And
I perform a full salt minion cleanup on "sle_minion"
00:00:08.291
And
I wait until Salt client is inactive on "sle_minion"
00:00:00.430
Then
"sle_minion" should not be registered
00:00:01.083
When
I follow the left menu "Systems > Bootstrapping"
00:00:00.139
Then
I should see a "Bootstrap Minions" text
00:00:00.151
The hostname of sle_minion is uyuni-master-suse-minion.sumaci.aws
And
I enter "22" as "port"
00:00:00.053
And
I enter "root" as "user"
00:00:00.057
And
I enter "linux" as "password"
00:00:00.057
And
I select "1-SUSE-KEY-x86_64" from "activationKeys"
00:00:00.070
And
I select the hostname of "proxy" from "proxies" if present
00:00:00.061
And
I click on "Bootstrap"
00:00:00.064
And
I wait until I see "Bootstrap process initiated." text
00:00:42.793
And
I wait until onboarding is completed for "sle_minion"
00:01:21.542
@sle_minion
@proxy
Scenario: Check the new bootstrapped minion in System Overview page
When
I follow the left menu "Salt > Keys"
00:00:00.136
Then
I should see a "accepted" text
00:00:00.375
It took 4 seconds to contact the minion
Given
I am on the Systems overview page of this "sle_minion"
00:00:01.738
When
I follow "Details" in the content area
00:00:00.073
And
I follow "Connection" in the content area
00:00:00.067
Then
I should see "proxy" short hostname
00:00:00.161
Given
I am on the Systems overview page of this "proxy"
00:00:01.799
When
I follow "Details" in the content area
00:00:00.059
And
I follow "Proxy" in the content area
00:00:00.071
Then
I should see "sle_minion" hostname
00:00:00.220
Given
I am on the Systems overview page of this "sle_minion"
00:00:01.733
When
I follow "Details" in the content area
00:00:00.061
And
I follow "Connection" in the content area
00:00:00.088
And
I follow "Change" in the content area
00:00:00.064
And
I select "None" from "proxies"
00:00:00.071
And
I click on "Change Proxy"
00:00:00.059
And
I wait until I see "scheduled" text
00:00:00.432
And
I follow "Events"
00:00:00.606
And
I follow "History"
00:00:00.563
And
I wait until I see the event "Apply states [bootstrap.set_proxy] scheduled" completed during last minute, refreshing the page
00:00:11.541
And
I wait until I see the event "Apply states [channels] scheduled" completed during last minute, refreshing the page
00:00:23.526
Given
I am on the Systems overview page of this "sle_minion"
00:00:02.989
When
I follow "Details" in the content area
00:00:00.062
And
I follow "Connection" in the content area
00:00:00.075
Then
I should see a "This system connects directly and not through a Proxy" text
00:00:00.143
Given
I wait for "120" seconds
00:02:00.000
When
I follow the left menu "Systems > System List > All"
00:00:00.143
And
I click on the clear SSM button
00:00:00.064
And
I check the "sle_minion" client
00:00:00.454
And
I should see "1" systems selected for SSM
00:00:00.100
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.542
And
I follow "proxy server" in the content area
00:00:00.073
And
I select the hostname of "proxy" from "proxies" if present
00:00:00.080
And
I click on "Change Proxy"
00:00:00.058
And
I wait until I see "scheduled" text
00:00:00.371
Given
I am on the Systems overview page of this "sle_minion"
00:00:01.706
And
I follow "Events"
00:00:00.475
And
I follow "History"
00:00:00.431
And
I wait until I see the event "Apply states [bootstrap.set_proxy] scheduled" completed during last minute, refreshing the page
00:00:00.011
And
I wait until I see the event "Apply states [channels] scheduled" completed during last minute, refreshing the page
00:00:34.719
Given
I am on the Systems overview page of this "proxy"
00:00:01.740
When
I follow "Details" in the content area
00:00:00.072
And
I follow "Proxy" in the content area
00:00:00.066
Then
I should see "sle_minion" hostname
00:00:00.219
Given
I am on the Systems overview page of this "sle_minion"
00:00:01.932
When
I follow "Details" in the content area
00:00:00.061
And
I follow "Connection" in the content area
00:00:00.066
Then
I should see "proxy" short hostname
00:00:00.157