Skip to content
Snippets Groups Projects

Add screenshots for:

1 file
+ 13
0
Compare changes
  • Side-by-side
  • Inline
@@ -5,6 +5,7 @@ Feature: Create, read, update, and delete a stack for OpenStack as an "authentic
Scenario Outline: Preview a stack
Given I am logged in as user "{{ drupal_user_name }}"
When I visit "/{{ root_path }}/openstack/{{ cloud_context }}/stack/preview"
And I take screenshot
And I should see the heading "{{ prefix_preview_stack_template_form }} stack - template"
And I select "{{ stack_template_source }}" from "Template source"
And I fill in "Template Data" with:
@@ -49,6 +50,7 @@ Feature: Create, read, update, and delete a stack for OpenStack as an "authentic
And I press "Next"
And I wait {{ wait_render }} milliseconds
And the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/stack/preview_extra"
And I take screenshot
And I enter "<stack_name_operate>" for "Name"
And I press "Save"
And I wait {{ wait_render }} milliseconds
@@ -66,6 +68,7 @@ Feature: Create, read, update, and delete a stack for OpenStack as an "authentic
Scenario Outline: Create a stack
Given I am logged in as user "{{ drupal_user_name }}"
When I visit "/{{ root_path }}/openstack/{{ cloud_context }}/stack/add"
And I take screenshot
And I should see the heading "{{ prefix_add_form }} stack - template"
And I select "{{ stack_template_source }}" from "Template source"
And I fill in "Template Data" with:
@@ -110,6 +113,7 @@ Feature: Create, read, update, and delete a stack for OpenStack as an "authentic
And I press "Next"
And I wait {{ wait_render }} milliseconds
And the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/stack/add_extra"
And I take screenshot
And I enter "<stack_name_operate>" for "Name"
And I press "Save"
And I wait {{ wait_render }} milliseconds
@@ -128,6 +132,7 @@ Feature: Create, read, update, and delete a stack for OpenStack as an "authentic
Given I am logged in as user "{{ drupal_user_name }}"
When I visit "/{{ root_path }}/openstack/{{ cloud_context }}/stack"
And I run drush cron
And I take screenshot
And I should see the link "{{ stack_name_operate }}"
And I wait {{ wait }} milliseconds
And I click "{{ stack_name_operate }}"
@@ -154,6 +159,7 @@ Feature: Create, read, update, and delete a stack for OpenStack as an "authentic
And I click "Resources" in the "nav_tabs"
And I wait {{ wait_render }} milliseconds
Then the url should match "/resource"
And I take screenshot
And I should see "{{ prefix_stack_resource_list_view }}" in the "page_header"
And I should see "{{ stack_resource_name }}" in the table
And I should see "Resource ID" in the table
@@ -186,6 +192,7 @@ Feature: Create, read, update, and delete a stack for OpenStack as an "authentic
And I click "Events" in the "nav_tabs"
And I wait {{ wait_render }} milliseconds
Then the url should match "/event"
And I take screenshot
And I should see "{{ prefix_stack_event_list_view }}" in the "page_header"
And I should see "{{ stack_name_operate }}" in the table
# The status should be either "CREATE_COMPLETE" or "CREATE_IN_PROGRESS"
@@ -213,6 +220,7 @@ Feature: Create, read, update, and delete a stack for OpenStack as an "authentic
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/stack/"
And I click "Edit" in the actions
And the url should match "/edit"
And I take screenshot
And I select "{{ stack_template_source }}" from "Template source"
And I fill in "Template Data" with:
"""
@@ -256,6 +264,7 @@ Feature: Create, read, update, and delete a stack for OpenStack as an "authentic
And I press "Next"
And I wait {{ wait_render }} milliseconds
And the url should match "/edit_extra"
And I take screenshot
And I should see "<stack_name_operate>"
And I enter "{{ stack_net_default_updated }}" for "{{ stack_net_name }}"
And I press "Save"
@@ -295,6 +304,7 @@ Feature: Create, read, update, and delete a stack for OpenStack as an "authentic
And I should see "{{ stack_name_operate }}" in the "page_header"
And I click "Check" in the actions
And the url should match "/check"
And I take screenshot
And I press "Check"
And I wait {{ wait_render }} milliseconds
Then I should see the success message "has been checked"
@@ -314,6 +324,7 @@ Feature: Create, read, update, and delete a stack for OpenStack as an "authentic
And I should see "{{ stack_name_operate }}" in the "page_header"
And I click "Suspend" in the actions
And the url should match "/suspend"
And I take screenshot
And I press "Suspend"
And I wait {{ wait_render }} milliseconds
Then I should see the success message "has been suspended"
@@ -346,6 +357,7 @@ Feature: Create, read, update, and delete a stack for OpenStack as an "authentic
And I should see "{{ stack_name_operate }}" in the "page_header"
And I click "Resume" in the actions
And the url should match "/resume"
And I take screenshot
And I press "Resume"
And I wait {{ wait_render }} milliseconds
Then I should see the success message "has been resumed"
@@ -366,6 +378,7 @@ Feature: Create, read, update, and delete a stack for OpenStack as an "authentic
And the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/stack/"
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
And I should be on "/{{ root_path }}/openstack/{{ cloud_context }}/stack"
Loading