@containerized_server
@skip_if_github_validation
@proxy
@private_net
@pxeboot_minion
@scope_retail
Feature: 0072 - Mass import of Retail terminals behind a containerized proxy
Description: In order to manage my terminals in a Retail context
As the system administrator
I perform a mass import of several virtual terminals and one real minion
File name: proxy_container_retail_mass_import.feature
Relative path: secondary/proxy_container_retail_mass_import.feature
@containerized_server
@skip_if_github_validation
@proxy
@private_net
@pxeboot_minion
@scope_retail
Scenario: Mass import of terminals
When
I prepare the retail configuration file on server
0s
And
I import the retail configuration using retail_yaml command
0s
And
I am on the Systems page
0s
Then
I should see the terminals imported from the configuration file
0s
@containerized_server
@skip_if_github_validation
@proxy
@private_net
@pxeboot_minion
@scope_retail
Scenario: Bootstrap the PXE boot minion
When
I create the bootstrap script for "proxy.example.org" hostname and "1-TERMINAL-KEY-x86_64" activation key on "server"
0s
And
I bootstrap pxeboot minion via bootstrap script on the proxy
0s
And
I wait at most 350 seconds until Salt master sees "pxeboot_minion" as "unaccepted"
0s
And
I accept key of pxeboot minion in the Salt master
0s
Then
I follow the left menu "Systems > System List > All"
0s
And
I wait until I see the name of "pxeboot_minion", refreshing the page
0s
@containerized_server
@skip_if_github_validation
@proxy
@private_net
@pxeboot_minion
@scope_retail
Scenario: Check connection from bootstrapped terminal to proxy
Given
I am on the Systems page
0s
When
I follow "pxeboot" terminal
0s
And
I follow "Details" in the content area
0s
And
I follow "Connection" in the content area
0s
Then
I should see a "proxy.example.org" text
0s
@containerized_server
@skip_if_github_validation
@proxy
@private_net
@pxeboot_minion
@scope_retail
Scenario: Install a package on the bootstrapped terminal
Given
I am on the Systems page
0s
When
I follow "pxeboot" terminal
0s
And
I follow "Software" in the content area
0s
And
I follow "Install"
0s
And
I enter "virgo" as the filtered package name
0s
And
I click on the filter button
0s
And
I check "virgo-dummy-2.0-1.1" in the list
0s
And
I click on "Install Packages"
0s
And
I click on "Confirm"
0s
Then
I should see a "1 package install has been scheduled" text
0s
When
I wait until event "Package Install/Upgrade scheduled by admin" is completed
0s
@containerized_server
@skip_if_github_validation
@proxy
@private_net
@pxeboot_minion
@scope_retail
Scenario: Remove the package from the bootstrapped terminal
Given
I am on the Systems page
0s
When
I follow "pxeboot" terminal
0s
And
I follow "Software" in the content area
0s
And
I follow "List / Remove"
0s
And
I enter "virgo" as the filtered package name
0s
And
I click on the filter button
0s
And
I check "virgo-dummy-2.0-1.1" in the list
0s
And
I click on "Remove Packages"
0s
And
I click on "Confirm"
0s
Then
I should see a "1 package removal has been scheduled" text
0s
When
I wait until event "Package Removal scheduled by admin" is completed
0s
@containerized_server
@skip_if_github_validation
@proxy
@private_net
@pxeboot_minion
@scope_retail
Scenario: Cleanup: delete all imported Retail terminals
Given
I am on the Systems page
0s
When
I delete all the imported terminals
0s
Then
I should not see any terminals imported from the configuration file
0s
@containerized_server
@skip_if_github_validation
@proxy
@private_net
@pxeboot_minion
@scope_retail
Scenario: Cleanup: delete the terminal groups generated by retail_yaml command
When
I follow the left menu "Systems > System Groups"
0s
And
I follow "HWTYPE:Intel-Genuine" in the content area
0s
And
I follow "Delete Group" in the content area
0s
And
I click on "Confirm Deletion"
0s
Then
I should see a "deleted" text
0s
When
I follow "example.org" in the content area
0s
And
I follow "Delete Group" in the content area
0s
And
I click on "Confirm Deletion"
0s
Then
I should see a "deleted" text
0s
When
I follow "TERMINALS" in the content area
0s
And
I follow "Delete Group" in the content area
0s
And
I click on "Confirm Deletion"
0s
Then
I should see a "deleted" text
0s
When
I follow "SERVERS" in the content area
0s
And
I follow "Delete Group" in the content area
0s
And
I click on "Confirm Deletion"
0s
Then
I should see a "deleted" text
0s