@ssh_minion
@scope_salt_ssh
@proxy
Feature: 0077 - Move a SSH minion from a proxy to direct connection
File name: minssh_move_from_and_to_proxy.feature
Relative path: secondary/minssh_move_from_and_to_proxy.feature
@ssh_minion
@scope_salt_ssh
@proxy
Scenario: Delete minion system profile before bootstrap
When
I delete "ssh_minion" system using the api
00:00:04.639
And
I perform a full salt minion cleanup on "ssh_minion"
00:00:05.092
And
I wait until Salt client is inactive on "ssh_minion"
00:00:00.464
Then
"ssh_minion" should not be registered
00:00:01.244
When
I follow the left menu "Systems > Bootstrapping"
00:00:00.145
Then
I should see a "Bootstrap Minions" text
00:00:00.065
When
I check "manageWithSSH"
00:00:00.090
The hostname of ssh_minion is uyuni-master-suse-sshminion.sumaci.aws
And
I enter "root" as "user"
00:00:00.061
And
I enter "linux" as "password"
00:00:00.060
And
I select "1-SUSE-SSH-KEY-x86_64" from "activationKeys"
00:00:00.074
And
I select the hostname of "proxy" from "proxies" if present
00:00:00.063
And
I click on "Bootstrap"
00:00:00.063
And
I wait at most 480 seconds until I see "Bootstrap process initiated." text
00:00:53.857
And
I wait until onboarding is completed for "ssh_minion"
00:01:42.719
@ssh_minion
@scope_salt_ssh
@proxy
Scenario: Check initial connection from minion to proxy
Given
I am on the Systems overview page of this "ssh_minion"
00:00:01.911
When
I follow "Details" in the content area
00:00:00.074
And
I follow "Connection" in the content area
00:00:00.070
Then
I should see "proxy" short hostname
00:00:00.067
@ssh_minion
@scope_salt_ssh
@proxy
Scenario: Check initial registration on proxy of minion
Given
I am on the Systems overview page of this "proxy"
00:00:01.855
When
I follow "Details" in the content area
00:00:00.060
And
I follow "Proxy" in the content area
00:00:00.072
Then
I should see "ssh_minion" hostname
00:00:00.091
@ssh_minion
@scope_salt_ssh
@proxy
Scenario: Change from proxy to direct connection
Given
I am on the Systems overview page of this "ssh_minion"
00:00:01.886
When
I follow "Details" in the content area
00:00:00.079
And
I follow "Connection" in the content area
00:00:00.077
And
I follow "Change" in the content area
00:00:00.066
And
I select "None" from "proxies"
00:00:00.071
And
I click on "Change Proxy"
00:00:00.058
And
I wait until I see "scheduled" text
00:00:00.345
And
I follow "Events"
00:00:00.472
And
I follow "History"
00:00:00.359
And
I wait until I see the event "Apply states [channels] scheduled" completed during last minute, refreshing the page
00:00:34.481
Given
I am on the Systems overview page of this "ssh_minion"
00:00:01.790
When
I follow "Details" in the content area
00:00:00.063
And
I follow "Connection" in the content area
00:00:00.061
Then
I should see a "This system connects directly and not through a Proxy" text
00:00:00.058
Given
I wait for "120" seconds
00:02:00.000
Given
I am on the Systems overview page of this "ssh_minion"
00:00:02.125
When
I follow "Details" in the content area
00:00:00.062
And
I follow "Connection" in the content area
00:00:00.059
And
I follow "Change" in the content area
00:00:00.094
And
I select the hostname of "proxy" from "proxies" if present
00:00:00.074
And
I click on "Change Proxy"
00:00:00.060
And
I wait until I see "scheduled" text
00:00:00.352
And
I follow "Events"
00:00:00.478
And
I follow "History"
00:00:00.416
And
I wait until I see the event "Apply states [channels] scheduled" completed during last minute, refreshing the page
00:00:34.487
@ssh_minion
@scope_salt_ssh
@proxy
Scenario: Check registration on proxy of minion
Given
I am on the Systems overview page of this "proxy"
00:00:01.989
When
I follow "Details" in the content area
00:00:00.065
And
I follow "Proxy" in the content area
00:00:00.066
Then
I should see "ssh_minion" hostname
00:00:00.094
@ssh_minion
@scope_salt_ssh
@proxy
Scenario: Check connection from minion to proxy
Given
I am on the Systems overview page of this "ssh_minion"
00:00:02.004
When
I follow "Details" in the content area
00:00:00.065
And
I follow "Connection" in the content area
00:00:00.069
Then
I should see "proxy" short hostname
00:00:00.064