@skip_if_github_validation
@scope_res
@rhlike_minion
@proxy
Feature: 0045 - Bootstrap a SSH-managed Red Hat-like minion and do some basic operations on it
File name: min_rhlike_ssh.feature
Relative path: secondary/min_rhlike_ssh.feature
@skip_if_github_validation
@scope_res
@rhlike_minion
Scenario: Delete the Red Hat-like minion before SSH minion tests
When
I am on the Systems overview page of this "rhlike_minion"
00:00:02.532
And
I follow "Delete System"
00:00:00.546
Then
I should see a "Confirm System Profile Deletion" text
00:00:00.058
When
I click on "Delete Profile"
00:00:00.060
And
I wait until I see "has been deleted" text
00:04:05.156
And
I wait until Salt client is inactive on "rhlike_minion"
00:00:00.575
Then
"rhlike_minion" should not be registered
00:00:01.048
@skip_if_github_validation
@scope_res
@rhlike_minion
Scenario: Bootstrap a SSH-managed Red Hat-like minion
When
I follow the left menu "Systems > Bootstrapping"
00:00:00.084
Then
I should see a "Bootstrap Minions" text
00:00:00.062
When
I check "manageWithSSH"
00:00:00.086
The hostname of rhlike_minion is uyuni-master-rhlike-minion.sumaci.aws
And
I enter "linux" as "password"
00:00:00.061
And
I select the hostname of "proxy" from "proxies" if present
00:00:02.950
And
I click on "Bootstrap"
00:00:00.058
And
I wait at most 480 seconds until I see "Bootstrap process initiated." text
00:00:59.198
And
I follow the left menu "Systems > System List > All"
00:00:00.149
And
I wait until I see the name of "rhlike_minion", refreshing the page
00:00:58.250
And
I wait until onboarding is completed for "rhlike_minion"
00:00:45.345
@skip_if_github_validation
@scope_res
@rhlike_minion
@proxy
Scenario: Check connection from SSH-managed Red Hat-like minion to proxy
Given
I am on the Systems overview page of this "rhlike_minion"
00:00:01.656
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.061
@skip_if_github_validation
@scope_res
@rhlike_minion
@proxy
Scenario: Check registration on proxy of SSH-managed Red Hat-like minion
Given
I am on the Systems overview page of this "proxy"
00:00:01.779
When
I follow "Details" in the content area
00:00:00.061
And
I follow "Proxy" in the content area
00:00:00.064
Then
I should see "rhlike_minion" hostname
00:00:00.095
@skip_if_github_validation
@scope_res
@rhlike_minion
Scenario: Subscribe the SSH-managed Red Hat-like minion to a base channel
Given
I am on the Systems overview page of this "rhlike_minion"
00:00:03.247
When
I follow "Software" in the content area
00:00:00.066
And
I follow "Software Channels" in the content area
00:00:00.061
And
I wait until I do not see "Loading..." text
00:00:00.065
And
I check radio button "Fake-Base-Channel-RH-like"
00:00:10.073
And
I wait until I do not see "Loading..." text
00:00:00.488
And
I click on "Next"
00:00:00.059
Then
I should see a "Confirm Software Channel Change" text
00:00:00.055
When
I click on "Confirm"
00:00:00.055
Then
I should see a "Changing the channels has been scheduled." text
00:00:00.384
And
I wait until event "Subscribe channels scheduled" is completed
00:00:56.422
@skip_if_github_validation
@scope_res
@rhlike_minion
Scenario: Run a remote command on the SSH-managed Red Hat-like minion
When
I follow the left menu "Salt > Remote Commands"
00:00:00.130
Then
I should see a "Remote Commands" text in the content area
00:00:00.023
When
I enter command "cat /etc/os-release"
00:00:00.092
And
I enter target "rhlike_minion"
00:00:00.106
And
I click on preview
00:00:10.314
And
I click on run
00:00:00.045
Then
I should see "rhlike_minion" hostname
00:00:00.053
When
I wait for "15" seconds
00:00:15.000
And
I expand the results for "rhlike_minion"
00:00:00.048
Then
I should see a "rhel centos fedora" text
00:00:00.051
And
I should see a "ROCKY_SUPPORT_PRODUCT" text
00:00:00.050
@skip_if_github_validation
@scope_res
@rhlike_minion
Scenario: Cleanup: delete the SSH-managed Red Hat-like minion
When
I am on the Systems overview page of this "rhlike_minion"
00:00:01.893
And
I follow "Delete System"
00:00:00.444
Then
I should see a "Confirm System Profile Deletion" text
00:00:00.062
When
I click on "Delete Profile"
00:00:00.076
And
I wait until I see "has been deleted" text
00:00:14.407
Then
"rhlike_minion" should not be registered
00:00:01.086
@skip_if_github_validation
@scope_res
@rhlike_minion
Scenario: Cleanup: bootstrap a Red Hat-like minion after SSH minion tests
When
I follow the left menu "Systems > Bootstrapping"
00:00:00.078
Then
I should see a "Bootstrap Minions" text
00:00:00.059
The hostname of rhlike_minion is uyuni-master-rhlike-minion.sumaci.aws
And
I enter "22" as "port"
00:00:00.050
And
I enter "root" as "user"
00:00:00.056
And
I enter "linux" as "password"
00:00:00.058
And
I select the hostname of "proxy" from "proxies" if present
00:00:00.071
And
I click on "Bootstrap"
00:00:00.057
And
I wait at most 480 seconds until I see "Bootstrap process initiated." text
00:00:24.266
And
I follow the left menu "Systems > System List > All"
00:00:00.144
And
I wait until I see the name of "rhlike_minion", refreshing the page
00:00:30.851
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/min_rhlike_ssh.feature:115:in `I wait until onboarding is completed for "rhlike_minion"'
@skip_if_github_validation
@scope_res
@rhlike_minion
Scenario: Cleanup: re-subscribe the Red Hat-like minion to a base channel
Given
I am on the Systems overview page of this "rhlike_minion"
00:00:01.745
When
I follow "Software" in the content area
00:00:00.073
And
I follow "Software Channels" in the content area
00:00:00.062
And
I wait until I do not see "Loading..." text
00:00:00.064
And
I check radio button "Fake-Base-Channel-RH-like"
00:00:10.069
And
I wait until I do not see "Loading..." text
00:00:00.473
And
I click on "Next"
00:00:00.058
Then
I should see a "Confirm Software Channel Change" text
00:00:00.055
When
I click on "Confirm"
00:00:00.056
Then
I should see a "Changing the channels has been scheduled." text
00:00:00.291
And
I wait until event "Subscribe channels scheduled" is completed
00:00:19.176