Skip to content
Snippets Groups Projects
Commit 03d2d9bd authored by Takumaru Sekine's avatar Takumaru Sekine Committed by Yas Naoi
Browse files

Issue #3411116 by yas, sekinet: Add a BDD test step to take a screenshot to...

Issue #3411116 by yas, sekinet: Add a BDD test step to take a screenshot to come up with the UI design document (openstack_server_group, snapshot)
parent f74f2cf1
No related branches found
No related tags found
1 merge request!2200Issue #3411116 by sekinet: Add a BDD test step to take a screenshot to come up with the UI design document (openstack_server_group, snapshot)
Pipeline #69717 failed
......@@ -30,6 +30,7 @@ Feature: Create, read, and delete a server group for OpenStack
And I click "{{ server_group_name_operate }}"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/server_group/"
And I take screenshot
And I should see "{{ server_group_name_operate }}" in the "page_header"
And I should see "{{ server_group_name_operate }}" in the "Name"
And I should see "{{ server_group_policy }}" in the "Policy"
......@@ -40,6 +41,18 @@ Feature: Create, read, and delete a server group for OpenStack
| user "{{ drupal_user_name }}" |
| a user with the "Administrator" role |
@api @javascript
Scenario: Take a screenshot of the Delete multiple form
Given I am logged in as user "{{ drupal_user_name }}"
And I visit "/{{ root_path }}/openstack/{{ cloud_context }}/server_group"
And I wait {{ wait_render }} milliseconds
And I check the box in the "{{ server_group_name_operate }}" row
And I wait {{ wait }} milliseconds
And I select "Delete server group(s)" from "Action"
And I press "Apply to selected items"
And I wait {{ wait_render }} milliseconds
And I take screenshot
@api @javascript
Scenario: Delete the server group as an administrator
Given I am logged in as a user with the "Administrator" role
......
......@@ -67,6 +67,7 @@ Feature: Create, read, update and delete a snapshot for OpenStack as an "authent
And I click "{{ snapshot_name_operate }}"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/snapshot/"
And I take screenshot
And I should see "{{ snapshot_name_operate }}" in the "page_header"
And I should see "{{ description }}" in the "Description"
And I should see "{{ volume_size }}" in the "Size"
......@@ -105,6 +106,18 @@ Feature: Create, read, update and delete a snapshot for OpenStack as an "authent
# And I press "Others"
# And I should see "{{ drupal_user_name }}" in the "Authored by"
@api @javascript
Scenario: Take a screenshot of the Delete multiple form
Given I am logged in as user "{{ drupal_user_name }}"
And I visit "/{{ root_path }}/openstack/{{ cloud_context }}/snapshot"
And I wait {{ wait_render }} milliseconds
And I check the box in the "{{ snapshot_name_operate_updated }}" row
And I wait {{ wait }} milliseconds
And I select "Delete snapshot(s)" from "Action"
And I press "Apply to selected items"
And I wait {{ wait_render }} milliseconds
And I take screenshot
@api @javascript
Scenario: Delete the snapshot
Given I am logged in as user "{{ drupal_user_name }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment