Skip to content
Snippets Groups Projects
Commit bc15e7ac authored by Tamaki Fujino's avatar Tamaki Fujino Committed by Yas Naoi
Browse files

Issue #3346385 by TamakiFujino, yas: Refactor the test scenarios that require...

Issue #3346385 by TamakiFujino, yas: Refactor the test scenarios that require OpenStack network interface
parent fc9eb4e6
No related branches found
No related tags found
1 merge request!1634Issue #3346385: Refactor the test scenarios that require OpenStack network interface
......@@ -15,20 +15,6 @@ Feature: Create an instance for OpenStack as an "authenticated user"
And I should see "{{ status }}"
And I should see neither error nor warning messages
# We need to update network interface by clicking the "Refresh" button.
# Remove the following test scenarios after refactoring network interface.
@api
Scenario: Read a network interface
Given I am logged in as user "{{ drupal_user_name }}"
When I visit "/clouds/openstack/{{ cloud_context }}/network_interface"
And I click "Refresh"
And I should see the link "{{ network_name }}"
And I wait {{ wait }} milliseconds
And I click "{{ network_name }}"
Then the url should match "/clouds/openstack/{{ cloud_context }}/network_interface/"
And I should see "{{ network_name }}"
And I should see neither error nor warning messages
@api
Scenario: Create a launch template
Given I am logged in as user "{{ drupal_user_name }}"
......@@ -40,7 +26,7 @@ Feature: Create an instance for OpenStack as an "authenticated user"
And I select "{{ availability_zone }}" from "Availability Zone"
And I select "{{ security_group_name }}" from "Security groups"
And I select "{{ key_pair_name }}" from "SSH key"
And I select "{{ network_name }}" from "Network interface"
And I select "{{ network_name }}" from "Network"
And I select "{{ server_group_name }}" from "Server group name"
And I press "Save"
Then the url should match "/clouds/design/server_template/{{ cloud_context }}/"
......
......@@ -14,7 +14,7 @@ Feature: Launch, reboot, stop, and terminate an instance for OpenStack as an "au
And I select "{{ key_pair_name }}" from "SSH key"
# Make sure we have this network interface at OpenStack Horizon dashboard.
# Refactor the line below when removing network interface.
And I select "{{ network_name }}" from "Network interface"
And I select "{{ network_name }}" from "Network"
And I select "{{ server_group_name }}" from "Server group name"
And I press "Save"
Then the url should match "/clouds/design/server_template/{{ cloud_context }}/"
......
......@@ -13,7 +13,7 @@ Feature: Create and copy a launch template for OpenStack as an "authenticated us
And I select "{{ availability_zone }}" from "Availability Zone"
And I select "{{ security_group_name }}" from "Security groups"
And I select "{{ key_pair_name }}" from "SSH key"
And I select "{{ network_name }}" from "Network interface"
And I select "{{ network_name }}" from "Network"
And I press "Save"
Then the url should match "/clouds/design/server_template/{{ cloud_context }}/"
And I should see the success message "has been created"
......
......@@ -12,7 +12,7 @@ Feature: Create, associate, read, update, disassociate and delete a floating IP
And I select "{{ availability_zone }}" from "Availability Zone"
And I select "{{ security_group_name }}" from "Security groups"
And I select "{{ key_pair_name }}" from "SSH key"
And I select "{{ network_name_operate_floating_ip }}" from "Network interface"
And I select "{{ network_name_operate_floating_ip }}" from "Network"
And I select "{{ server_group_name }}" from "Server group name"
And I press "Save"
Then the url should match "/clouds/design/server_template/{{ cloud_context }}/"
......
......@@ -14,7 +14,6 @@ Feature: Confirm the availability of the refresh button
| image |
| security_group |
| floating_ip |
| network_interface |
| key_pair |
| volume |
| snapshot |
......@@ -39,7 +38,6 @@ Feature: Confirm the availability of the refresh button
| image |
| security_group |
| floating_ip |
| network_interface |
| key_pair |
| volume |
| snapshot |
......@@ -63,7 +61,6 @@ Feature: Confirm the availability of the refresh button
| image |
| security_group |
| floating_ip |
| network_interface |
| key_pair |
| volume |
| snapshot |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment