@scope_software_channels_and_repositories
@scope_hibernate
@skip_if_github_validation
Feature: 0115 - Software channels and repositories management
Description: Software channels and repositories can be operated,
related CRUD operation encapsultade with hibernate work.
File name: srv_software_channels_and_repositories_management.feature
Relative path: secondary/srv_software_channels_and_repositories_management.feature
@scope_software_channels_and_repositories
@scope_hibernate
Scenario: Create a custom channel with a repository
When
I follow the left menu "Software > Manage > Channels"
00:00:00.219
And
I follow "Create Channel"
00:00:00.405
And
I enter "Hibernate channel" as "Channel Name"
00:00:00.075
And
I enter "hibernate-test-channel" as "Channel Label"
00:00:00.080
And
I enter "hibernate-test-channel" as "Channel Summary"
00:00:00.084
And
I click on "Create Channel"
00:00:00.753
And
I wait until I see "Hibernate channel created." text
00:00:00.080
And
I follow "Repositories" in the content area
00:00:00.076
And
I follow "Add / Remove"
00:00:00.446
And
I follow "Create Repository"
00:00:00.266
And
I enter "hibernate-test-repository" as "label"
00:00:00.076
And
I enter "https://localhost" as "url"
00:00:00.066
And
I select "yum" from "contenttype"
00:00:00.050
And
I click on "Create Repository"
00:00:00.591
And
I wait until I see "Repository created successfully" text
00:00:00.082
Then
I should see a "hibernate-test-channel repository information was successfully updated" text
00:00:00.085
@scope_software_channels_and_repositories
@scope_hibernate
Scenario: Create a repository from channel management
When
I follow the left menu "Software > Manage > Channels"
00:00:00.076
And
I should see a "Hibernate channel" text
00:00:00.093
And
I follow "Hibernate channel"
00:00:00.583
And
I follow "Repositories" in the content area
00:00:00.059
And
I follow "Add / Remove"
00:00:00.427
And
I follow "Create Repository"
00:00:00.242
And
I enter "hibernate-test-repository-2" as "label"
00:00:00.071
And
I enter "https://localhost.localdomain" as "url"
00:00:00.074
And
I select "yum" from "contenttype"
00:00:00.037
And
I click on "Create Repository"
00:00:00.577
And
I wait until I see "Repository created successfully" text
00:00:00.086
Then
I should see a "hibernate-test-channel repository information was successfully updated" text
00:00:00.081
@scope_software_channels_and_repositories
@scope_hibernate
Scenario: Modify the channel Hibernate
When
I follow the left menu "Software > Manage > Channels"
00:00:00.079
And
I should see a "Hibernate channel" text
00:00:00.090
And
I follow "Hibernate channel"
00:00:00.583
And
I should not see a "hibernate-channel" text
00:00:00.079
And
I enter "Hibernate test channel" as "Channel Name"
00:00:00.088
And
I click on "Update Channel"
00:00:00.063
Then
I wait until I see "Channel Hibernate test channel updated." text
00:00:00.087
@scope_software_channels_and_repositories
@scope_hibernate
Scenario: Modify the repository of the channel Hibernate
When
I follow the left menu "Software > Manage > Repositories"
00:00:00.077
And
I follow "hibernate-test-repository-2"
00:00:00.259
And
I enter "hibernate-repository" as "label"
00:00:00.091
And
I select "deb" from "contenttype"
00:00:00.064
And
I click on "Update Repository"
00:00:00.343
Then
I wait until I see "Repository updated successfully" text
00:00:00.066
@scope_software_channels_and_repositories
@scope_hibernate
Scenario: Check the Hibernate channel and repositories
When
I follow the left menu "Software > Manage > Channels"
00:00:00.072
And
I should see a "Hibernate test channel" text
00:00:00.092
And
I follow "Hibernate test channel"
00:00:00.777
And
I follow "Repositories" in the content area
00:00:00.061
And
I follow "Sync"
00:00:00.794
Then
I should see a "hibernate-repository" text
00:00:00.067
And
I should see a "hibernate-test-repository" text
00:00:00.066
And
I follow "hibernate-repository"
00:00:00.241
And
I should see a "deb" text
00:00:00.065
@scope_software_channels_and_repositories
@scope_hibernate
Scenario: Cleanup: Delete Hibernate repository from Repositories
When
I follow the left menu "Software > Manage > Repositories"
00:00:00.070
And
I follow "hibernate-repository"
00:00:00.347
And
I follow "Delete Repository"
00:00:00.207
And
I should see a "Confirm Repository Delete" text
00:00:00.053
And
I click on "Delete Repository"
00:00:00.401
Then
I wait until I see "Repository deleted successfully" text
00:00:00.078
@scope_software_channels_and_repositories
@scope_hibernate
Scenario: Cleanup: Delete Hibernate repository from Channels
When
I follow the left menu "Software > Manage > Channels"
00:00:00.073
And
I follow "Hibernate test channel"
00:00:00.492
And
I follow "Repositories" in the content area
00:00:00.058
And
I follow "hibernate-test-repository"
00:00:00.258
And
I follow "Delete Repository"
00:00:00.204
And
I should see a "Confirm Repository Delete" text
00:00:00.052
And
I click on "Delete Repository"
00:00:00.382
Then
I wait until I see "Repository deleted successfully" text
00:00:00.081
@scope_software_channels_and_repositories
@scope_hibernate
Scenario: Cleanup: Delete Hibernate channel
When
I follow the left menu "Software > Manage > Channels"
00:00:00.077
And
I follow "Hibernate test channel"
00:00:00.590
And
I follow "Delete Channel"
00:00:00.411
And
I should see a "Delete Channel" text
00:00:00.063
And
I click on "Delete Channel"
00:00:00.629
Then
I wait until I see "Channel Hibernate test channel has been deleted." text
00:00:00.093
@scope_software_channels_and_repositories
@scope_hibernate
@skip_if_github_validation
Scenario: Check the cleanup succeeded and the errors in logs
When
I follow the left menu "Software > Manage > Repositories"
00:00:00.076
And
I should not see a "hibernate-repository" text
00:00:00.076
And
I should not see a "hibernate-test-repository" text
00:00:00.078
And
I should not see a "hibernate-test-repository-2" text
00:00:00.085
And
I follow the left menu "Software > Manage > Channels"
00:00:00.068
Then
I should not see a "Hibernate test channel" text
00:00:00.088
And
I should not see a "Hibernate channel" text
00:00:00.085
Error related to "hibernate" found! 2026-05-31 11:36:58,965 [ajp-nio-0:0:0:0:0:0:0:1-8009-exec-10] WARN com.suse.manager.api.RouteFactory - org.hibernate.exception.SQLGrammarException: is not a fault exception. [public int com.redhat.rhn.frontend.xmlrpc.system.SystemHandler.deleteSystem(com.redhat.rhn.domain.user.User,java.lang.Integer) throws com.redhat.rhn.FaultException, public int com.redhat.rhn.frontend.xmlrpc.system.SystemHandler.deleteSystem(java.lang.String) throws com.redhat.rhn.FaultException, public int com.redhat.rhn.frontend.xmlrpc.system.SystemHandler.deleteSystem(com.redhat.rhn.domain.user.User,java.lang.Integer,java.lang.String) throws com.redhat.rhn.FaultException] (ScriptError) ./features/step_definitions/command_steps.rb:543:in `/^the server log should not contain "([^"]*)" errors$/' features/secondary/srv_software_channels_and_repositories_management.feature:109:in `the server log should not contain "hibernate" errors'