Skip to content

Commit

Permalink
Migrate testsuite to 15.5
Browse files Browse the repository at this point in the history
Signed-off-by: Jordi Massaguer Pla <[email protected]>
  • Loading branch information
jordimassaguerpla committed Sep 14, 2023
1 parent e670c13 commit 3feafa5
Show file tree
Hide file tree
Showing 11 changed files with 88 additions and 88 deletions.
24 changes: 12 additions & 12 deletions testsuite/features/secondary/allcli_software_channels.feature
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Feature: Channel subscription via SSM
And I follow "channel memberships" in the content area
Then I should see a "Base Channel" text
And I should see a "Next" text
When I select "Fake Base Channel" from drop-down in table line with "openSUSE Leap 15.4 (x86_64)"
When I select "Fake Base Channel" from drop-down in table line with "openSUSE Leap 15.5 (x86_64)"
And I click on "Next"
Then I should see a "Child Channels" text
And I should see a "Fake Base Channel" text
Expand Down Expand Up @@ -78,9 +78,9 @@ Feature: Channel subscription via SSM
When I follow "Software" in the content area
And I follow "Software Channels" in the content area
And I wait until I do not see "Loading..." text
Then radio button "openSUSE Leap 15.4 (x86_64)" should be checked
Then radio button "openSUSE Leap 15.5 (x86_64)" should be checked
And I wait until I do not see "Loading..." text
And I should see "Uyuni Proxy Devel for openSUSE Leap 15.4 (x86_64) (Development)" as unchecked
And I should see "Uyuni Proxy Devel for openSUSE Leap 15.5 (x86_64) (Development)" as unchecked

@sle_minion
@susemanager
Expand All @@ -94,7 +94,7 @@ Feature: Channel subscription via SSM
Scenario: Check old channels are still enabled on SLES minion before channel change completes
When I refresh the metadata for "sle_minion"
Then "8" channels should be enabled on "sle_minion"
And channel "openSUSE Leap 15.4 (x86_64)" should be enabled on "sle_minion"
And channel "openSUSE Leap 15.5 (x86_64)" should be enabled on "sle_minion"

Scenario: Wait 3 minutes for the scheduled action to be executed
When I wait for "180" seconds
Expand Down Expand Up @@ -224,22 +224,22 @@ Feature: Channel subscription via SSM
When I follow "Software" in the content area
And I follow "Software Channels" in the content area
And I wait until I do not see "Loading..." text
And I check radio button "openSUSE Leap 15.4 (x86_64)"
And I check radio button "openSUSE Leap 15.5 (x86_64)"
And I wait until I do not see "Loading..." text
And I check "openSUSE 15.4 non oss (x86_64)"
And I check "openSUSE Leap 15.4 non oss Updates (x86_64)"
And I check "openSUSE Leap 15.4 Updates (x86_64)"
And I check "Update repository of openSUSE Leap 15.4 Backports (x86_64)"
And I check "Update repository with updates from SUSE Linux Enterprise 15 for openSUSE Leap 15.4 (x86_64)"
And I check "Uyuni Client Tools for openSUSE Leap 15.4 (x86_64)"
And I check "openSUSE 15.5 non oss (x86_64)"
And I check "openSUSE Leap 15.5 non oss Updates (x86_64)"
And I check "openSUSE Leap 15.5 Updates (x86_64)"
And I check "Update repository of openSUSE Leap 15.5 Backports (x86_64)"
And I check "Update repository with updates from SUSE Linux Enterprise 15 for openSUSE Leap 15.5 (x86_64)"
And I check "Uyuni Client Tools for openSUSE Leap 15.5 (x86_64)"
And I check "Fake-RPM-SUSE-Channel"
And I click on "Next"
Then I should see a "Confirm Software Channel Change" text
When I click on "Confirm"
Then I should see a "Changing the channels has been scheduled." text
When I follow "scheduled" in the content area
And I wait until I see "1 system successfully completed this action." text, refreshing the page
Then channel "Uyuni Proxy Devel for openSUSE Leap 15.4 (x86_64) (Development)" should not be enabled on "sle_minion"
Then channel "Uyuni Proxy Devel for openSUSE Leap 15.5 (x86_64) (Development)" should not be enabled on "sle_minion"

