@sle_minion
@susemanager
@scope_project_lotus
Feature: 0142 - Project Lotus
Description: In order to manage Program Temporary Fixes (PTFs)
As an authorized user
I want to be able to install and remove them through the WebUI
File name: min_project_lotus.feature
Relative path: secondary/min_project_lotus.feature
@sle_minion
@susemanager
@scope_project_lotus
Scenario: Pre-requisite: Create custom channel for PTFs
When
I follow the left menu "Software > Manage > Channels"
0s
And
I follow "Create Channel"
0s
And
I enter "Custom Channel for SLES15SP7 PTFs" as "Channel Name"
0s
And
I enter "sles15sp7-ptfs" as "Channel Label"
0s
And
I select the parent channel for the "sle_minion" from "Parent Channel"
0s
And
I enter "Custom channel for PTFs" as "Channel Summary"
0s
And
I uncheck "gpg_check"
0s
And
I click on "Create Channel"
0s
Then
I should see a "Custom Channel for SLES15SP7 PTFs" text
0s
@sle_minion
@susemanager
@scope_project_lotus
Scenario: Pre-requisite: Create custom repository for PTFs
When
I follow the left menu "Software > Manage > Repositories"
0s
And
I follow "Create Repository"
0s
And
I enter "sles15sp7_ptf_repo" as "label"
0s
And
I enter "http://updates.suse.de/PTF/Release/A127499/SLES/15.7/x86_64/ptf/" as "url"
0s
And
I uncheck "metadataSigned"
0s
And
I click on "Create Repository"
0s
Then
I should see a "Repository created successfully" text
0s
@sle_minion
@susemanager
@scope_project_lotus
Scenario: Pre-requisite: Add PTF repository to custom channel
When
I follow the left menu "Software > Manage > Channels"
0s
And
I follow "Custom Channel for SLES15SP7 PTFs"
0s
And
I follow "Repositories" in the content area
0s
And
I select the "sles15sp7_ptf_repo" repo
0s
And
I click on "Save Repositories"
0s
Then
I should see a "repository information was successfully updated" text
0s
@sle_minion
@susemanager
@scope_project_lotus
Scenario: Pre-requisite: Sync PTF repository
When
I follow the left menu "Software > Manage > Channels"
0s
And
I follow "Custom Channel for SLES15SP7 PTFs"
0s
And
I follow "Repositories" in the content area
0s
And
I follow "Sync"
0s
Then
I should see a "Repository sync is running" text
0s
When
I wait until the channel "sles15sp7-ptfs" has been synced
0s
@sle_minion
@susemanager
@scope_project_lotus
Scenario: Pre-requisite: Add custom channel to 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 do not see "Loading..." text
0s
Then
radio button "SLE-Product-SLES15-SP7-Pool for x86_64" should be checked
0s
And
I wait until I do not see "Loading..." text
0s
And
I check "Custom Channel for SLES15SP7 PTFs"
0s
And
I click on "Next"
0s
Then
I should see a "Confirm Software Channel Change" text
0s
And
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
Then
channel "Custom Channel for SLES15SP7 PTFs" should be enabled on "sle_minion"
0s
@sle_minion
@susemanager
@scope_project_lotus
Scenario: Install PTF through PTFs tab
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 "PTFs" in the content area
0s
And
I follow "Install" in the content area
0s
And
I check "ptf-30961-3-0" in the list
0s
And
I click on "Install PTFs"
0s
And
I click on "Confirm"
0s
Then
I should see a "The action has been scheduled" text
0s
And
I wait until event "Package Install/Upgrade scheduled" is completed
0s
@sle_minion
@susemanager
@scope_project_lotus
Scenario: Remove PTF through PTFs tab
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 "PTFs" in the content area
0s
And
I follow "List / Remove" in the content area
0s
And
I check "ptf-30961-3-0" in the list
0s
And
I click on "Remove PTFs"
0s
And
I click on "Confirm"
0s
Then
I should see a "The action has been scheduled" text
0s
And
I wait until event "Package Removal scheduled" is completed
0s
@sle_minion
@susemanager
@scope_project_lotus
Scenario: Install PTF through Packages tab
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 "Packages" in the content area
0s
And
I follow "Install" in the content area
0s
And
I enter "ptf-30961-3-0" as the filtered package name
0s
And
I click on the filter button
0s
And
I check "ptf-30961-3-0" in the list
0s
And
I click on "Install Packages"
0s
And
I click on "Confirm"
0s
Then
I should see a "1 package install has been scheduled for" text
0s
And
I wait until event "Package Install/Upgrade scheduled" is completed
0s
@sle_minion
@susemanager
@scope_project_lotus
Scenario: Remove PTF through Packages tab
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 "Packages" in the content area
0s
And
I follow "List / Remove" in the content area
0s
And
I enter "ptf-30961-3-0" as the filtered package name
0s
And
I click on the filter button
0s
And
I check "ptf-30961-3-0" in the list
0s
And
I click on "Remove Packages"
0s
And
I click on "Confirm"
0s
Then
I should see a "1 package removal has been scheduled for" text
0s
And
I wait until event "Package Removal scheduled" is completed
0s
@sle_minion
@susemanager
@scope_project_lotus
Scenario: Cleanup: Delete custom channel for PTFs
When
I follow the left menu "Software > Manage > Channels"
0s
And
I follow "Custom Channel for SLES15SP7 PTFs"
0s
And
I follow "Delete Channel"
0s
And
I check "unsubscribeSystems"
0s
And
I click on "Delete Channel"
0s
Then
I should see a "Channel Custom Channel for SLES15SP7 PTFs has been deleted" text
0s
@sle_minion
@susemanager
@scope_project_lotus
Scenario: Cleanup: Remove custom repository for PTFs
When
I follow the left menu "Software > Manage > Repositories"
0s
And
I follow "sles15sp7_ptf_repo"
0s
And
I follow "Delete Repository"
0s
And
I click on "Delete Repository"
0s
Then
I should see a "Repository deleted successfully" text
0s