@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.981
And
I refresh packages list via spacecmd on "sle_minion"
00:00:08.835
And
I wait until refresh package list on "sle_minion" is finished
00:00:14.002
And
I am on the "Software" page of this "sle_minion"
00:00:02.007
And
I follow "Packages"
00:00:00.451
And
I follow "List / Remove"
00:00:00.813
And
I enter "rute-dummy" as the filtered package name
00:00:00.050
And
I click on the filter button until page does contain "rute-dummy" text
00:00:11.888
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.122
And
I refresh packages list via spacecmd on "sle_minion"
00:00:09.670
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:09.392
@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.941
And
I follow "Packages"
00:00:00.428
And
I follow "Install"
00:00:00.607
And
I enter "rute-dummy" as the filtered package name
00:00:00.054
And
I click on the filter button until page does contain "rute-dummy" text
00:00:11.108
Then
I should see a "rute-dummy-2.0-1.2" text
00:00:00.073
And
I should not see a "rute-dummy-2.1-1.1" text
00:00:00.071
@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.373
And
I refresh packages list via spacecmd on "sle_minion"
00:00:08.173
And
I wait until refresh package list on "sle_minion" is finished
00:00:13.527
And
I am on the "Software" page of this "sle_minion"
00:00:01.914
And
I follow "Packages"
00:00:00.503
And
I follow "Upgrade"
00:00:00.520
Then
I should not see a "rute-dummy-2.1-1.1" text
00:00:00.120
When
I remove package "rute-dummy" from this "sle_minion"
00:00:01.960
And
I refresh packages list via spacecmd on "sle_minion"
00:00:08.796
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:09.237
@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.170
And
I refresh packages list via spacecmd on "sle_minion"
00:00:07.546
And
I wait until refresh package list on "sle_minion" is finished
00:00:13.629
And
I follow the left menu "Software > Channel List > All"
00:00:00.221
And
I follow "Show All Child Channels"
00:00:00.067
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.625
And
I follow "Patches" in the content area
00:00:00.076
And
I follow "rute-dummy-0817"
00:00:00.438
And
I follow "Affected Systems"
00:00:00.304
Then
I should see a "No systems." text
00:00:00.062
When
I remove package "rute-dummy" from this "sle_minion"
00:00:01.986
And
I refresh packages list via spacecmd on "sle_minion"
00:00:08.842
And
I wait until package "rute-dummy" is removed from "sle_minion" via spacecmd
00:00:09.108
@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.210
And
I follow "Show All Child Channels"
00:00:00.057
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.599
And
I follow "Packages" in the content area
00:00:00.073
And
I follow "rute-dummy-2.0-1.2.x86_64"
00:00:00.780
And
I follow "Target Systems"
00:00:00.473
And
I refresh page until I see "sle_minion" hostname as text
00:00:00.147
@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.151
And
I follow "Show All Child Channels"
00:00:00.064
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.437
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.494
And
I follow "Target Systems"
00:00:00.311
Then
I should not see "sle_minion" hostname
00:00:00.070
When
I follow the left menu "Patches > Patch List > All"
00:00:00.211
And
I enter "dummy" as the filtered synopsis
00:00:00.052
And
I click on the filter button
00:00:00.676
And
I follow "rute-dummy-0815"
00:00:00.456
Then
I should see a "Status: Retracted" text
00:00:00.064
When
I go back
00:00:00.432
And
I enter "dummy" as the filtered synopsis
00:00:00.055
And
I click on the filter button
00:00:00.699
And
I follow "rute-dummy-0816"
00:00:00.463
Then
I should see a "Status: Stable" text
00:00:00.066
When
I go back
00:00:00.443
And
I enter "dummy" as the filtered synopsis
00:00:00.049
And
I click on the filter button
00:00:00.667
And
I follow "rute-dummy-0817"
00:00:00.467
Then
I should see a "Status: Retracted" text
00:00:00.068
When
I follow the left menu "Patches > Patch List > All"
00:00:00.088
And
I enter "dummy" as the filtered synopsis
00:00:00.041
And
I click on the filter button
00:00:00.650
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.205
And
I follow "Show All Child Channels"
00:00:00.055
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.583
And
I follow "Patches" in the content area
00:00:00.070
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.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.077
And
I follow "Show All Child Channels"
00:00:00.048
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.597
And
I follow "Packages" in the content area
00:00:00.071
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.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.208
And
I click on the clear SSM button
00:00:00.057
And
I check the "sle_minion" client
00:00:00.446
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.493
And
I follow "Packages" in the content area
00:00:00.063
And
I follow "Install"
00:00:00.418
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.372
Then
I should see a "rute-dummy-2.0-1.2" text
00:00:00.086
And
I should not see a "rute-dummy-2.1-1.1" text
00:00:00.091
And
I click on the clear SSM button
00:00:00.051