Scenario: Cleanup: remove remaining systems from SSM after channel subscription tests
When I click on the clear SSM button
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ Feature: Channel subscription with recommended or required dependencies
And I wait for child channels to appear
And I check radio button "(none, disable service)"
And I wait for child channels to appear
And I check radio button "openSUSE Leap 15.4 (x86_64)"
Then I should see the child channel "Uyuni Proxy Devel for openSUSE Leap 15.4 (x86_64) (Development)" "unselected" and "disabled"
Then I should see the child channel "openSUSE 15.4 non oss (x86_64)" "selected"
When I select the child channel "Uyuni Proxy Devel for openSUSE Leap 15.4 (x86_64) (Development)"
Then I should see the child channel "Uyuni Proxy Devel for openSUSE Leap 15.4 (x86_64) (Development)" "selected"
And I check radio button "openSUSE Leap 15.5 (x86_64)"
Then I should see the child channel "Uyuni Proxy Devel for openSUSE Leap 15.5 (x86_64) (Development)" "unselected" and "disabled"
Then I should see the child channel "openSUSE 15.5 non oss (x86_64)" "selected"
When I select the child channel "Uyuni Proxy Devel for openSUSE Leap 15.5 (x86_64) (Development)"
Then I should see the child channel "Uyuni Proxy Devel for openSUSE Leap 15.5 (x86_64) (Development)" "selected"

@susemanager
Scenario: Play with recommended and required child channels selection in SSM
Expand Down Expand Up @@ -75,12 +75,12 @@ Feature: Channel subscription with recommended or required dependencies
And I follow "channel memberships" in the content area
Then I should see a "Base Channel" text
And I should see a "Next" text
And I should see a table line with "openSUSE Leap 15.4 (x86_64)", "1"
When I select "No Change" from drop-down in table line with "openSUSE Leap 15.4 (x86_64)"
And I should see a table line with "openSUSE Leap 15.5 (x86_64)", "1"
When I select "No Change" from drop-down in table line with "openSUSE Leap 15.5 (x86_64)"
And I click on "Next"
Then I should see the toggler "disabled"
And I should see a "openSUSE 15.4 non oss (x86_64)" text
And I should see "No change" "selected" for the "openSUSE 15.4 non oss (x86_64)" channel
And I should see a "openSUSE 15.5 non oss (x86_64)" text
And I should see "No change" "selected" for the "openSUSE 15.5 non oss (x86_64)" channel

Scenario: Cleanup: remove remaining systems from SSM after software channel tests
When I click on the clear SSM button
16 changes: 8 additions & 8 deletions testsuite/features/secondary/min_activationkey.feature
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ Feature: Bootstrap a Salt minion via the GUI with an activation key
And I enter "Minion testing" as "description"
And I enter "MINION-TEST" as "key"
And I enter "20" as "usageLimit"
And I select "openSUSE Leap 15.4 (x86_64)" from "selectedBaseChannel"
And I select "openSUSE Leap 15.5 (x86_64)" from "selectedBaseChannel"
And I wait for child channels to appear
And I check "openSUSE 15.4 non oss (x86_64)"
And I check "openSUSE Leap 15.4 non oss Updates (x86_64)"
And I check "openSUSE Leap 15.4 Updates (x86_64)"
And I check "Update repository of openSUSE Leap 15.4 Backports (x86_64)"
And I check "Update repository with updates from SUSE Linux Enterprise 15 for openSUSE Leap 15.4 (x86_64)"
And I check "Uyuni Client Tools for openSUSE Leap 15.4 (x86_64)"
And I check "openSUSE 15.5 non oss (x86_64)"
And I check "openSUSE Leap 15.5 non oss Updates (x86_64)"
And I check "openSUSE Leap 15.5 Updates (x86_64)"
And I check "Update repository of openSUSE Leap 15.5 Backports (x86_64)"
And I check "Update repository with updates from SUSE Linux Enterprise 15 for openSUSE Leap 15.5 (x86_64)"
And I check "Uyuni Client Tools for openSUSE Leap 15.5 (x86_64)"
And I check "Fake-RPM-SUSE-Channel"
And I click on "Create Activation Key"
And I follow "Configuration" in the content area
Expand Down Expand Up @@ -122,7 +122,7 @@ Feature: Bootstrap a Salt minion via the GUI with an activation key
@uyuni
Scenario: Verify that minion bootstrapped with base channel
Given I am on the Systems page
Then I should see a "openSUSE Leap 15.4 (x86_64)" text
Then I should see a "openSUSE Leap 15.5 (x86_64)" text

