Skip to content

Commit

Permalink
QE: Fix Recurring Actions idempotency
Browse files Browse the repository at this point in the history
This will properly restore the child channels for the SUSE minion.

Signed-off-by: Dominik Gedon <dominik.gedon@suse.com>
  • Loading branch information
nodeg committed Oct 6, 2023
1 parent 00855f8 commit bd197f2
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions testsuite/features/secondary/min_recurring_action.feature
Original file line number Diff line number Diff line change
Expand Up @@ -195,13 +195,47 @@ Feature: Recurring Actions
When I am on the Systems overview page of this "sle_minion"
Then I wait until I see "System is up to date" text, refreshing the page

@susemanager
Scenario: Cleanup: subscribe system back to default base channel
Given I am on the Systems overview page of this "sle_minion"
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 default base channel radio button of this "sle_minion"
And I wait for child channels to appear
And I include the recommended child channels
And I wait until "SLE-Module-Basesystem15-SP4-Pool for x86_64" has been checked
And I wait until "SLE-Module-Basesystem15-SP4-Updates for x86_64" has been checked
And I wait until "SLE-Module-Server-Applications15-SP4-Pool for x86_64" has been checked
And I wait until "SLE-Module-Server-Applications15-SP4-Updates for x86_64" has been checked
And I check "SLE-Module-DevTools15-SP4-Pool for x86_64"
And I wait until "SLE-Module-DevTools15-SP4-Updates for x86_64" has been checked
And I wait until "SLE-Module-Desktop-Applications15-SP4-Pool for x86_64" has been checked
And I wait until "SLE-Module-Desktop-Applications15-SP4-Updates for x86_64" has been checked
And I check "SLE-Module-Containers15-SP4-Pool for x86_64"
And I wait until "SLE-Module-Containers15-SP4-Updates for x86_64" has been checked
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
And I wait until event "Subscribe channels scheduled by admin" is completed

@uyuni
Scenario: Cleanup: subscribe system back to default base channel
Given I am on the Systems overview page of this "sle_minion"
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 default base channel radio button of this "sle_minion"
And I wait for child channels to appear
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"
Expand Down

0 comments on commit bd197f2

Please sign in to comment.