Skip to content
Snippets Groups Projects

Add "I take screenshot" for:

Merged Tomotaka Hosomi requested to merge issue/cloud-3408104:3408104-take-a-screenshot into 6.x
@@ -6,6 +6,7 @@ Feature: Create, read, update and delete a router for OpenStack as an "authentic
Given I am logged in as user "{{ drupal_user_name }}"
When I visit "/{{ root_path }}/openstack/{{ cloud_context }}/router/add"
And I wait {{ wait_render }} milliseconds
And I take screenshot
And I should see the heading "{{ prefix_add_form }} router"
And I enter "{{ router_name_operate }}" for "Name"
And I select "{{ network_availability_zone }}" from "Availability Zone"
@@ -24,9 +25,11 @@ Feature: Create, read, update and delete a router for OpenStack as an "authentic
And I run drush cron
And I should see the link "{{ router_name_operate }}"
And I wait {{ wait_render }} milliseconds
And I take screenshot
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 take screenshot
And I should see "{{ router_name_operate }}" in the "page_header"
And I should see "{{ router_name_operate }}" in the "Name"
# Temporarily comment out because an error will occur when checking the 'Authored by' field in SPA.
@@ -113,6 +116,7 @@ Feature: Create, read, update and delete a router for OpenStack as an "authentic
And I click "Add interface"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/router/.*/add_interface"
And I take screenshot
And I select "{{ network_name_operate }}" from "Subnet"
And I enter "{{ router_internal_interface_ip }}" for "IP address"
And I press "Add interface"
@@ -134,6 +138,7 @@ Feature: Create, read, update and delete a router for OpenStack as an "authentic
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/router/"
And I click "Edit" in the actions
And the url should match "/edit"
And I take screenshot
And I enter "{{ router_name_operate_updated }}" for "Name"
And I select "{{ network_external_name_operate }}" from "External network"
And I enter "{{ destination_cidr }}" for "Destination CIDR"
@@ -190,6 +195,7 @@ Feature: Create, read, update and delete a router for OpenStack as an "authentic
And I click "Remove interface"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/router/.*/remove_interface/"
And I take screenshot
And I press "Remove interface"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/router/.*/interface"
@@ -210,6 +216,7 @@ Feature: Create, read, update and delete a router for OpenStack as an "authentic
And I click "Delete" in the actions
And I wait {{ wait_render }} milliseconds
Then the url should match "/delete"
And I take screenshot
And I press "Delete"
And I wait {{ wait_render }} milliseconds
Then I should be on "/{{ root_path }}/openstack/{{ cloud_context }}/subnet"
Loading