Skip to content
Snippets Groups Projects

Issue #3346385: Refactor the test scenarios that require OpenStack network interface

Merged Issue #3346385: Refactor the test scenarios that require OpenStack network interface
Merged Tamaki Fujino requested to merge issue/cloud-3346385:3346385-refactor-the-test into 5.x
5 files
+ 4
21
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -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 }}/"
Loading