@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.360
And
I refresh packages list via spacecmd on "sle_minion"
00:00:07.921
And
I wait until refresh package list on "sle_minion" is finished
00:00:13.690
And
I am on the "Software" page of this "sle_minion"
00:00:01.873
And
I follow "Packages"
00:00:00.519
And
I follow "List / Remove"
00:00:00.865
And
I enter "rute-dummy" as the filtered package name
00:00:00.072
And
I click on the filter button until page does contain "rute-dummy" text
00:00:11.505
Then
the table row for "rute-dummy-2.1-1.1" should contain "retracted" icon
00:00:00.030
When
I remove package "rute-dummy" from this "sle_minion"
00:00:02.450
And
I refresh packages list via spacecmd on "sle_minion"
00:00:09.339
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:08.693
@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.821
And
I follow "Packages"
00:00:00.496
And
I follow "Install"
00:00:00.600
And
I enter "rute-dummy" as the filtered package name
00:00:00.083
And
I click on the filter button until page does contain "rute-dummy" text
00:00:10.698
Then
I should see a "rute-dummy-2.0-1.2" text
00:00:00.081
And
I should not see a "rute-dummy-2.1-1.1" text
00:00:00.076
@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.567
And
I refresh packages list via spacecmd on "sle_minion"
00:00:08.038
And
I wait until refresh package list on "sle_minion" is finished
00:00:13.427
And
I am on the "Software" page of this "sle_minion"
00:00:01.857
And
I follow "Packages"
00:00:00.508
And
I follow "Upgrade"
00:00:00.603
Then
I should not see a "rute-dummy-2.1-1.1" text
00:00:00.130
When
I remove package "rute-dummy" from this "sle_minion"
00:00:02.267
And
I refresh packages list via spacecmd on "sle_minion"
00:00:09.542
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:08.698
@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.543
And
I refresh packages list via spacecmd on "sle_minion"
00:00:07.662
And
I wait until refresh package list on "sle_minion" is finished
00:00:13.248
And
I follow the left menu "Software > Channel List > All"
00:00:00.223
And
I follow "Show All Child Channels"
00:00:00.065
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.650
And
I follow "Patches" in the content area
00:00:00.085
And
I follow "rute-dummy-0817"
00:00:00.554
And
I follow "Affected Systems"
00:00:00.318
Then
I should see a "No systems." text
00:00:00.066
When
I remove package "rute-dummy" from this "sle_minion"
00:00:02.357
And
I refresh packages list via spacecmd on "sle_minion"
00:00:09.053
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:08.988
@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.266
And
I follow "Show All Child Channels"
00:00:00.101
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.642
And
I follow "Packages" in the content area
00:00:00.094
And
I follow "rute-dummy-2.0-1.2.x86_64"
00:00:00.650
And
I follow "Target Systems"
00:00:00.547
And
I refresh page until I see "sle_minion" hostname as text
00:00:00.158
@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.192
And
I follow "Show All Child Channels"
00:00:00.099
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.653
And
I follow "Packages" in the content area
00:00:00.094
And
I follow "rute-dummy-2.1-1.1.x86_64"
00:00:00.637
And
I follow "Target Systems"
00:00:00.337
Then
I should not see "sle_minion" hostname
00:00:00.064
When
I follow the left menu "Patches > Patch List > All"
00:00:00.276
And
I enter "dummy" as the filtered synopsis
00:00:00.089
And
I click on the filter button
00:00:00.759
And
I follow "rute-dummy-0815"
00:00:00.395
Then
I should see a "Status: Retracted" text
00:00:00.071
When
I go back
00:00:00.711
And
I enter "dummy" as the filtered synopsis
00:00:00.068
And
I click on the filter button
00:00:00.778
And
I follow "rute-dummy-0816"
00:00:00.404
Then
I should see a "Status: Stable" text
00:00:00.082
When
I go back
00:00:00.486
And
I enter "dummy" as the filtered synopsis
00:00:00.069
And
I click on the filter button
00:00:00.768
And
I follow "rute-dummy-0817"
00:00:00.432
Then
I should see a "Status: Retracted" text
00:00:00.077
When
I follow the left menu "Patches > Patch List > All"
00:00:00.122
And
I enter "dummy" as the filtered synopsis
00:00:00.055
And
I click on the filter button
00:00:00.747
Then
the table row for "rute-dummy-0815" should contain "retracted" icon
00:00:00.029
And
the table row for "rute-dummy-0816" should not contain "retracted" icon
00:00:00.020
And
the table row for "rute-dummy-0817" should contain "retracted" icon
00:00:00.025
@scope_retracted_patches
Scenario: Retracted patches in the channel patches list
When
I follow the left menu "Software > Channel List > All"
00:00:00.277
And
I follow "Show All Child Channels"
00:00:00.105
And
I follow "Fake-RPM-SUSE-Channel"
00:00:01.327
And
I follow "Patches" in the content area
00:00:00.093
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.017
And
the table row for "rute-dummy-0817" should contain "retracted" icon
00:00:00.023
@scope_retracted_patches
Scenario: Retracted packages in the channel packages list
When
I follow the left menu "Software > Channel List > All"
00:00:00.103
And
I follow "Show All Child Channels"
00:00:00.066
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.626
And
I follow "Packages" in the content area
00:00:00.086
Then
the table row for "rute-dummy-2.0-1.1.x86_64" should contain "retracted" icon
00:00:00.024
Then
the table row for "rute-dummy-2.0-1.2.x86_64" should not contain "retracted" icon
00:00:00.019
Then
the table row for "rute-dummy-2.1-1.1.x86_64" should contain "retracted" icon
00:00:00.025
@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.259
And
I click on the clear SSM button
00:00:00.086
And
I check the "sle_minion" client
00:00:00.450
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.584
And
I follow "Packages" in the content area
00:00:00.078
And
I follow "Install"
00:00:00.461
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.415
Then
I should see a "rute-dummy-2.0-1.2" text
00:00:00.097
And
I should not see a "rute-dummy-2.1-1.1" text
00:00:00.090
And
I click on the clear SSM button
00:00:00.060