@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.421
And
I refresh packages list via spacecmd on "sle_minion"
00:00:08.420
And
I wait until refresh package list on "sle_minion" is finished
00:00:13.268
And
I am on the "Software" page of this "sle_minion"
00:00:01.710
And
I follow "Packages"
00:00:00.491
And
I follow "List / Remove"
00:00:00.869
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.445
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:01.987
And
I refresh packages list via spacecmd on "sle_minion"
00:00:08.481
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:08.915
@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.665
And
I follow "Packages"
00:00:00.497
And
I follow "Install"
00:00:00.506
And
I enter "rute-dummy" as the filtered package name
00:00:00.051
And
I click on the filter button until page does contain "rute-dummy" text
00:00:10.964
Then
I should see a "rute-dummy-2.0-1.2" text
00:00:00.168
And
I should not see a "rute-dummy-2.1-1.1" text
00:00:00.070
@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.116
And
I refresh packages list via spacecmd on "sle_minion"
00:00:09.570
And
I wait until refresh package list on "sle_minion" is finished
00:00:13.026
And
I am on the "Software" page of this "sle_minion"
00:00:01.704
And
I follow "Packages"
00:00:00.491
And
I follow "Upgrade"
00:00:00.508
Then
I should not see a "rute-dummy-2.1-1.1" text
00:00:00.091
When
I remove package "rute-dummy" from this "sle_minion"
00:00:01.945
And
I refresh packages list via spacecmd on "sle_minion"
00:00:08.632
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:08.711
@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.153
And
I refresh packages list via spacecmd on "sle_minion"
00:00:08.548
And
I wait until refresh package list on "sle_minion" is finished
00:00:12.880
And
I follow the left menu "Software > Channel List > All"
00:00:00.208
And
I follow "Show All Child Channels"
00:00:00.074
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.598
And
I follow "Patches" in the content area
00:00:00.071
And
I follow "rute-dummy-0817"
00:00:00.422
And
I follow "Affected Systems"
00:00:00.288
Then
I should see a "No systems." text
00:00:00.135
When
I remove package "rute-dummy" from this "sle_minion"
00:00:01.951
And
I refresh packages list via spacecmd on "sle_minion"
00:00:09.180
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:08.498
@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.209
And
I follow "Show All Child Channels"
00:00:00.053
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.597
And
I follow "Packages" in the content area
00:00:00.078
And
I follow "rute-dummy-2.0-1.2.x86_64"
00:00:00.666
And
I follow "Target Systems"
00:00:00.546
And
I refresh page until I see "sle_minion" hostname as text
00:00:00.138
@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.155
And
I follow "Show All Child Channels"
00:00:00.055
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.604
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.662
And
I follow "Target Systems"
00:00:00.384
Then
I should not see "sle_minion" hostname
00:00:00.060
When
I follow the left menu "Patches > Patch List > All"
00:00:00.197
And
I enter "dummy" as the filtered synopsis
00:00:00.067
And
I click on the filter button
00:00:00.657
And
I follow "rute-dummy-0815"
00:00:00.460
Then
I should see a "Status: Retracted" text
00:00:00.164
When
I go back
00:00:00.419
And
I enter "dummy" as the filtered synopsis
00:00:00.050
And
I click on the filter button
00:00:00.683
And
I follow "rute-dummy-0816"
00:00:00.450
Then
I should see a "Status: Stable" text
00:00:00.153
When
I go back
00:00:00.411
And
I enter "dummy" as the filtered synopsis
00:00:00.047
And
I click on the filter button
00:00:00.678
And
I follow "rute-dummy-0817"
00:00:00.457
Then
I should see a "Status: Retracted" text
00:00:00.152
When
I follow the left menu "Patches > Patch List > All"
00:00:00.082
And
I enter "dummy" as the filtered synopsis
00:00:00.039
And
I click on the filter button
00:00:00.640
Then
the table row for "rute-dummy-0815" should contain "retracted" icon
00:00:00.020
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.016
@scope_retracted_patches
Scenario: Retracted patches in the channel patches list
When
I follow the left menu "Software > Channel List > All"
00:00:00.216
And
I follow "Show All Child Channels"
00:00:00.060
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.589
And
I follow "Patches" in the content area
00:00:00.066
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.010
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.070
And
I follow "Show All Child Channels"
00:00:00.089
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.579
And
I follow "Packages" in the content area
00:00:00.064
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.017
@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.195
And
I click on the clear SSM button
00:00:00.060
And
I check the "sle_minion" client
00:00:00.383
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.492
And
I follow "Packages" in the content area
00:00:00.079
And
I follow "Install"
00:00:00.483
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.375
Then
I should see a "rute-dummy-2.0-1.2" text
00:00:00.196
And
I should not see a "rute-dummy-2.1-1.1" text
00:00:00.088
And
I click on the clear SSM button
00:00:00.051