Feature: 0014 - Synchronize fake channels
Description: In order to use the content provided inside the repositories of the fake channels
As admin
I want to synchronize the fake channels
File name: srv_sync_fake_channels.feature
Relative path: reposync/srv_sync_fake_channels.feature
Given
I am authorized for the "Admin" section
0s
When
I follow the left menu "Software > Manage > Channels"
0s
And
I follow "Fake-RPM-SUSE-Channel"
0s
And
I follow "Repositories" in the content area
0s
And
I follow "Sync"
0s
And
I wait at most 60 seconds until I do not see "Repository sync is running." text, refreshing the page
0s
And
I click on "Sync Now"
0s
Then
I should see a "Repository sync scheduled for Fake-RPM-SUSE-Channel." text
0s
And
I wait until the channel "fake-rpm-suse-channel" has been synced
0s
@skip_if_github_validation
Scenario: Synchronize Fake-Child-Channel-i586 channel
Given
I am authorized for the "Admin" section
0s
When
I follow the left menu "Software > Manage > Channels"
0s
And
I follow "Fake-Child-Channel-i586"
0s
And
I follow "Repositories" in the content area
0s
And
I follow "Sync"
0s
And
I wait at most 60 seconds until I do not see "Repository sync is running." text, refreshing the page
0s
And
I click on "Sync Now"
0s
Then
I should see a "Repository sync scheduled for Fake-Child-Channel-i586." text
0s
And
I wait until the channel "fake-child-channel-i586" has been synced
0s
Given
I am authorized for the "Admin" section
0s
When
I follow the left menu "Software > Manage > Channels"
0s
And
I follow "Test-Child-Channel-x86_64"
0s
And
I follow "Repositories" in the content area
0s
And
I follow "Sync"
0s
And
I wait at most 60 seconds until I do not see "Repository sync is running." text, refreshing the page
0s
And
I click on "Sync Now"
0s
Then
I should see a "Repository sync scheduled for Test-Child-Channel-x86_64." text
0s
And
I wait until the channel "test-child-channel-x86_64" has been synced
0s
Given
I am authorized for the "Admin" section
0s
When
I follow the left menu "Software > Manage > Channels"
0s
And
I follow "Fake-Child-Channel-SUSE-like"
0s
And
I follow "Repositories" in the content area
0s
And
I follow "Sync"
0s
And
I wait at most 60 seconds until I do not see "Repository sync is running." text, refreshing the page
0s
And
I click on "Sync Now"
0s
Then
I should see a "Repository sync scheduled for Fake-Child-Channel-SUSE-like." text
0s
And
I wait until the channel "fake-child-channel-suse-like" has been synced
0s
@deblike_minion
Scenario: Synchronize Fake-Base-Channel-Debian-like channel
Given
I am authorized for the "Admin" section
0s
When
I follow the left menu "Software > Manage > Channels"
0s
And
I follow "Fake-Base-Channel-Debian-like"
0s
And
I follow "Repositories" in the content area
0s
And
I follow "Sync"
0s
And
I wait at most 60 seconds until I do not see "Repository sync is running." text, refreshing the page
0s
And
I click on "Sync Now"
0s
Then
I should see a "Repository sync scheduled for Fake-Base-Channel-Debian-like." text
0s
And
I wait until the channel "fake-base-channel-debian-like" has been synced
0s
Given
I am authorized for the "Admin" section
0s
When
I follow the left menu "Software > Manage > Channels"
0s
And
I follow "Fake-Base-Channel-RH-like"
0s
And
I follow "Repositories" in the content area
0s
And
I follow "Sync"
0s
And
I wait at most 60 seconds until I do not see "Repository sync is running." text, refreshing the page
0s
And
I click on "Sync Now"
0s
Then
I should see a "Repository sync scheduled for Fake-Base-Channel-RH-like." text
0s
And
I wait until the channel "fake-base-channel-rh-like" has been synced
0s
Given
I am authorized for the "Admin" section
0s
When
I follow the left menu "Software > Manage > Channels"
0s
And
I follow "Fake-Base-Channel-AppStream"
0s
And
I follow "Repositories" in the content area
0s
And
I follow "Sync"
0s
And
I wait at most 60 seconds until I do not see "Repository sync is running." text, refreshing the page
0s
And
I click on "Sync Now"
0s
Then
I should see a "Repository sync scheduled for Fake-Base-Channel-AppStream." text
0s
And
I wait until the channel "fake-base-channel-appstream" has been synced
0s
@pxeboot_minion
@uyuni
@scc_credentials
Scenario: Synchronize the repository in the terminal channel
Given
I am authorized for the "Admin" section
0s
And
I follow the left menu "Software > Manage > Channels"
0s
And
I follow "Fake-RPM-Terminal-Channel"
0s
And
I follow "Repositories" in the content area
0s
And
I follow "Sync"
0s
And
I wait at most 60 seconds until I do not see "Repository sync is running." text, refreshing the page
0s
And
I click on "Sync Now"
0s
Then
I should see a "Repository sync scheduled for Fake-RPM-Terminal-Channel." text
0s
And
I wait until the channel "fake-rpm-terminal-channel" has been synced
0s
@pxeboot_minion
@uyuni
@scc_credentials
Scenario: Verify state of Fake-RPM-Terminal-Channel custom channel
Then
"orion-dummy-1.1-1.1.x86_64.rpm" package should have been stored
0s
And
solver file for "fake-rpm-terminal-channel" should reference "orion-dummy-1.1-1.1.x86_64.rpm"
0s
When
I follow the left menu "Admin > Task Schedules"
0s
And
I follow "errata-cache-default"
0s
And
I follow "errata-cache-bunch"
0s
And
I click on "Single Run Schedule"
0s
Then
I should see a "bunch was scheduled" text
0s
And
I wait until the table contains "FINISHED" or "SKIPPED" followed by "FINISHED" in its first rows
0s
When
I follow the left menu "Admin > Task Schedules"
0s
And
I follow "channel-repodata-default"
0s
And
I follow "channel-repodata-bunch"
0s
And
I click on "Single Run Schedule"
0s
Then
I should see a "bunch was scheduled" text
0s
And
I wait until the table contains "FINISHED" or "SKIPPED" followed by "FINISHED" in its first rows
0s