@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:05.120
And
I perform a full salt minion cleanup on "ssh_minion"
00:00:04.761
And
I wait until Salt client is inactive on "ssh_minion"
00:00:00.438
Then
"ssh_minion" should not be registered
00:00:00.996
When
I follow the left menu "Systems > Bootstrapping"
00:00:00.163
Then
I should see a "Bootstrap Minions" text
00:00:00.086
When
I check "manageWithSSH"
00:00:00.101
The hostname of ssh_minion is uyuni-master-suse-sshminion.sumaci.aws
And
I enter "root" as "user"
00:00:00.067
And
I enter "linux" as "password"
00:00:00.064
And
I select "1-SUSE-SSH-KEY-x86_64" from "activationKeys"
00:00:00.084
And
I select the hostname of "proxy" from "proxies" if present
00:00:00.070
And
I click on "Bootstrap"
00:00:00.071
And
I wait at most 480 seconds until I see "Bootstrap process initiated." text
00:00:47.875
execution expired (Timeout::Error) ./features/support/commonlib.rb:89:in `repeat_until_timeout' ./features/step_definitions/navigation_steps.rb:70:in `/^I wait until I see "([^"]*)" (text|regex), refreshing the page$/' ./features/step_definitions/common_steps.rb:157:in `/^I wait (\d+) seconds until the event is picked up and (\d+) seconds until the event "([^"]*)" is completed$/' ./features/step_definitions/setup_steps.rb:218:in `/^I wait at most (\d+) seconds until onboarding is completed for "([^"]*)"$/' ./features/step_definitions/setup_steps.rb:230:in `/^I wait until onboarding is completed for "([^"]*)"$/' features/secondary/minssh_move_from_and_to_proxy.feature:39:in `I wait until onboarding is completed for "ssh_minion"'
@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.768
When
I follow "Details" in the content area
00:00:00.090
And
I follow "Connection" in the content area
00:00:00.075
Then
I should see "proxy" short hostname
00:00:00.069
@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.624
When
I follow "Details" in the content area
00:00:00.074
And
I follow "Proxy" in the content area
00:00:00.077
Then
I should see "ssh_minion" hostname
00:00:00.098
@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.669
When
I follow "Details" in the content area
00:00:00.077
And
I follow "Connection" in the content area
00:00:00.067
And
I follow "Change" in the content area
00:00:00.074
And
I select "None" from "proxies"
00:00:00.080
And
I click on "Change Proxy"
00:00:00.066
And
I wait until I see "scheduled" text
00:00:00.371
And
I follow "Events"
00:00:00.770
And
I follow "History"
00:00:00.587
And
I wait until I see the event "Apply states [channels] scheduled" completed during last minute, refreshing the page
00:00:34.730
Given
I am on the Systems overview page of this "ssh_minion"
00:00:01.662
When
I follow "Details" in the content area
00:00:00.073
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.061
Given
I wait for "120" seconds
00:02:00.000
Given
I am on the Systems overview page of this "ssh_minion"
00:00:01.627
When
I follow "Details" in the content area
00:00:00.075
And
I follow "Connection" in the content area
00:00:00.069
And
I follow "Change" in the content area
00:00:00.075
And
I select the hostname of "proxy" from "proxies" if present
00:00:00.083
And
I click on "Change Proxy"
00:00:00.066
And
I wait until I see "scheduled" text
00:00:00.379
And
I follow "Events"
00:00:00.425
And
I follow "History"
00:00:00.444
And
I wait until I see the event "Apply states [channels] scheduled" completed during last minute, refreshing the page
00:00:34.577
@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.818
When
I follow "Details" in the content area
00:00:00.072
And
I follow "Proxy" in the content area
00:00:00.074
Then
I should see "ssh_minion" hostname
00:00:00.085
@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:01.626
When
I follow "Details" in the content area
00:00:00.075
And
I follow "Connection" in the content area
00:00:00.067
Then
I should see "proxy" short hostname
00:00:00.070