@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.316
And
I follow "Delete System"
00:00:00.466
Then
I should see a "Confirm System Profile Deletion" text
00:00:00.060
When
I click on "Delete Profile"
00:00:00.060
And
I wait until I see "has been deleted" text
00:04:03.182
And
I wait until Salt client is inactive on "rhlike_minion"
00:00:00.451
Then
"rhlike_minion" should not be registered
00:00:01.202
@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.082
Then
I should see a "Bootstrap Minions" text
00:00:00.068
When
I check "manageWithSSH"
00:00:00.097
The hostname of rhlike_minion is uyuni-master-rhlike-minion.sumaci.aws
And
I enter "linux" as "password"
00:00:00.062
And
I select the hostname of "proxy" from "proxies" if present
00:00:02.983
And
I click on "Bootstrap"
00:00:00.063
And
I wait at most 480 seconds until I see "Bootstrap process initiated." text
00:01:01.871
And
I follow the left menu "Systems > System List > All"
00:00:00.157
And
I wait until I see the name of "rhlike_minion", refreshing the page
00:00:44.368
And
I wait until onboarding is completed for "rhlike_minion"
00:00:38.631
@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.767
When
I follow "Details" in the content area
00:00:00.072
And
I follow "Connection" in the content area
00:00:00.066
Then
I should see "proxy" short hostname
00:00:00.063
@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.979
When
I follow "Details" in the content area
00:00:00.079
And
I follow "Proxy" in the content area
00:00:00.066
Then
I should see "rhlike_minion" hostname
00:00:00.088
@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:01.830
When
I follow "Software" in the content area
00:00:00.073
And
I follow "Software Channels" in the content area
00:00:00.083
And
I wait until I do not see "Loading..." text
00:00:00.067
And
I check radio button "Fake-Base-Channel-RH-like"
00:00:10.096
And
I wait until I do not see "Loading..." text
00:00:00.412
And
I click on "Next"
00:00:00.069
Then
I should see a "Confirm Software Channel Change" text
00:00:00.056
When
I click on "Confirm"
00:00:00.075
Then
I should see a "Changing the channels has been scheduled." text
00:00:00.288
And
I wait until event "Subscribe channels scheduled" is completed
00:00:55.619
@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.138
Then
I should see a "Remote Commands" text in the content area
00:00:00.022
When
I enter command "cat /etc/os-release"
00:00:00.093
And
I enter target "rhlike_minion"
00:00:00.107
And
I click on preview
00:00:10.269
And
I click on run
00:00:00.047
Then
I should see "rhlike_minion" hostname
00:00:00.056
When
I wait for "15" seconds
00:00:15.000
And
I expand the results for "rhlike_minion"
00:00:00.052
Then
I should see a "rhel centos fedora" text
00:00:00.061
And
I should see a "ROCKY_SUPPORT_PRODUCT" text
00:00:00.052
@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:02.004
And
I follow "Delete System"
00:00:00.622
Then
I should see a "Confirm System Profile Deletion" text
00:00:00.061
When
I click on "Delete Profile"
00:00:00.061
And
I wait until I see "has been deleted" text
00:00:15.063
Then
"rhlike_minion" should not be registered
00:00:01.338
@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.080
Then
I should see a "Bootstrap Minions" text
00:00:00.061
The hostname of rhlike_minion is uyuni-master-rhlike-minion.sumaci.aws
And
I enter "22" as "port"
00:00:00.052
And
I enter "root" as "user"
00:00:00.056
And
I enter "linux" as "password"
00:00:00.086
And
I select the hostname of "proxy" from "proxies" if present
00:00:00.074
And
I click on "Bootstrap"
00:00:00.061
And
I wait at most 480 seconds until I see "Bootstrap process initiated." text
00:00:26.280
And
I follow the left menu "Systems > System List > All"
00:00:00.152
And
I wait until I see the name of "rhlike_minion", refreshing the page
00:00:31.089
And
I wait until onboarding is completed for "rhlike_minion"
00:00:53.390
@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.902
When
I follow "Software" in the content area
00:00:00.072
And
I follow "Software Channels" in the content area
00:00:00.066
And
I wait until I do not see "Loading..." text
00:00:00.063
And
I check radio button "Fake-Base-Channel-RH-like"
00:00:10.088
And
I wait until I do not see "Loading..." text
00:00:00.405
And
I click on "Next"
00:00:00.063
Then
I should see a "Confirm Software Channel Change" text
00:00:00.059
When
I click on "Confirm"
00:00:00.076
Then
I should see a "Changing the channels has been scheduled." text
00:00:00.274
And
I wait until event "Subscribe channels scheduled" is completed
00:00:18.883