Feature: 0012 - Create fake repositories for each fake child channel
Description: In order to distribute software to the clients
As an authorized user
I want to create a fake repository per fake child channel
File name: srv_create_fake_repositories.feature
Relative path: reposync/srv_create_fake_repositories.feature
When
I follow the left menu "Software > Manage > Repositories"
00:00:00.188
And
I follow "Create Repository"
00:00:00.309
And
I enter "fake-rpm-repo" as "label"
00:00:00.057
And
I enter "http://localhost/pub/TestRepoRpmUpdates/" as "url"
00:00:00.084
And
I click on "Create Repository"
00:00:00.058
Unable to find visible xpath "/html" (Capybara::ElementNotFound) ./features/support/commonlib.rb:125:in `check_text?' ./features/step_definitions/navigation_steps.rb:691:in `/^I should see a "([^"]*)" text$/' features/reposync/srv_create_fake_repositories.feature:22:in `I should see a "Repository created successfully" text'
And
I should see "metadataSigned" as checked
0s
When
I follow the left menu "Software > Manage > Repositories"
00:00:00.072
And
I follow "fake-rpm-repo"
00:00:00.302
And
I uncheck "metadataSigned"
00:00:10.062
And
I click on "Update Repository"
00:00:00.555
Then
I should see a "Repository updated successfully" text
00:00:00.153
And
I should see "metadataSigned" as unchecked
00:00:00.013
When
I follow the left menu "Software > Manage > Repositories"
00:00:00.066
And
I follow "Create Repository"
00:00:00.294
And
I enter "fake-appstream-repo" as "label"
00:00:00.061
And
I enter "http://localhost/pub/TestRepoAppStream/" as "url"
00:00:00.080
And
I click on "Create Repository"
00:00:00.450
Then
I should see a "Repository created successfully" text
00:00:00.148
And
I should see "metadataSigned" as checked
00:00:00.014
@rhlike_minion
Scenario: Disable metadata check for the fake AppStream repository
When
I follow the left menu "Software > Manage > Repositories"
00:00:00.067
And
I follow "fake-appstream-repo"
00:00:00.335
And
I uncheck "metadataSigned"
00:00:10.061
And
I click on "Update Repository"
00:00:00.421
Then
I should see a "Repository updated successfully" text
00:00:00.152
And
I should see "metadataSigned" as unchecked
00:00:00.016
@sle_minion
Scenario: Add the fake RPM repository to the SUSE fake child channel
When
I follow the left menu "Software > Manage > Channels"
00:00:00.074
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.371
And
I enter "file:///etc/pki/rpm-gpg/uyuni-tools-gpg-pubkey-0d20833e.key" as "GPG key URL"
00:00:00.114
And
I click on "Update Channel"
00:00:00.584
Then
I should see a "Channel Fake-RPM-SUSE-Channel updated" text
00:00:00.182
When
I follow "Repositories" in the content area
00:00:00.072
And
I select the "fake-rpm-repo" repo
00:00:00.055
And
I click on "Save Repositories"
00:00:00.945
Then
I should see a "Fake-RPM-SUSE-Channel repository information was successfully updated" text
00:00:00.159
When
I follow the left menu "Software > Manage > Channels"
00:00:00.065
And
I follow "Test-Child-Channel-x86_64"
00:00:00.435
And
I enter "file:///etc/pki/rpm-gpg/uyuni-tools-gpg-pubkey-0d20833e.key" as "GPG key URL"
00:00:00.105
And
I click on "Update Channel"
00:00:00.053
Then
I should see a "Channel Test-Child-Channel-x86_64 updated" text
00:00:00.612
+ Show Error
+ Screenshot
Unable to find visible xpath "/html" (Capybara::ElementNotFound) ./features/support/commonlib.rb:125:in `check_text?' ./features/step_definitions/navigation_steps.rb:691:in `/^I should see a "([^"]*)" text$/' features/reposync/srv_create_fake_repositories.feature:69:in `I should see a "Channel Test-Child-Channel-x86_64 updated" text'
When
I follow "Repositories" in the content area
0s
And
I select the "fake-rpm-repo" repo
0s
And
I click on "Save Repositories"
0s
Then
I should see a "Test-Child-Channel-x86_64 repository information was successfully updated" text
0s
@rhlike_minion
Scenario: Add the fake RPM repository to the RedHat-like base channel
When
I follow the left menu "Software > Manage > Channels"
00:00:00.072
And
I follow "Fake-Base-Channel-RH-like"
00:00:00.440
And
I enter "file:///etc/pki/rpm-gpg/uyuni-tools-gpg-pubkey-0d20833e.key" as "GPG key URL"
00:00:00.106
And
I click on "Update Channel"
00:00:00.051
Then
I should see a "Channel Fake-Base-Channel-RH-like updated" text
00:00:00.527
+ Show Error
+ Screenshot
Unable to find visible xpath "/html" (Capybara::ElementNotFound) ./features/support/commonlib.rb:125:in `check_text?' ./features/step_definitions/navigation_steps.rb:691:in `/^I should see a "([^"]*)" text$/' features/reposync/srv_create_fake_repositories.feature:81:in `I should see a "Channel Fake-Base-Channel-RH-like updated" text'
When
I follow "Repositories" in the content area
0s
And
I select the "fake-rpm-repo" repo
0s
And
I click on "Save Repositories"
0s
Then
I should see a "Fake-Base-Channel-RH-like repository information was successfully updated" text
0s
@rhlike_minion
Scenario: Add the fake AppStream repository to the AppStream base channel
When
I follow the left menu "Software > Manage > Channels"
00:00:00.085
And
I follow "Fake-Base-Channel-AppStream"
00:00:00.360
And
I enter "file:///etc/pki/rpm-gpg/uyuni-tools-gpg-pubkey-0d20833e.key" as "GPG key URL"
00:00:00.105
And
I click on "Update Channel"
00:00:00.513
Then
I should see a "Channel Fake-Base-Channel-AppStream updated" text
00:00:00.175
When
I follow "Repositories" in the content area
00:00:00.069
And
I select the "fake-appstream-repo" repo
00:00:00.060
And
I click on "Save Repositories"
00:00:00.576
Then
I should see a "Fake-Base-Channel-AppStream repository information was successfully updated" text
00:00:00.164
When
I follow the left menu "Software > Manage > Repositories"
00:00:00.073
And
I follow "Create Repository"
00:00:00.373
And
I enter "fake-i586-repo" as "label"
00:00:00.058
And
I enter "file:///srv/www/htdocs/pub/TestRepoRpmUpdates/" as "url"
00:00:00.095
And
I uncheck "metadataSigned"
00:00:10.069
And
I click on "Create Repository"
00:00:00.411
Then
I should see a "Repository created successfully" text
00:00:00.158
When
I follow the left menu "Software > Manage > Channels"
00:00:00.068
And
I follow "Fake-Child-Channel-i586"
00:00:00.363
And
I enter "file:///etc/pki/rpm-gpg/uyuni-tools-gpg-pubkey-0d20833e.key" as "GPG key URL"
00:00:00.109
And
I click on "Update Channel"
00:00:00.053
Then
I should see a "Channel Fake-Child-Channel-i586 updated" text
00:00:00.271
When
I follow "Repositories" in the content area
00:00:00.055
And
I select the "fake-i586-repo" repo
00:00:00.056
And
I click on "Save Repositories"
00:00:00.544
Then
I should see a "Fake-Child-Channel-i586 repository information was successfully updated" text
00:00:00.167
When
I follow the left menu "Software > Manage > Channels"
00:00:00.067
And
I follow "Fake-Child-Channel-SUSE-like"
00:00:00.863
And
I follow "Repositories" in the content area
00:00:00.057
And
I select the "fake-rpm-repo" repo
00:00:00.071
And
I click on "Save Repositories"
00:00:01.723
Then
I should see a "Fake-Child-Channel-SUSE-like repository information was successfully updated" text
00:00:00.162
When
I follow the left menu "Software > Manage > Repositories"
00:00:00.071
And
I follow "Create Repository"
00:00:00.323
And
I enter "fake-debian-repo" as "label"
00:00:00.061
And
I select "deb" from "contenttype"
00:00:00.062
And
I enter "http://localhost/pub/TestRepoDebUpdates/" as "url"
00:00:00.083
And
I click on "Create Repository"
00:00:00.052
Then
I should see a "Repository created successfully" text
00:00:00.162
@deblike_minion
Scenario: Add the repository to the Debian-like base channel
When
I follow the left menu "Software > Manage > Channels"
00:00:00.068
And
I follow "Fake-Base-Channel-Debian-like"
00:00:00.369
And
I follow "Repositories" in the content area
00:00:00.055
And
I select the "fake-debian-repo" repo
00:00:00.052
And
I click on "Save Repositories"
00:00:01.263
Then
I should see a "Fake-Base-Channel-Debian-like repository information was successfully updated" text
00:00:00.172
@pxeboot_minion
@uyuni
@scc_credentials
Scenario: Add the repository to the terminal child channel
When
I follow the left menu "Software > Manage > Channels"
0s
And
I follow "Fake-RPM-Terminal-Channel"
0s
And
I enter "file:///etc/pki/rpm-gpg/uyuni-tools-gpg-pubkey-0d20833e.key" as "GPG key URL"
0s
And
I click on "Update Channel"
0s
Then
I should see a "Channel Fake-RPM-Terminal-Channel updated" text
0s
When
I follow "Repositories" in the content area
0s
And
I select the "fake-rpm-repo" repo
0s
And
I click on "Save Repositories"
0s
Then
I should see a "Fake-RPM-Terminal-Channel repository information was successfully updated" text
0s