@skip_if_github_validation
@skip_if_cloud
@scope_virtual_host_manager
Feature: 0029 - Virtual host manager web UI
File name: srv_virtual_host_manager.feature
Relative path: secondary/srv_virtual_host_manager.feature
@skip_if_github_validation
@skip_if_cloud
@scope_virtual_host_manager
Scenario: Check VMware page
When
I click on "Create"
0s
And
I follow "VMWare-based"
0s
Then
I should see a "Add a VMWare-based Virtual Host Manager" text
0s
And
I should see a "Label" text
0s
And
I should see a "Hostname" text
0s
And
I should see a "Port" text
0s
And
I should see a "Username" text
0s
And
I should see a "Password" text
0s
@skip_if_github_validation
@skip_if_cloud
@scope_virtual_host_manager
Scenario: Create Virtual Host
When
I follow the left menu "Systems > Virtual Host Managers"
0s
And
I copy vCenter configuration file on server
0s
And
I click on "Create"
0s
When
I follow "File-based"
0s
Then
I should see a "Add a File-based Virtual Host Manager" text
0s
When
I enter "file-vmware" as "label"
0s
And
I enter "file:///var/tmp/vCenter.json" as "module_url"
0s
And
I click on "Create"
0s
Then
I should see a "file-vmware" link
0s
@skip_if_github_validation
@skip_if_cloud
@scope_virtual_host_manager
Scenario: Run virtual-host-gatherer
When
I follow the left menu "Systems > Virtual Host Managers"
0s
And
I follow "file-vmware"
0s
Then
I should see a "file:///var/tmp/vCenter.json" text
0s
And
I should see a "SUSE Test" text
0s
When
I click on "Refresh Data"
0s
Then
I should see a "Refreshing the data for this Virtual Host Manager has been triggered." text
0s
@skip_if_github_validation
@skip_if_cloud
@scope_virtual_host_manager
Scenario: Check new virtual hosts
Given
I am on the Systems page
0s
And
I wait until I see "10.162.186.111" text, refreshing the page
0s
When
I follow "10.162.186.111"
0s
Then
I should see a "OS: VMware ESXi" text
0s
When
I follow the left menu "Systems > System List > Virtual Systems"
0s
Then
I should see a "vCenter" text
0s
And
I should see a "NSX-l3gateway" text
0s
@skip_if_github_validation
@skip_if_cloud
@scope_virtual_host_manager
Scenario: Delete Virtual Host Manager
When
I follow the left menu "Systems > Virtual Host Managers"
0s
And
I follow "file-vmware"
0s
Then
I should see a "file:///var/tmp/vCenter.json" text
0s
When
I click on "Delete" in element "virtual-host-managers"
0s
And
I click on "Delete" in "Delete Virtual Host Manager" modal
0s
And
I wait until I see "Virtual Host Manager has been deleted." text
0s
Then
I should see a "No Virtual Host Managers." text
0s
@skip_if_github_validation
@skip_if_cloud
@scope_virtual_host_manager
Scenario: Cleanup: delete virtual host 10.162.186.111
Given
I am on the Systems page
0s
When
I follow "10.162.186.111"
0s
And
I follow "Delete System"
0s
And
I click on "Delete Profile"
0s
And
I wait until I see "has been deleted" text
0s
@skip_if_github_validation
@skip_if_cloud
@scope_virtual_host_manager
Scenario: Cleanup: delete virtual host 10.162.186.112
Given
I am on the Systems page
0s
When
I follow "10.162.186.112"
0s
And
I follow "Delete System"
0s
And
I click on "Delete Profile"
0s
And
I wait until I see "has been deleted" text
0s