@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.741
And
I refresh packages list via spacecmd on "sle_minion"
00:00:08.135
And
I wait until refresh package list on "sle_minion" is finished
00:00:13.456
And
I am on the "Software" page of this "sle_minion"
00:00:01.949
And
I follow "Packages"
00:00:00.522
And
I follow "List / Remove"
00:00:00.842
And
I enter "rute-dummy" as the filtered package name
00:00:00.049
And
I click on the filter button until page does contain "rute-dummy" text
00:00:11.957
Then
the table row for "rute-dummy-2.1-1.1" should contain "retracted" icon
00:00:00.023
When
I remove package "rute-dummy" from this "sle_minion"
00:00:02.032
And
I refresh packages list via spacecmd on "sle_minion"
00:00:08.559
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:08.590
@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.950
And
I follow "Packages"
00:00:00.432
And
I follow "Install"
00:00:00.546
And
I enter "rute-dummy" as the filtered package name
00:00:00.056
And
I click on the filter button until page does contain "rute-dummy" text
00:00:11.297
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.079
@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.340
And
I refresh packages list via spacecmd on "sle_minion"
00:00:09.398
And
I wait until refresh package list on "sle_minion" is finished
00:00:13.124
And
I am on the "Software" page of this "sle_minion"
00:00:02.010
And
I follow "Packages"
00:00:00.444
And
I follow "Upgrade"
00:00:00.613
Then
I should not see a "rute-dummy-2.1-1.1" text
00:00:00.126
When
I remove package "rute-dummy" from this "sle_minion"
00:00:02.018
And
I refresh packages list via spacecmd on "sle_minion"
00:00:08.648
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:08.869
@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.288
And
I refresh packages list via spacecmd on "sle_minion"
00:00:08.642
And
I wait until refresh package list on "sle_minion" is finished
00:00:13.354
And
I follow the left menu "Software > Channel List > All"
00:00:00.228
And
I follow "Show All Child Channels"
00:00:00.057
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.634
And
I follow "Patches" in the content area
00:00:00.081
And
I follow "rute-dummy-0817"
00:00:00.454
And
I follow "Affected Systems"
00:00:00.320
Then
I should see a "No systems." text
00:00:00.061
When
I remove package "rute-dummy" from this "sle_minion"
00:00:02.063
And
I refresh packages list via spacecmd on "sle_minion"
00:00:09.019
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:08.639
@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.212
And
I follow "Show All Child Channels"
00:00:00.054
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.616
And
I follow "Packages" in the content area
00:00:00.076
And
I follow "rute-dummy-2.0-1.2.x86_64"
00:00:00.668
And
I follow "Target Systems"
00:00:00.564
And
I refresh page until I see "sle_minion" hostname as text
00:00:00.157
@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.152
And
I follow "Show All Child Channels"
00:00:00.057
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.608
And
I follow "Packages" in the content area
00:00:00.073
And
I follow "rute-dummy-2.1-1.1.x86_64"
00:00:00.577
And
I follow "Target Systems"
00:00:00.402
Then
I should not see "sle_minion" hostname
00:00:00.061
When
I follow the left menu "Patches > Patch List > All"
00:00:00.217
And
I enter "dummy" as the filtered synopsis
00:00:00.076
And
I click on the filter button
00:00:00.659
And
I follow "rute-dummy-0815"
00:00:00.458
Then
I should see a "Status: Retracted" text
00:00:00.072
When
I go back
00:00:00.665
And
I enter "dummy" as the filtered synopsis
00:00:00.052
And
I click on the filter button
00:00:00.693
And
I follow "rute-dummy-0816"
00:00:00.464
Then
I should see a "Status: Stable" text
00:00:00.065
When
I go back
00:00:00.645
And
I enter "dummy" as the filtered synopsis
00:00:00.048
And
I click on the filter button
00:00:00.715
And
I follow "rute-dummy-0817"
00:00:00.464
Then
I should see a "Status: Retracted" text
00:00:00.063
When
I follow the left menu "Patches > Patch List > All"
00:00:00.090
And
I enter "dummy" as the filtered synopsis
00:00:00.057
And
I click on the filter button
00:00:00.643
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.015
And
the table row for "rute-dummy-0817" should contain "retracted" icon
00:00:00.018
@scope_retracted_patches
Scenario: Retracted patches in the channel patches list
When
I follow the left menu "Software > Channel List > All"
00:00:00.213
And
I follow "Show All Child Channels"
00:00:00.059
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.609
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.016
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.014
@scope_retracted_patches
Scenario: Retracted packages in the channel packages list
When
I follow the left menu "Software > Channel List > All"
00:00:00.075
And
I follow "Show All Child Channels"
00:00:00.048
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.582
And
I follow "Packages" in the content area
00:00:00.074
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.015
Then
the table row for "rute-dummy-2.1-1.1.x86_64" should contain "retracted" icon
00:00:00.019
@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.216
And
I click on the clear SSM button
00:00:00.092
And
I check the "sle_minion" client
00:00:00.416
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.487
And
I follow "Packages" in the content area
00:00:00.071
And
I follow "Install"
00:00:00.485
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.469
Then
I should see a "rute-dummy-2.0-1.2" text
00:00:00.095
And
I should not see a "rute-dummy-2.1-1.1" text
00:00:00.096
And
I click on the clear SSM button
00:00:00.054