Skip to content
Snippets Groups Projects

Issue #3382016: Add a delay to allow screen rendering in SPA using JavaScript (OpenStack Floating IP)

Merged Issue #3382016: Add a delay to allow screen rendering in SPA using JavaScript (OpenStack Floating IP)
Merged asai.noriaki requested to merge issue/cloud-3382016:3382016-add-a-delay into 6.x
1 file
+ 39
0
Compare changes
  • Side-by-side
  • Inline
@@ -9,6 +9,7 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I enter "{{ security_group_name_operate }}" for "Security group name"
And I enter "{{ security_group_description }}" for "Description"
And I press "Save"
And I wait {{ wait_render }} milliseconds
# The page transitions to the detailed view
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/security_group/"
And I should see the success message "has been created"
@@ -25,6 +26,7 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
# Temporarily comment out because of the error when selecting Availability Zone
# And I select "{{ availability_zone }}" from "Availability Zone"
And I press "Save"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/network"
And I should see the success message "has been created"
And I should see neither error nor warning messages
@@ -40,6 +42,7 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I enter "{{ network_address }}" for "CIDR"
And I select "{{ ip_version }}" from "IP version"
And I press "Save"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/subnet"
And I should see the success message "has been created"
And I should see neither error nor warning messages
@@ -56,6 +59,7 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I enter "{{ network_address }}" for "Fixed IP address"
And I select "{{ security_group_name_operate }}" from "Security group"
And I press "Save"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/port"
And I should see the success message "has been created"
And I should see neither error nor warning messages
@@ -71,6 +75,7 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
# Temporarily comment out because of the error when selecting Availability Zone
# And I select "{{ availability_zone }}" from "Availability Zone"
And I press "Save"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/network"
And I should see the success message "has been created"
And I should see neither error nor warning messages
@@ -86,6 +91,7 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I enter "{{ network_address_external }}" for "CIDR"
And I select "{{ ip_version }}" from "IP version"
And I press "Save"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/subnet"
And I should see the success message "has been created"
And I should see neither error nor warning messages
@@ -100,6 +106,7 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I select "{{ network_availability_zone }}" from "Availability Zone"
And I select "{{ network_external_name_operate }}" from "External network"
And I press "Save"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/router"
And I should see the success message "has been created"
And I should see neither error nor warning messages
@@ -114,6 +121,7 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I should see the link "{{ router_name_operate }}"
And I wait {{ wait }} milliseconds
And I click "{{ router_name_operate }}"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/router/"
And I click "Interfaces"
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/router/.*/interface"
@@ -122,6 +130,7 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I select "{{ network_name_operate }}" from "Subnet"
And I enter "{{ router_internal_interface_ip }}" for "IP address"
And I press "Add interface"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/router/.*/interface"
And I should see the success message "has been added to a port"
And I should see "{{ router_internal_interface_ip }}"
@@ -135,6 +144,7 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I enter "{{ floating_ip_name_operate }}" for "Name"
And I select "{{ network_external_name_operate }}" from "Floating network ID"
And I press "Save"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/floating_ip"
And I should see the success message "has been created"
And I should see neither error nor warning messages
@@ -148,6 +158,7 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I should see the link "{{ floating_ip_name_operate }}"
And I wait {{ wait }} milliseconds
And I click "{{ floating_ip_name_operate }}"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/floating_ip/"
And I should see "{{ floating_ip_name_operate }}" in the "page_header"
And I should see "{{ floating_ip_name_operate }}" in the "Name"
@@ -162,11 +173,13 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I should see the link "{{ floating_ip_name_operate }}"
And I wait {{ wait }} milliseconds
And I click "{{ floating_ip_name_operate }}"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/floating_ip/"
And I click "Associate Floating IP" in the actions
And the url should match "/associate"
And I select "{{ port_name_operate }}" from "Port to be associated"
And I press "Associate"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/floating_ip/"
And I should see the success message "associated"
And I should see neither error nor warning messages
@@ -179,6 +192,7 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I should see the link "{{ floating_ip_name_operate }}"
And I wait {{ wait }} milliseconds
And I click "{{ floating_ip_name_operate }}"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/floating_ip/"
And I should see "{{ floating_ip_name_operate }}" in the "page_header"
And I should see "{{ floating_ip_name_operate }}" in the "Name"
@@ -193,10 +207,12 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I should see the link "{{ floating_ip_name_operate }}"
And I wait {{ wait }} milliseconds
And I click "{{ floating_ip_name_operate }}"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/floating_ip/"
And I click "Disassociate Floating IP" in the actions
And the url should match "/disassociate"
And I press "Disassociate Address"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/floating_ip"
And I should see the success message "disassociated"
And I should see neither error nor warning messages
@@ -209,6 +225,7 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I should see the link "{{ floating_ip_name_operate }}"
And I wait {{ wait }} milliseconds
And I click "{{ floating_ip_name_operate }}"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/floating_ip/"
And I should see "{{ floating_ip_name_operate }}" in the "page_header"
And I should see "{{ floating_ip_name_operate }}" in the "Name"
@@ -223,11 +240,13 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I should see the link "{{ floating_ip_name_operate }}"
And I wait {{ wait }} milliseconds
And I click "{{ floating_ip_name_operate }}"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/floating_ip/"
And I click "Edit" in the actions
And the url should match "/edit"
And I enter "{{ floating_ip_name_operate_updated }}" for "Name"
And I press "Save"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/floating_ip"
And I should see the success message "has been updated"
And I should see neither error nor warning messages
@@ -242,11 +261,13 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I should see the link "{{ router_name_operate }}"
And I wait {{ wait }} milliseconds
And I click "{{ router_name_operate }}"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/router/"
And I click "Edit"
And the url should match "/edit"
And I select "- None -" from "External network"
And I press "Save"
And I wait {{ wait_render }} milliseconds
Then I should see the success message "has been updated"
And I should see neither error nor warning messages
And I click "{{ router_name_operate }}"
@@ -259,6 +280,7 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I should see the link "{{ router_name_operate }}"
And I wait {{ wait }} milliseconds
And I click "{{ router_name_operate }}"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/router/"
And I click "Interfaces"
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/router/.*/interface"
@@ -266,6 +288,7 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I click "Remove interface"
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/router/.*/remove_interface/"
And I press "Remove interface"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/router/.*/interface"
And I should see the success message "has been removed an interface"
And I should not see "{{ router_internal_interface_ip }}"
@@ -279,10 +302,12 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I should see the link "{{ router_name_operate }}"
And I wait {{ wait }} milliseconds
And I click "{{ router_name_operate }}"
And I wait {{ wait_render }} milliseconds
And the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/router/"
And I click "Delete"
Then the url should match "/delete"
And I press "Delete"
And I wait {{ wait_render }} milliseconds
Then I should be on "/{{ root_path }}/openstack/{{ cloud_context }}/router"
And I should see the success message "has been deleted"
And I should see neither error nor warning messages
@@ -297,10 +322,12 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I should see the link "{{ floating_ip_name_operate_updated }}"
And I wait {{ wait }} milliseconds
And I click "{{ floating_ip_name_operate_updated }}"
And I wait {{ wait_render }} milliseconds
And the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/floating_ip/"
And I click "Delete" in the actions
Then the url should match "/delete"
And I press "Delete"
And I wait {{ wait_render }} milliseconds
And I should be on "/{{ root_path }}/openstack/{{ cloud_context }}/floating_ip"
And I should see the success message "has been deleted"
And I should see neither error nor warning messages
@@ -316,10 +343,12 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I should see the link "{{ subnet_external_name_operate }}"
And I wait {{ wait }} milliseconds
And I click "{{ subnet_external_name_operate }}"
And I wait {{ wait_render }} milliseconds
And the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/subnet/"
And I click "Delete" in the actions
Then the url should match "/delete"
And I press "Delete"
And I wait {{ wait_render }} milliseconds
Then I should be on "/{{ root_path }}/openstack/{{ cloud_context }}/subnet"
And I should see the success message "has been deleted"
And I should see neither error nor warning messages
@@ -334,10 +363,12 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I should see the link "{{ network_external_name_operate }}"
And I wait {{ wait }} milliseconds
And I click "{{ network_external_name_operate }}"
And I wait {{ wait_render }} milliseconds
And the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/network/"
And I click "Delete" in the actions
Then the url should match "/delete"
And I press "Delete"
And I wait {{ wait_render }} milliseconds
Then I should be on "/{{ root_path }}/openstack/{{ cloud_context }}/network"
And I should see the success message "has been deleted"
And I should see neither error nor warning messages
@@ -352,10 +383,12 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I should see the link "{{ port_name_operate }}"
And I wait {{ wait }} milliseconds
And I click "{{ port_name_operate }}"
And I wait {{ wait_render }} milliseconds
And the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/port/"
And I click "Delete" in the actions
Then the url should match "/delete"
And I press "Delete"
And I wait {{ wait_render }} milliseconds
Then I should be on "/{{ root_path }}/openstack/{{ cloud_context }}/port"
And I should see the success message "has been deleted"
And I should see neither error nor warning messages
@@ -370,10 +403,12 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I should see the link "{{ subnet_name_operate }}"
And I wait {{ wait }} milliseconds
And I click "{{ subnet_name_operate }}"
And I wait {{ wait_render }} milliseconds
And the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/subnet/"
And I click "Delete" in the actions
Then the url should match "/delete"
And I press "Delete"
And I wait {{ wait_render }} milliseconds
Then I should be on "/{{ root_path }}/openstack/{{ cloud_context }}/subnet"
And I should see the success message "has been deleted"
And I should see neither error nor warning messages
@@ -388,10 +423,12 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I should see the link "{{ network_name_operate }}"
And I wait {{ wait }} milliseconds
And I click "{{ network_name_operate }}"
And I wait {{ wait_render }} milliseconds
And the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/network/"
And I click "Delete" in the actions
Then the url should match "/delete"
And I press "Delete"
And I wait {{ wait_render }} milliseconds
Then I should be on "/{{ root_path }}/openstack/{{ cloud_context }}/network"
And I should see the success message "has been deleted"
And I should see neither error nor warning messages
@@ -406,10 +443,12 @@ Feature: Create, associate, disassociate, and delete a floating IP for OpenStack
And I should see the link "{{ security_group_name_operate }}"
And I wait {{ wait }} milliseconds
And I click "{{ security_group_name_operate }}"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/security_group/"
And I click "Delete" in the actions
Then the url should match "/delete"
And I press "Delete"
And I wait {{ wait_render }} milliseconds
Then I should be on "/{{ root_path }}/openstack/{{ cloud_context }}/security_group"
And I should see the success message "has been deleted"
And I should see neither error nor warning messages
Loading