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

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

Issue #3413926 by sekinet, yas: Add a BDD test step to take a screenshot to come up with the UI design document (openstack_port.delete_multiple_form)
parent 8bf71cfd
Branches
Tags
No related merge requests found
......@@ -61,6 +61,7 @@ Feature: Create, read, update and delete a port for OpenStack as an "authenticat
And I click "{{ port_name_operate }}"
And I wait {{ wait_render }} milliseconds
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/port/"
And I take screenshot
And I should see "{{ port_name_operate }}" in the "page_header"
And I should see "{{ port_name_operate }}" in the "Name"
And I should see "{{ network_name_operate }}" in the "Network"
......@@ -95,6 +96,20 @@ Feature: Create, read, update and delete a port for OpenStack as an "authenticat
And I wait {{ wait_render }} milliseconds
And I should see "{{ allowed_address_pairs_cidr }}"
@api @javascript
Scenario: Check the multiple-deletion screen
Given I am logged in as user "{{ drupal_user_name }}"
When I visit "/{{ root_path }}/openstack/{{ cloud_context }}/port"
And I run drush cron
And I should see the link "{{ port_name_operate_updated }}"
And I wait {{ wait }} milliseconds
And I check the box in the "{{ port_name_operate_updated }}" row
And I select "Delete port(s)" from "Action"
And I press "Apply to selected items"
And the url should match "/clouds/openstack/{{ cloud_context }}/port/delete_multiple"
And I should see the text "{{ port_name_operate_updated }}"
And I take screenshot
@api @javascript
Scenario: Delete the port
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.
Please register or to comment