@scope_visualization
@scc_credentials
Feature: 0100 - Managing channels
Description: In Order to distribute software to the clients
As an authorized user
I want to manage channels
File name: srv_manage_channels_page.feature
Relative path: secondary/srv_manage_channels_page.feature
@scope_visualization
Scenario: Fail when trying to add a duplicate channel
When
I follow the left menu "Software > Manage > Channels"
00:00:00.241
And
I follow "Create Channel"
00:00:00.396
And
I enter "Fake-Base-Channel-SUSE-like" as "Channel Name"
00:00:00.098
And
I enter "fake-base-channel-suse-like" as "Channel Label"
00:00:00.092
And
I select "None" from "Parent Channel"
00:00:00.068
And
I select "x86_64" from "Architecture:"
00:00:00.054
And
I enter "Base channel for testing" as "Channel Summary"
00:00:00.087
And
I enter "No more desdcription for base channel." as "Channel Description"
00:00:00.099
And
I click on "Create Channel"
00:00:00.409
Then
I should see a "The channel name 'Fake-Base-Channel-SUSE-like' is already in use, please enter a different name" text
00:00:00.078
@scope_visualization
Scenario: Fail when trying to use invalid characters in the channel label
When
I follow the left menu "Software > Manage > Channels"
00:00:00.086
And
I follow "Create Channel"
00:00:00.396
And
I enter "test123" as "Channel Name"
00:00:00.063
And
I enter "tesT123" as "Channel Label"
00:00:00.063
And
I enter "test123" as "Channel Summary"
00:00:00.067
And
I click on "Create Channel"
00:00:00.392
Then
I should see a "Invalid channel label, please see the format described below" text
00:00:00.085
@scope_visualization
Scenario: Fail when trying to use invalid characters in the channel name
When
I follow the left menu "Software > Manage > Channels"
00:00:00.080
And
I follow "Create Channel"
00:00:01.340
And
I enter "!test123" as "Channel Name"
00:00:00.063
And
I enter "test123" as "Channel Label"
00:00:00.059
And
I enter "test123" as "Channel Summary"
00:00:00.064
And
I click on "Create Channel"
00:00:00.590
Then
I should see a "Invalid channel name, please see the format described below" text
00:00:00.086
@scope_visualization
@scc_credentials
Scenario: Fail when trying to use reserved names for channels
When
I follow the left menu "Software > Manage > Channels"
00:00:00.082
And
I follow "Create Channel"
00:00:00.405
And
I enter "openSUSE-Leap-15.6-Pool for x86_64" as "Channel Name"
00:00:00.092
And
I enter "test123" as "Channel Label"
00:00:00.064
And
I enter "test123" as "Channel Summary"
00:00:00.064
And
I click on "Create Channel"
00:00:00.067
Then
I should see a "The channel name 'openSUSE-Leap-15.6-Pool for x86_64' is reserved, please enter a different name" text
00:00:00.085
@scope_visualization
@scc_credentials
Scenario: Fail when trying to use reserved labels for channels
When
I follow the left menu "Software > Manage > Channels"
00:00:00.078
And
I follow "Create Channel"
00:00:00.382
And
I enter "test123" as "Channel Name"
00:00:00.063
And
I enter "opensuse-leap-15.6-pool-x86_64" as "Channel Label"
00:00:00.090
And
I enter "test123" as "Channel Summary"
00:00:00.063
And
I click on "Create Channel"
00:00:00.404
Then
I should see a "The channel label 'opensuse-leap-15.6-pool-x86_64' is reserved, please enter a different name" text
00:00:00.078
When
I follow the left menu "Software > Manage > Channels"
00:00:00.080
And
I follow "Create Channel"
00:00:00.383
And
I enter "aaaSLE-12-Cloud-Compute5-Pool for x86_64" as "Channel Name"
00:00:00.101
And
I enter "sle-we12aaa-pool-x86_64-sap" as "Channel Label"
00:00:00.084
And
I enter "test123" as "Channel Summary"
00:00:00.063
And
I click on "Create Channel"
00:00:00.720
Then
I should see a "Channel aaaSLE-12-Cloud-Compute5-Pool for x86_64 created." text
00:00:00.078
@scope_visualization
@scc_credentials
Scenario: Fail when trying to change the channel name to a reserved name
When
I follow the left menu "Software > Manage > Channels"
00:00:00.076
And
I follow "aaaSLE-12-Cloud-Compute5-Pool for x86_64"
00:00:00.580
And
I enter "openSUSE-Leap-15.6-Pool for x86_64" as "Channel Name"
00:00:00.129
And
I click on "Update Channel"
00:00:00.559
Then
I should see a "The channel name 'openSUSE-Leap-15.6-Pool for x86_64' is reserved, please enter a different name" text
00:00:00.074
When
I follow the left menu "Software > Manage > Channels"
00:00:00.080
And
I follow "aaaSLE-12-Cloud-Compute5-Pool for x86_64"
00:00:00.575
And
I follow "Delete Channel"
00:00:00.482
And
I check "unsubscribeSystems"
00:00:00.088
And
I click on "Delete Channel"
00:00:00.625
Then
I should see a "Channel aaaSLE-12-Cloud-Compute5-Pool for x86_64 has been deleted." text
00:00:00.090