Skip to content
Snippets Groups Projects

Add "I take screenshot" for:

Merged Tomotaka Hosomi requested to merge issue/cloud-3407829:3407829--take-a into 6.x
@@ -6,6 +6,7 @@ Feature: Create, read, update and delete a network for OpenStack as an "authenti
Given I am logged in as user "{{ drupal_user_name }}"
When I visit "/{{ root_path }}/openstack/{{ cloud_context }}/network/add"
And I wait {{ wait_render }} milliseconds
And I take screenshot
And I should see the heading "{{ prefix_add_form }} network"
And I enter "{{ network_name_operate }}" for "Name"
# Temporarily comment out because of the error when selecting Availability Zone
@@ -24,9 +25,11 @@ Feature: Create, read, update and delete a network for OpenStack as an "authenti
And I run drush cron
And I should see the link "{{ network_name_operate }}"
And I wait {{ wait }} milliseconds
And I take screenshot
And I click "{{ network_name_operate }}"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/network/"
And I take screenshot
And I should see "{{ network_name_operate }}" in the "page_header"
And I should see "{{ network_name_operate }}" in the "Name"
# Temporarily comment out because an error will occur when checking the 'Authored by' field in SPA.
@@ -46,6 +49,7 @@ Feature: Create, read, update and delete a network for OpenStack as an "authenti
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/network/"
And I click "Edit" in the actions
And the url should match "/edit"
And I take screenshot
And I enter "{{ network_name_operate_updated }}" for "Name"
And I press "Save"
And I wait {{ wait_render }} milliseconds
@@ -66,6 +70,7 @@ Feature: Create, read, update and delete a network for OpenStack as an "authenti
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 take screenshot
And I press "Delete"
And I wait {{ wait_render }} milliseconds
Then I should be on "/{{ root_path }}/openstack/{{ cloud_context }}/network"
Loading