@scope_retracted_patches
Feature: 0069 - Retracted patches
File name: min_retracted_patches.feature
Relative path: secondary/min_retracted_patches.feature
@scope_retracted_patches
Scenario: Installed retracted package should show icon in the system packages list
When
I install package "rute-dummy=2.1-1.1" on this "sle_minion"
00:00:03.347
And
I refresh packages list via spacecmd on "sle_minion"
00:00:10.159
And
I wait until refresh package list on "sle_minion" is finished
00:00:16.548
And
I am on the "Software" page of this "sle_minion"
00:00:02.157
And
I follow "Packages"
00:00:00.566
And
I follow "List / Remove"
00:00:01.161
And
I enter "rute-dummy" as the filtered package name
00:00:00.046
And
I click on the filter button until page does contain "rute-dummy" text
00:00:11.927
Then
the table row for "rute-dummy-2.1-1.1" should contain "retracted" icon
00:00:00.021
When
I remove package "rute-dummy" from this "sle_minion"
00:00:02.287
And
I refresh packages list via spacecmd on "sle_minion"
00:00:11.161
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:10.404
@scope_retracted_patches
Scenario: Retracted package should not be available for installation
When
I am on the "Software" page of this "sle_minion"
00:00:01.746
And
I follow "Packages"
00:00:00.475
And
I follow "Install"
00:00:00.576
And
I enter "rute-dummy" as the filtered package name
00:00:00.052
And
I click on the filter button until page does contain "rute-dummy" text
00:00:11.319
Then
I should see a "rute-dummy-2.0-1.2" text
00:00:00.072
And
I should not see a "rute-dummy-2.1-1.1" text
00:00:00.074
@scope_retracted_patches
Scenario: Retracted package should not be available for upgrade
When
I install old package "rute-dummy=2.0-1.2" on this "sle_minion"
00:00:02.380
And
I refresh packages list via spacecmd on "sle_minion"
00:00:11.941
And
I wait until refresh package list on "sle_minion" is finished
00:00:15.206
And
I am on the "Software" page of this "sle_minion"
00:00:01.783
And
I follow "Packages"
00:00:00.489
And
I follow "Upgrade"
00:00:00.572
Then
I should not see a "rute-dummy-2.1-1.1" text
00:00:00.080
When
I remove package "rute-dummy" from this "sle_minion"
00:00:02.193
And
I refresh packages list via spacecmd on "sle_minion"
00:00:09.698
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:11.127
@scope_retracted_patches
Scenario: Retracted patch should not affect any system
When
I install package "rute-dummy=2.0-1.2" on this "sle_minion"
00:00:02.492
And
I refresh packages list via spacecmd on "sle_minion"
00:00:11.201
And
I wait until refresh package list on "sle_minion" is finished
00:00:14.451
And
I follow the left menu "Software > Channel List > All"
00:00:00.207
And
I follow "Show All Child Channels"
00:00:00.055
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.613
And
I follow "Patches" in the content area
00:00:00.070
And
I follow "rute-dummy-0817"
00:00:00.772
And
I follow "Affected Systems"
00:00:00.353
Then
I should see a "No systems." text
00:00:00.057
When
I remove package "rute-dummy" from this "sle_minion"
00:00:02.137
And
I refresh packages list via spacecmd on "sle_minion"
00:00:08.358
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:10.590
@scope_retracted_patches
Scenario: Target systems for stable packages should not be empty
When
I follow the left menu "Software > Channel List > All"
00:00:00.230
And
I follow "Show All Child Channels"
00:00:00.058
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.626
And
I follow "Packages" in the content area
00:00:00.090
And
I follow "rute-dummy-2.0-1.2.x86_64"
00:00:01.449
And
I follow "Target Systems"
00:00:00.845
And
I refresh page until I see "sle_minion" hostname as text
00:00:00.131
@scope_retracted_patches
Scenario: Target systems for retracted packages should be empty
When
I follow the left menu "Software > Channel List > All"
00:00:00.146
And
I follow "Show All Child Channels"
00:00:00.056
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.745
And
I follow "Packages" in the content area
00:00:00.077
And
I follow "rute-dummy-2.1-1.1.x86_64"
00:00:00.669
And
I follow "Target Systems"
00:00:00.388
Then
I should not see "sle_minion" hostname
00:00:00.059
When
I follow the left menu "Patches > Patch List > All"
00:00:00.203
And
I enter "dummy" as the filtered synopsis
00:00:00.048
And
I click on the filter button
00:00:02.336
And
I follow "rute-dummy-0815"
00:00:00.614
Then
I should see a "Status: Retracted" text
00:00:00.062
When
I go back
00:00:00.858
And
I enter "dummy" as the filtered synopsis
00:00:00.058
And
I click on the filter button
00:00:00.685
And
I follow "rute-dummy-0816"
00:00:00.533
Then
I should see a "Status: Stable" text
00:00:00.064
When
I go back
00:00:00.755
And
I enter "dummy" as the filtered synopsis
00:00:00.047
And
I click on the filter button
00:00:01.015
And
I follow "rute-dummy-0817"
00:00:00.530
Then
I should see a "Status: Retracted" text
00:00:00.064
When
I follow the left menu "Patches > Patch List > All"
00:00:00.080
And
I enter "dummy" as the filtered synopsis
00:00:00.051
And
I click on the filter button
00:00:00.783
Then
the table row for "rute-dummy-0815" should contain "retracted" icon
00:00:00.021
And
the table row for "rute-dummy-0816" should not contain "retracted" icon
00:00:00.013
And
the table row for "rute-dummy-0817" should contain "retracted" icon
00:00:00.017
@scope_retracted_patches
Scenario: Retracted patches in the channel patches list
When
I follow the left menu "Software > Channel List > All"
00:00:00.192
And
I follow "Show All Child Channels"
00:00:00.057
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.749
And
I follow "Patches" in the content area
00:00:00.076
Then
the table row for "rute-dummy-0815" should contain "retracted" icon
00:00:00.015
And
the table row for "rute-dummy-0816" should not contain "retracted" icon
00:00:00.011
And
the table row for "rute-dummy-0817" should contain "retracted" icon
00:00:00.013
@scope_retracted_patches
Scenario: Retracted packages in the channel packages list
When
I follow the left menu "Software > Channel List > All"
00:00:00.071
And
I follow "Show All Child Channels"
00:00:00.044
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.750
And
I follow "Packages" in the content area
00:00:00.070
Then
the table row for "rute-dummy-2.0-1.1.x86_64" should contain "retracted" icon
00:00:00.019
Then
the table row for "rute-dummy-2.0-1.2.x86_64" should not contain "retracted" icon
00:00:00.014
Then
the table row for "rute-dummy-2.1-1.1.x86_64" should contain "retracted" icon
00:00:00.018
@scope_retracted_patches
Scenario: SSM: Retracted package should not be available for installation
When
I follow the left menu "Systems > System List > All"
00:00:00.198
And
I click on the clear SSM button
00:00:00.060
And
I check the "sle_minion" client
00:00:00.489
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.673
And
I follow "Packages" in the content area
00:00:00.063
And
I follow "Install"
00:00:00.922
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.865
Then
I should see a "rute-dummy-2.0-1.2" text
00:00:00.093
And
I should not see a "rute-dummy-2.1-1.1" text
00:00:00.086
And
I click on the clear SSM button
00:00:00.052