@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:02.819
And
I refresh packages list via spacecmd on "sle_minion"
00:00:07.943
And
I wait until refresh package list on "sle_minion" is finished
00:00:13.335
And
I am on the "Software" page of this "sle_minion"
00:00:01.755
And
I follow "Packages"
00:00:00.412
And
I follow "List / Remove"
00:00:00.792
And
I enter "rute-dummy" as the filtered package name
00:00:00.048
And
I click on the filter button until page does contain "rute-dummy" text
00:00:11.784
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.061
And
I refresh packages list via spacecmd on "sle_minion"
00:00:08.753
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:08.681
@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.723
And
I follow "Packages"
00:00:00.483
And
I follow "Install"
00:00:00.587
And
I enter "rute-dummy" as the filtered package name
00:00:00.057
And
I click on the filter button until page does contain "rute-dummy" text
00:00:11.036
Then
I should see a "rute-dummy-2.0-1.2" text
00:00:00.070
And
I should not see a "rute-dummy-2.1-1.1" text
00:00:00.067
@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.312
And
I refresh packages list via spacecmd on "sle_minion"
00:00:08.607
And
I wait until refresh package list on "sle_minion" is finished
00:00:13.277
And
I am on the "Software" page of this "sle_minion"
00:00:01.629
And
I follow "Packages"
00:00:00.420
And
I follow "Upgrade"
00:00:00.606
Then
I should not see a "rute-dummy-2.1-1.1" text
00:00:00.083
When
I remove package "rute-dummy" from this "sle_minion"
00:00:02.067
And
I refresh packages list via spacecmd on "sle_minion"
00:00:09.061
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:08.657
@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.212
And
I refresh packages list via spacecmd on "sle_minion"
00:00:07.484
And
I wait until refresh package list on "sle_minion" is finished
00:00:13.087
And
I follow the left menu "Software > Channel List > All"
00:00:00.208
And
I follow "Show All Child Channels"
00:00:00.065
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.590
And
I follow "Patches" in the content area
00:00:00.069
And
I follow "rute-dummy-0817"
00:00:00.425
And
I follow "Affected Systems"
00:00:00.299
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.109
And
I refresh packages list via spacecmd on "sle_minion"
00:00:09.263
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:08.411
@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.205
And
I follow "Show All Child Channels"
00:00:00.062
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.595
And
I follow "Packages" in the content area
00:00:00.071
And
I follow "rute-dummy-2.0-1.2.x86_64"
00:00:00.657
And
I follow "Target Systems"
00:00:00.697
And
I refresh page until I see "sle_minion" hostname as text
00:00:00.135
@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.161
And
I follow "Show All Child Channels"
00:00:00.062
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.585
And
I follow "Packages" in the content area
00:00:00.072
And
I follow "rute-dummy-2.1-1.1.x86_64"
00:00:00.474
And
I follow "Target Systems"
00:00:00.308
Then
I should not see "sle_minion" hostname
00:00:00.058
When
I follow the left menu "Patches > Patch List > All"
00:00:00.204
And
I enter "dummy" as the filtered synopsis
00:00:00.052
And
I click on the filter button
00:00:00.664
And
I follow "rute-dummy-0815"
00:00:00.363
Then
I should see a "Status: Retracted" text
00:00:00.065
When
I go back
00:00:00.425
And
I enter "dummy" as the filtered synopsis
00:00:00.051
And
I click on the filter button
00:00:00.680
And
I follow "rute-dummy-0816"
00:00:00.356
Then
I should see a "Status: Stable" text
00:00:00.068
When
I go back
00:00:00.408
And
I enter "dummy" as the filtered synopsis
00:00:00.051
And
I click on the filter button
00:00:00.669
And
I follow "rute-dummy-0817"
00:00:00.376
Then
I should see a "Status: Retracted" text
00:00:00.065
When
I follow the left menu "Patches > Patch List > All"
00:00:00.085
And
I enter "dummy" as the filtered synopsis
00:00:00.037
And
I click on the filter button
00:00:00.637
Then
the table row for "rute-dummy-0815" should contain "retracted" icon
00:00:00.022
And
the table row for "rute-dummy-0816" should not contain "retracted" icon
00:00:00.014
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.203
And
I follow "Show All Child Channels"
00:00:00.062
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.584
And
I follow "Patches" in the content area
00:00:00.073
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.012
And
the table row for "rute-dummy-0817" should contain "retracted" icon
00:00:00.015
@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.047
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.602
And
I follow "Packages" in the content area
00:00:00.066
Then
the table row for "rute-dummy-2.0-1.1.x86_64" should contain "retracted" icon
00:00:00.018
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.204
And
I click on the clear SSM button
00:00:00.054
And
I check the "sle_minion" client
00:00:00.479
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.574
And
I follow "Packages" in the content area
00:00:00.066
And
I follow "Install"
00:00:00.500
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.366
Then
I should see a "rute-dummy-2.0-1.2" text
00:00:00.085
And
I should not see a "rute-dummy-2.1-1.1" text
00:00:00.084
And
I click on the clear SSM button
00:00:00.051