# bsc#1080807 - Assigning configuration channel in activation key doesn't work
Scenario: Verify that minion bootstrapped with configuration channel
Expand Down
14 changes: 7 additions & 7 deletions testsuite/features/secondary/min_bootstrap_api.feature
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ Feature: Register a Salt minion via API
When I follow "Software" in the content area
And I follow "Software Channels" in the content area
And I wait until I do not see "Loading..." text
And I check radio button "openSUSE Leap 15.4 (x86_64)"
And I check radio button "openSUSE Leap 15.5 (x86_64)"
And I wait until I do not see "Loading..." text
And I check "openSUSE 15.4 non oss (x86_64)"
And I check "openSUSE Leap 15.4 non oss Updates (x86_64)"
And I check "openSUSE Leap 15.4 Updates (x86_64)"
And I check "Update repository of openSUSE Leap 15.4 Backports (x86_64)"
And I check "Update repository with updates from SUSE Linux Enterprise 15 for openSUSE Leap 15.4 (x86_64)"
And I check "Uyuni Client Tools for openSUSE Leap 15.4 (x86_64)"
And I check "openSUSE 15.5 non oss (x86_64)"
And I check "openSUSE Leap 15.5 non oss Updates (x86_64)"
And I check "openSUSE Leap 15.5 Updates (x86_64)"
And I check "Update repository of openSUSE Leap 15.5 Backports (x86_64)"
And I check "Update repository with updates from SUSE Linux Enterprise 15 for openSUSE Leap 15.5 (x86_64)"
And I check "Uyuni Client Tools for openSUSE Leap 15.5 (x86_64)"
And I check "Fake-RPM-SUSE-Channel"
And I click on "Next"
Then I should see a "Confirm Software Channel Change" text
Expand Down
4 changes: 2 additions & 2 deletions testsuite/features/secondary/min_bootstrap_script.feature
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ Feature: Register a Salt minion with a bootstrap script
When I follow "Software" in the content area
And I follow "Software Channels" in the content area
And I wait until I do not see "Loading..." text
And I check radio button "openSUSE Leap 15.4 (x86_64)"
And I check radio button "openSUSE Leap 15.5 (x86_64)"
And I wait until I do not see "Loading..." text
And I check "Uyuni Client Tools for openSUSE Leap 15.4 (x86_64)"
And I check "Uyuni Client Tools for openSUSE Leap 15.5 (x86_64)"
And I check "Fake-RPM-SUSE-Channel"
And I click on "Next"
Then I should see a "Confirm Software Channel Change" text
Expand Down
40 changes: 20 additions & 20 deletions testsuite/features/secondary/min_change_software_channel.feature
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ Feature: Assign child channel to a system
When I follow "Software" in the content area
And I follow "Software Channels" in the content area
And I wait until I do not see "Loading..." text
Then radio button "openSUSE Leap 15.4 (x86_64)" should be checked
Then radio button "openSUSE Leap 15.5 (x86_64)" should be checked
And I wait until I do not see "Loading..." text
And I should see "Uyuni Proxy Devel for openSUSE Leap 15.4 (x86_64) (Development)" as unchecked
And I should see "Uyuni Proxy Devel for openSUSE Leap 15.5 (x86_64) (Development)" as unchecked

# susemanager has the Client Tools channels more than uyuni. (+2)
# in Head also Beta Client Tools Channels (+2)
Expand All @@ -46,7 +46,7 @@ Feature: Assign child channel to a system
Scenario: Check old channels are still enabled on the system before channel change completes
When I refresh the metadata for "sle_minion"
Then "8" channels should be enabled on "sle_minion"
And channel "openSUSE Leap 15.4 (x86_64)" should be enabled on "sle_minion"
And channel "openSUSE Leap 15.5 (x86_64)" should be enabled on "sle_minion"

