Feature: 0017 - Update activation keys
Description: In order to register systems to the spacewalk server
As admin
I want to update activation keys to use synchronized base products
File name: allcli_update_activationkeys.feature
Relative path: reposync/allcli_update_activationkeys.feature
@scc_credentials
@susemanager
Scenario: Update SLE key with synced base product
When
I follow the left menu "Systems > Activation Keys"
0s
And
I follow "SUSE Test Key x86_64" in the content area
0s
And
I wait for child channels to appear
0s
And
I select the parent channel for the "sle_minion" from "selectedBaseChannel"
0s
And
I wait for child channels to appear
0s
And
I include the recommended child channels
0s
And
I wait until "SLE-Module-Basesystem15-SP7-Pool for x86_64" has been checked
0s
And
I wait until "SLE-Module-Basesystem15-SP7-Updates for x86_64" has been checked
0s
And
I wait until "SLE-Module-Server-Applications15-SP7-Pool for x86_64" has been checked
0s
And
I wait until "SLE-Module-Server-Applications15-SP7-Updates for x86_64" has been checked
0s
And
I check "SLE-Module-DevTools15-SP7-Pool for x86_64"
0s
And
I wait until "SLE-Module-DevTools15-SP7-Updates for x86_64" has been checked
0s
And
I wait until "SLE-Module-Desktop-Applications15-SP7-Pool for x86_64" has been checked
0s
And
I wait until "SLE-Module-Desktop-Applications15-SP7-Updates for x86_64" has been checked
0s
And
I check "SLE-Module-Containers15-SP7-Pool for x86_64"
0s
And
I wait until "SLE-Module-Containers15-SP7-Updates for x86_64" has been checked
0s
And
I check "Fake-RPM-SUSE-Channel"
0s
And
I wait until "Fake-RPM-SUSE-Channel" has been checked
0s
And
I click on "Update Activation Key"
0s
Then
I should see a "Activation key SUSE Test Key x86_64 has been modified" text
0s
When
I follow the left menu "Systems > Activation Keys"
00:00:01.098
And
I follow "SUSE Test Key x86_64" in the content area
00:00:00.353
And
I wait until I do not see "Loading..." text
00:00:00.185
And
I select the parent channel for the "sle_minion" from "selectedBaseChannel"
00:00:00.023
And
I wait until I do not see "Loading..." text
00:00:00.011
And
I check "Uyuni Client Tools for openSUSE Tumbleweed (x86_64) (Development)"
00:00:00.750
And
I check "Fake-RPM-SUSE-Channel"
00:00:00.133
And
I wait until "Fake-RPM-SUSE-Channel" has been checked
00:00:00.010
And
I click on "Update Activation Key"
00:00:00.700
Then
I should see a "Activation key SUSE Test Key x86_64 has been modified" text
00:00:00.020
@scc_credentials
@susemanager
@sshminion
Scenario: Update SLE SSH key with synced base product
When
I follow the left menu "Systems > Activation Keys"
0s
And
I follow "SUSE SSH Test Key x86_64" in the content area
0s
And
I wait for child channels to appear
0s
And
I select the parent channel for the "sle_minion" from "selectedBaseChannel"
0s
And
I wait for child channels to appear
0s
And
I include the recommended child channels
0s
And
I check "SLE-Module-DevTools15-SP7-Pool for x86_64"
0s
And
I wait until "SLE-Module-DevTools15-SP7-Updates for x86_64" has been checked
0s
And
I wait until "SLE-Module-Desktop-Applications15-SP7-Pool for x86_64" has been checked
0s
And
I wait until "SLE-Module-Desktop-Applications15-SP7-Updates for x86_64" has been checked
0s
And
I check "Fake-RPM-SUSE-Channel"
0s
And
I wait until "Fake-RPM-SUSE-Channel" has been checked
0s
And
I click on "Update Activation Key"
0s
Then
I should see a "Activation key SUSE SSH Test Key x86_64 has been modified" text
0s
@uyuni
@sshminion
Scenario: Update openSUSE Tumbleweed SSH key with synced base product
When
I follow the left menu "Systems > Activation Keys"
00:00:01.071
And
I follow "SUSE SSH Test Key x86_64" in the content area
00:00:00.351
And
I wait until I do not see "Loading..." text
00:00:00.115
And
I select the parent channel for the "sle_minion" from "selectedBaseChannel"
00:00:00.022
And
I wait until I do not see "Loading..." text
00:00:00.010
And
I check "Uyuni Client Tools for openSUSE Tumbleweed (x86_64) (Development)"
00:00:00.834
And
I check "Fake-RPM-SUSE-Channel"
00:00:00.080
And
I wait until "Fake-RPM-SUSE-Channel" has been checked
00:00:00.009
And
I click on "Update Activation Key"
00:00:00.665
Then
I should see a "Activation key SUSE SSH Test Key x86_64 has been modified" text
00:00:00.017
@scc_credentials
@susemanager
@sshminion
Scenario: Update SLE SSH tunnel key with synced base product
When
I follow the left menu "Systems > Activation Keys"
0s
And
I follow "SUSE SSH Tunnel Test Key x86_64" in the content area
0s
And
I wait for child channels to appear
0s
And
I select the parent channel for the "sle_minion" from "selectedBaseChannel"
0s
And
I wait for child channels to appear
0s
And
I include the recommended child channels
0s
And
I check "SLE-Module-DevTools15-SP7-Pool for x86_64"
0s
And
I wait until "SLE-Module-DevTools15-SP7-Updates for x86_64" has been checked
0s
And
I wait until "SLE-Module-Desktop-Applications15-SP7-Pool for x86_64" has been checked
0s
And
I wait until "SLE-Module-Desktop-Applications15-SP7-Updates for x86_64" has been checked
0s
And
I check "Fake-RPM-SUSE-Channel"
0s
And
I wait until "Fake-RPM-SUSE-Channel" has been checked
0s
And
I click on "Update Activation Key"
0s
Then
I should see a "Activation key SUSE SSH Tunnel Test Key x86_64 has been modified" text
0s
@uyuni
@sshminion
Scenario: Update openSUSE Tumbleweed SSH tunnel key with synced base product
When
I follow the left menu "Systems > Activation Keys"
00:00:01.059
And
I follow "SUSE SSH Tunnel Test Key x86_64" in the content area
00:00:00.347
And
I wait until I do not see "Loading..." text
00:00:00.093
And
I select the parent channel for the "sle_minion" from "selectedBaseChannel"
00:00:00.022
And
I wait until I do not see "Loading..." text
00:00:00.009
And
I check "Uyuni Client Tools for openSUSE Tumbleweed (x86_64) (Development)"
00:00:00.840
And
I check "Fake-RPM-SUSE-Channel"
00:00:00.080
And
I wait until "Fake-RPM-SUSE-Channel" has been checked
00:00:00.009
And
I click on "Update Activation Key"
00:00:00.650
Then
I should see a "Activation key SUSE SSH Tunnel Test Key x86_64 has been modified" text
00:00:00.018
@scc_credentials
@susemanager
@proxy
@containerized_server
@transactional_server
Scenario: Update the SLE Micro proxy key with synced base product
When
I follow the left menu "Systems > Activation Keys"
0s
And
I follow "Proxy Key x86_64" in the content area
0s
And
I wait for child channels to appear
0s
And
I select the parent channel for the "proxy_container" from "selectedBaseChannel"
0s
And
I wait for child channels to appear
0s
And
I include the recommended child channels
0s
And
I wait until "Multi-Linux-ManagerTools-SLE-16 for x86_64 6.2" has been checked
0s
And
I check "SUSE-Multi-Linux-Manager-Proxy-5.2 for x86_64"
0s
And
I check "SUSE-Multi-Linux-Manager-Retail-Branch-Server-5.2 for x86_64"
0s
And
I click on "Update Activation Key"
0s
Then
I should see a "Activation key Proxy Key x86_64 has been modified" text
0s
@scc_credentials
@susemanager
@proxy
@containerized_server
@skip_if_transactional_server
Scenario: Update the SLES proxy key with synced base product
When
I follow the left menu "Systems > Activation Keys"
0s
And
I follow "Proxy Key x86_64" in the content area
0s
And
I wait for child channels to appear
0s
And
I select the parent channel for the "proxy_nontransactional" from "selectedBaseChannel"
0s
And
I wait for child channels to appear
0s
And
I include the recommended child channels
0s
And
I wait until "ManagerTools-SLE15-Pool for x86_64 SP7" has been checked
0s
And
I check "SUSE-Multi-Linux-Manager-Proxy-SLE-5.2-Pool for x86_64 SP7"
0s
And
I check "SUSE-Multi-Linux-Manager-Proxy-SLE-5.2-Updates for x86_64 SP7"
0s
And
I click on "Update Activation Key"
0s
Then
I should see a "Activation key Proxy Key x86_64 has been modified" text
0s
@uyuni
@proxy
@containerized_server
@skip_if_cloud
Scenario: Update the openSUSE Tumbleweed Proxy Host key with synced base product
When
I follow the left menu "Systems > Activation Keys"
0s
And
I follow "Proxy Key x86_64" in the content area
0s
And
I wait for child channels to appear
0s
And
I select the parent channel for the "proxy_container" from "selectedBaseChannel"
0s
And
I wait for child channels to appear
0s
And
I check "Uyuni Client Tools for openSUSE Tumbleweed (x86_64) (Development)"
0s
And
I click on "Update Activation Key"
0s
Then
I should see a "Activation key Proxy Key x86_64 has been modified" text
0s
@scc_credentials
@build_host
Scenario: Update build host key with synced base product
When
I follow the left menu "Systems > Activation Keys"
00:00:01.071
And
I follow "Build host Key x86_64" in the content area
00:00:00.358
And
I wait for child channels to appear
00:00:00.883
And
I select the parent channel for the "build_host" from "selectedBaseChannel"
00:00:00.025
And
I wait for child channels to appear
00:00:00.401
And
I include the recommended child channels
00:00:00.040
And
I wait until "SLE-Module-Basesystem15-SP7-Pool for x86_64" has been checked
00:00:00.010
And
I wait until "SLE-Module-Basesystem15-SP7-Updates for x86_64" has been checked
00:00:00.008
And
I wait until "SLE-Module-Server-Applications15-SP7-Pool for x86_64" has been checked
00:00:00.008
And
I wait until "SLE-Module-Server-Applications15-SP7-Updates for x86_64" has been checked
00:00:00.008
And
I check "SLE-Module-DevTools15-SP7-Pool for x86_64"
00:00:00.068
And
I wait until "SLE-Module-DevTools15-SP7-Updates for x86_64" has been checked
00:00:00.008
And
I wait until "SLE-Module-Desktop-Applications15-SP7-Pool for x86_64" has been checked
00:00:00.008
And
I wait until "SLE-Module-Desktop-Applications15-SP7-Updates for x86_64" has been checked
00:00:00.008
And
I wait until "SLE-Module-Systems-Management-15-SP7-Pool for x86_64" has been checked
00:00:00.008
And
I wait until "SLE-Module-Systems-Management-15-SP7-Updates for x86_64" has been checked
00:00:00.008
And
I wait until "SLE-Module-Python3-15-SP7-Pool for x86_64" has been checked
00:00:00.008
And
I wait until "SLE-Module-Python3-15-SP7-Updates for x86_64" has been checked
00:00:00.008
And
I click on "Update Activation Key"
00:00:00.653
Then
I should see a "Activation key Build host Key x86_64 has been modified" text
00:00:00.018
@scc_credentials
@uyuni
@build_host
Scenario: Update build host key with Uyuni client tools
When
I follow the left menu "Systems > Activation Keys"
00:00:01.055
And
I follow "Build host Key x86_64" in the content area
00:00:00.362
And
I wait for child channels to appear
00:00:00.423
And
I select the parent channel for the "build_host" from "selectedBaseChannel"
00:00:00.023
And
I wait for child channels to appear
00:00:00.044
And
I check "Uyuni Client Tools for SLES15 SP7 x86_64 (Development)"
00:00:00.064
And
I wait until "Uyuni Client Tools for SLES15 SP7 x86_64 (Development)" has been checked
00:00:00.008
And
I click on "Update Activation Key"
00:00:00.701
Then
I should see a "Activation key Build host Key x86_64 has been modified" text
00:00:00.020
@skip_if_github_validation
@scc_credentials
@uyuni
@build_host
Scenario: Update build host key with dev child channel
When
I follow the left menu "Systems > Activation Keys"
00:00:01.051
And
I follow "Build host Key x86_64" in the content area
00:00:00.358
And
I wait for child channels to appear
00:00:00.451
And
I select the parent channel for the "build_host" from "selectedBaseChannel"
00:00:00.024
And
I wait for child channels to appear
00:00:00.042
And
I check "Devel-Build-Host-Channel"
00:00:00.077
And
I wait until "Devel-Build-Host-Channel" has been checked
00:00:00.009
And
I click on "Update Activation Key"
00:00:00.654
Then
I should see a "Activation key Build host Key x86_64 has been modified" text
00:00:00.021
@scc_credentials
@build_host
Scenario: Update terminal key with synced base product
When
I follow the left menu "Systems > Activation Keys"
00:00:01.064
And
I follow "Terminal Key x86_64" in the content area
00:00:00.361
And
I wait for child channels to appear
00:00:00.787
And
I select the parent channel for the "pxeboot_minion" from "selectedBaseChannel"
00:00:00.024
And
I wait for child channels to appear
00:00:00.334
And
I include the recommended child channels
00:00:00.052
And
I wait until "SLE-Module-Basesystem15-SP7-Pool for x86_64" has been checked
00:00:00.015
And
I wait until "SLE-Module-Basesystem15-SP7-Updates for x86_64" has been checked
00:00:00.009
And
I wait until "SLE-Module-Server-Applications15-SP7-Pool for x86_64" has been checked
00:00:00.009
And
I wait until "SLE-Module-Server-Applications15-SP7-Updates for x86_64" has been checked
00:00:00.008
And
I check "SLE-Module-DevTools15-SP7-Pool for x86_64"
00:00:00.093
And
I wait until "SLE-Module-DevTools15-SP7-Updates for x86_64" has been checked
00:00:00.008
And
I wait until "SLE-Module-Desktop-Applications15-SP7-Pool for x86_64" has been checked
00:00:00.009
And
I wait until "SLE-Module-Desktop-Applications15-SP7-Updates for x86_64" has been checked
00:00:00.009
And
I click on "Update Activation Key"
00:00:00.697
Then
I should see a "Activation key Terminal Key x86_64 has been modified" text
00:00:00.015
@susemanager
@scc_credentials
@build_host
Scenario: Update terminal key with normal SUSE fake channel
When
I follow the left menu "Systems > Activation Keys"
0s
And
I follow "Terminal Key x86_64" in the content area
0s
And
I wait for child channels to appear
0s
And
I check "SLE-Module-Containers15-SP7-Pool for x86_64"
0s
And
I wait until "SLE-Module-Containers15-SP7-Updates for x86_64" has been checked
0s
And
I check "Fake-RPM-SUSE-Channel"
0s
And
I wait until "Fake-RPM-SUSE-Channel" has been checked
0s
And
I click on "Update Activation Key"
0s
Then
I should see a "Activation key Terminal Key x86_64 has been modified" text
0s
@pxeboot_minion
@uyuni
@scc_credentials
@build_host
Scenario: Update terminal key with specific fake channel
When
I follow the left menu "Systems > Activation Keys"
0s
And
I follow "Terminal Key x86_64" in the content area
0s
And
I wait for child channels to appear
0s
And
I check "Fake-RPM-Terminal-Channel"
0s
And
I wait until "Fake-RPM-Terminal-Channel" has been checked
0s
And
I check "Uyuni Client Tools for SLES15 SP7 x86_64 (Development)"
0s
And
I wait until "Uyuni Client Tools for SLES15 SP7 x86_64 (Development)" has been checked
0s
And
I click on "Update Activation Key"
0s
Then
I should see a "Activation key Terminal Key x86_64 has been modified" text
0s
@skip_if_github_validation
@sle_minion
Scenario: Update SLE key with to include dev child channel
When
I follow the left menu "Systems > Activation Keys"
00:00:01.069
And
I follow "SUSE Test Key x86_64" in the content area
00:00:00.351
And
I wait for child channels to appear
00:00:00.346
And
I check "Devel-SUSE-Channel"
00:00:00.053
And
I click on "Update Activation Key"
00:00:00.639
Then
I should see a "Activation key SUSE Test Key x86_64 has been modified" text
00:00:00.017
@skip_if_github_validation
@deblike_minion
Scenario: Update Debian-like key with to include dev child channel
When
I follow the left menu "Systems > Activation Keys"
00:00:01.061
And
I follow "Debian-like Test Key" in the content area
00:00:00.352
And
I wait for child channels to appear
00:00:00.311
And
I check "Devel-Debian-like-Channel"
00:00:00.074
And
I click on "Update Activation Key"
00:00:00.636
Then
I should see a "Activation key Debian-like Test Key has been modified" text
00:00:00.020
@skip_if_github_validation
@rhlike_minion
Scenario: Update RedHat-like key with to include dev child channel
When
I follow the left menu "Systems > Activation Keys"
00:00:01.068
And
I follow "RedHat like Test Key" in the content area
00:00:00.354
And
I wait for child channels to appear
00:00:00.294
And
I check "Devel-RH-like-Channel"
00:00:00.057
And
I click on "Update Activation Key"
00:00:00.639
Then
I should see a "Activation key RedHat like Test Key has been modified" text
00:00:00.026