@scope_onboarding
@custom_download_endpoint
@susemanager
@uyuni
Feature: 0062 - Repos file generation based on custom pillar data
File name: min_custom_pkg_download_endpoint.feature
Relative path: secondary/min_custom_pkg_download_endpoint.feature
@scope_onboarding
@custom_download_endpoint
@susemanager
Scenario: Select the channels of the SLES minion
Given
I am on the Systems overview page of this "sle_minion"
0s
When
I follow "Software" in the content area
0s
And
I follow "Software Channels" in the content area
0s
And
I wait until I do not see "Loading..." text
0s
And
I check radio button "SLE-Product-SLES15-SP7-Pool for x86_64"
0s
And
I wait until I see "SLE-Module-Basesystem15-SP7-Pool for x86_64" text
0s
And
I uncheck "SLE-Module-Basesystem15-SP7-Pool for x86_64"
0s
And
I click on "Next"
0s
Then
I should see a "Confirm Software Channel Change" text
0s
When
I click on "Confirm"
0s
Then
I should see a "Changing the channels has been scheduled." text
0s
When
I follow "scheduled" in the content area
0s
And
I wait until I see "1 system successfully completed this action." text, refreshing the page
0s
@scope_onboarding
@custom_download_endpoint
@uyuni
Scenario: Select the channels of the openSUSE minion
Given
I am on the Systems overview page of this "sle_minion"
00:00:02.041
When
I follow "Software" in the content area
00:00:00.083
And
I follow "Software Channels" in the content area
00:00:00.095
And
I wait until I do not see "Loading..." text
00:00:00.069
Warning: Radio button 'openSUSE Tumbleweed (x86_64)' is already checked
And
I click on "Next"
00:00:01.001
Then
I should see a "Confirm Software Channel Change" text
00:00:00.073
When
I click on "Confirm"
00:00:00.084
Then
I should see a "Changing the channels has been scheduled." text
00:00:00.442
When
I follow "scheduled" in the content area
00:00:00.084
And
I wait until I see "1 system successfully completed this action." text, refreshing the page
00:00:30.066
@scope_onboarding
@custom_download_endpoint
Scenario: Check the default RPM download point values
Given
I am on the Systems overview page of this "sle_minion"
00:00:01.619
Then
the susemanager repo file should exist on the "sle_minion"
00:00:00.802
And
the repo file should contain the normal download endpoint on the "sle_minion"
00:00:00.462
+ Show Info
Real protocol: https host: uyuni-master-proxy.sumaci.aws port: 443 Expected protocol: https host: uyuni-master-proxy.sumaci.aws port: 443
@scope_onboarding
@custom_download_endpoint
Scenario: Set the custom RPM download point
Given
I am on the Systems overview page of this "sle_minion"
00:00:01.583
When
I install a salt pillar top file for "pkg_endpoint" with target "*" on the server
00:00:04.354
And
I wait for "1" seconds
00:00:01.000
And
I install the package download endpoint pillar file on the server
00:00:04.409
And
I refresh the pillar data
00:00:04.188
@scope_onboarding
@custom_download_endpoint
@susemanager
Scenario: Select the channels of the SLES minion again so new RPM end point will be taken into account
When
I follow "Software" in the content area
0s
And
I follow "Software Channels" in the content area
0s
And
I wait until I do not see "Loading..." text
0s
And
I wait until I see "SLE-Module-Basesystem15-SP7-Pool for x86_64" text
0s
And
I click on "Next"
0s
Then
I should see a "Confirm Software Channel Change" text
0s
When
I click on "Confirm"
0s
Then
I should see a "Changing the channels has been scheduled." text
0s
When
I follow "scheduled" in the content area
0s
And
I wait until I see "1 system successfully completed this action." text, refreshing the page
0s
@scope_onboarding
@custom_download_endpoint
@uyuni
Scenario: Select the channels of the openSUSE minion again so new RPM end point will be taken into account
When
I follow "Software" in the content area
00:00:00.090
And
I follow "Software Channels" in the content area
00:00:00.074
And
I wait until I do not see "Loading..." text
00:00:00.068
Warning: Radio button 'openSUSE Tumbleweed (x86_64)' is already checked
And
I click on "Next"
00:00:00.386
Then
I should see a "Confirm Software Channel Change" text
00:00:00.065
When
I click on "Confirm"
00:00:00.083
Then
I should see a "Changing the channels has been scheduled." text
00:00:00.343
When
I follow "scheduled" in the content area
00:00:00.082
And
I wait until I see "1 system successfully completed this action." text, refreshing the page
00:00:30.016
@scope_onboarding
@custom_download_endpoint
Scenario: Check the channel.repo file to see the custom RPM download point
Given
I am on the Systems overview page of this "sle_minion"
00:00:01.571
Then
the susemanager repo file should exist on the "sle_minion"
00:00:00.867
And
the repo file should contain the custom download endpoint on the "sle_minion"
00:00:00.492
+ Show Info
Real protocol: ftp host: mirror.sumaci.aws port: 445 Expected protocol: ftp host: mirror.sumaci.aws port: 445
@scope_onboarding
@custom_download_endpoint
Scenario: Cleanup: remove the custom RPM download point
When
I delete the package download endpoint pillar file from the server
00:00:02.948
And
I install a salt pillar top file for "disable_local_repos_off, salt_bundle_config" with target "*" on the server
00:00:04.878
And
I refresh the pillar data
00:00:03.963
@scope_onboarding
@custom_download_endpoint
@susemanager
Scenario: Cleanup: select the channels of the SLES minion as before
When
I follow "Software" in the content area
0s
And
I follow "Software Channels" in the content area
0s
And
I wait until I do not see "Loading..." text
0s
And
I check radio button "SLE-Product-SLES15-SP7-Pool for x86_64"
0s
And
I wait until I see "SLE15-SP7-Installer-Updates for x86_64" text
0s
And
I include the recommended child channels
0s
And
I check "SLE-Module-DevTools15-SP7-Pool for x86_64"
0s
And
I check "Fake-RPM-SUSE-Channel"
0s
And
I check "SLE-Module-Containers15-SP7-Pool for x86_64"
0s
And
I click on "Next"
0s
Then
I should see a "Confirm Software Channel Change" text
0s
When
I click on "Confirm"
0s
Then
I should see a "Changing the channels has been scheduled." text
0s
When
I follow "scheduled" in the content area
0s
And
I wait until I see "1 system successfully completed this action." text, refreshing the page
0s
@scope_onboarding
@custom_download_endpoint
@uyuni
Scenario: Cleanup: select the channels of the openSUSE minion as before
When
I follow "Software" in the content area
00:00:00.079
And
I follow "Software Channels" in the content area
00:00:00.076
And
I wait until I do not see "Loading..." text
00:00:00.070
Warning: Radio button 'openSUSE Tumbleweed (x86_64)' is already checked
And
I check "Uyuni Client Tools for openSUSE Tumbleweed (x86_64) (Development)"
00:00:00.308
And
I check "Fake-RPM-SUSE-Channel"
00:00:00.060
And
I click on "Next"
00:00:00.070
Then
I should see a "Confirm Software Channel Change" text
00:00:00.069
When
I click on "Confirm"
00:00:00.086
Then
I should see a "Changing the channels has been scheduled." text
00:00:00.449
When
I follow "scheduled" in the content area
00:00:00.086
And
I wait until I see "1 system successfully completed this action." text, refreshing the page
00:00:29.998
@scope_onboarding
@custom_download_endpoint
Scenario: Cleanup: recheck the default RPM download point values
Then
the susemanager repo file should exist on the "sle_minion"
00:00:00.767
And
the repo file should contain the normal download endpoint on the "sle_minion"
00:00:00.449
+ Show Info
Real protocol: https host: uyuni-master-proxy.sumaci.aws port: 443 Expected protocol: https host: uyuni-master-proxy.sumaci.aws port: 443