@susemanager
Scenario: Assign a child channel to the system
Expand All @@ -69,16 +69,16 @@ Feature: Assign child channel to a system
When I follow "Software" in the content area
And I follow "Software Channels" in the content area
And I wait until I do not see "Loading..." text
Then radio button "openSUSE Leap 15.4 (x86_64)" should be checked
Then radio button "openSUSE Leap 15.5 (x86_64)" should be checked
And I wait until I do not see "Loading..." text
And I check "Uyuni Proxy Devel for openSUSE Leap 15.4 (x86_64) (Development)"
And I check "Uyuni Proxy Devel for openSUSE Leap 15.5 (x86_64) (Development)"
And I click on "Next"
Then I should see a "Confirm Software Channel Change" text
And I click on "Confirm"
Then I should see a "Changing the channels has been scheduled." text
When I follow "scheduled" in the content area
And I wait until I see "1 system successfully completed this action." text, refreshing the page
Then channel "Uyuni Proxy Devel for openSUSE Leap 15.4 (x86_64) (Development)" should be enabled on "sle_minion"
Then channel "Uyuni Proxy Devel for openSUSE Leap 15.5 (x86_64) (Development)" should be enabled on "sle_minion"

Scenario: Check channel change has completed for the system
Given I am on the Systems overview page of this "sle_minion"
Expand All @@ -99,9 +99,9 @@ Feature: Assign child channel to a system
When I follow "Software" in the content area
And I follow "Software Channels" in the content area
And I wait until I do not see "Loading..." text
Then radio button "openSUSE Leap 15.4 (x86_64)" should be checked
Then radio button "openSUSE Leap 15.5 (x86_64)" should be checked
And I wait until I do not see "Loading..." text
And I should see "Uyuni Proxy Devel for openSUSE Leap 15.4 (x86_64) (Development)" as checked
And I should see "Uyuni Proxy Devel for openSUSE Leap 15.5 (x86_64) (Development)" as checked

@susemanager
Scenario: Check the new channels are enabled on the system
Expand All @@ -114,8 +114,8 @@ Feature: Assign child channel to a system
Scenario: Check the new channels are enabled on the system
When I refresh the metadata for "sle_minion"
Then "9" channels should be enabled on "sle_minion"
And channel "openSUSE Leap 15.4 (x86_64)" should be enabled on "sle_minion"
And channel "Uyuni Proxy Devel for openSUSE Leap 15.4 (x86_64) (Development)" should be enabled on "sle_minion"
And channel "openSUSE Leap 15.5 (x86_64)" should be enabled on "sle_minion"
And channel "Uyuni Proxy Devel for openSUSE Leap 15.5 (x86_64) (Development)" should be enabled on "sle_minion"

@susemanager
Scenario: Cleanup: subscribe the system back to previous channels
Expand All @@ -142,21 +142,21 @@ Feature: Assign child channel to a system
When I follow "Software" in the content area
And I follow "Software Channels" in the content area
And I wait until I do not see "Loading..." text
Then radio button "openSUSE Leap 15.4 (x86_64)" should be checked
Then radio button "openSUSE Leap 15.5 (x86_64)" should be checked
And I wait until I do not see "Loading..." text
And I wait until I see "openSUSE Leap 15.4 Updates (x86_64)" text
And I check "openSUSE 15.4 non oss (x86_64)"
And I check "openSUSE Leap 15.4 non oss Updates (x86_64)"
And I check "openSUSE Leap 15.4 Updates (x86_64)"
And I check "Update repository of openSUSE Leap 15.4 Backports (x86_64)"
And I check "Update repository with updates from SUSE Linux Enterprise 15 for openSUSE Leap 15.4 (x86_64)"
And I check "Uyuni Client Tools for openSUSE Leap 15.4 (x86_64)"
And I wait until I see "openSUSE Leap 15.5 Updates (x86_64)" text
And I check "openSUSE 15.5 non oss (x86_64)"
And I check "openSUSE Leap 15.5 non oss Updates (x86_64)"
And I check "openSUSE Leap 15.5 Updates (x86_64)"
And I check "Update repository of openSUSE Leap 15.5 Backports (x86_64)"
And I check "Update repository with updates from SUSE Linux Enterprise 15 for openSUSE Leap 15.5 (x86_64)"
And I check "Uyuni Client Tools for openSUSE Leap 15.5 (x86_64)"
And I check "Fake-RPM-SUSE-Channel"
And I uncheck "Uyuni Proxy Devel for openSUSE Leap 15.4 (x86_64) (Development)"
And I uncheck "Uyuni Proxy Devel for openSUSE Leap 15.5 (x86_64) (Development)"
And I click on "Next"
Then I should see a "Confirm Software Channel Change" text
When I click on "Confirm"
Then I should see a "Changing the channels has been scheduled." text
When I follow "scheduled" in the content area
And I wait until I see "1 system successfully completed this action." text, refreshing the page
Then channel "Uyuni Proxy Devel for openSUSE Leap 15.4 (x86_64) (Development)" should not be enabled on "sle_minion"
Then channel "Uyuni Proxy Devel for openSUSE Leap 15.5 (x86_64) (Development)" should not be enabled on "sle_minion"
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ Feature: Repos file generation based on custom pillar data
When I follow "Software" in the content area
And I follow "Software Channels" in the content area
And I wait until I do not see "Loading..." text
And I check radio button "openSUSE Leap 15.4 (x86_64)"
And I wait until I see "openSUSE 15.4 non oss (x86_64)" text
And I check radio button "openSUSE Leap 15.5 (x86_64)"
And I wait until I see "openSUSE 15.5 non oss (x86_64)" text
And I click on "Next"
Then I should see a "Confirm Software Channel Change" text
When I click on "Confirm"
Expand Down Expand Up @@ -75,9 +75,9 @@ Feature: Repos file generation based on custom pillar data
When I follow "Software" in the content area
And I follow "Software Channels" in the content area
And I wait until I do not see "Loading..." text
And I check radio button "openSUSE Leap 15.4 (x86_64)"
And I wait until I see "openSUSE 15.4 non oss (x86_64)" text
And I check "openSUSE 15.4 non oss (x86_64)"
And I check radio button "openSUSE Leap 15.5 (x86_64)"
And I wait until I see "openSUSE 15.5 non oss (x86_64)" text
And I check "openSUSE 15.5 non oss (x86_64)"
And I click on "Next"
Then I should see a "Confirm Software Channel Change" text
When I click on "Confirm"
Expand Down Expand Up @@ -117,13 +117,13 @@ Feature: Repos file generation based on custom pillar data
When I follow "Software" in the content area
And I follow "Software Channels" in the content area
And I wait until I do not see "Loading..." text
And I check radio button "openSUSE Leap 15.4 (x86_64)"
And I wait until I see "openSUSE 15.4 non oss (x86_64)" text
And I check "openSUSE Leap 15.4 non oss Updates (x86_64)"
And I check "openSUSE Leap 15.4 Updates (x86_64)"
And I check "Update repository of openSUSE Leap 15.4 Backports (x86_64)"
And I check "Update repository with updates from SUSE Linux Enterprise 15 for openSUSE Leap 15.4 (x86_64)"
And I check "Uyuni Client Tools for openSUSE Leap 15.4 (x86_64)"
And I check radio button "openSUSE Leap 15.5 (x86_64)"
And I wait until I see "openSUSE 15.5 non oss (x86_64)" text
And I check "openSUSE Leap 15.5 non oss Updates (x86_64)"
And I check "openSUSE Leap 15.5 Updates (x86_64)"
And I check "Update repository of openSUSE Leap 15.5 Backports (x86_64)"
And I check "Update repository with updates from SUSE Linux Enterprise 15 for openSUSE Leap 15.5 (x86_64)"
And I check "Uyuni Client Tools for openSUSE Leap 15.5 (x86_64)"
And I check "Fake-RPM-SUSE-Channel"
And I click on "Next"
Then I should see a "Confirm Software Channel Change" text
Expand Down
4 changes: 2 additions & 2 deletions testsuite/features/secondary/minssh_bootstrap_api.feature
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ Feature: Register a salt-ssh system via API
When I follow "Software" in the content area
And I follow "Software Channels" in the content area
And I wait until I do not see "Loading..." text
And I check radio button "openSUSE Leap 15.4 (x86_64)"
And I check radio button "openSUSE Leap 15.5 (x86_64)"
And I wait until I do not see "Loading..." text
And I check "Uyuni Client Tools for openSUSE Leap 15.4 (x86_64)"
And I check "Uyuni Client Tools for openSUSE Leap 15.5 (x86_64)"
And I check "Fake-RPM-SUSE-Channel"
And I click on "Next"
Then I should see a "Confirm Software Channel Change" text
Expand Down
Loading

0 comments on commit 3feafa5

Please sign in to comment.