Loading modules/cloud_service_providers/openstack/tests/src/Behat/features/templates/OpenStack-ATDD-03-04-OperateSnapshots.feature +5 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ Feature: Create, read, update and delete a Snapshot for OpenStack as "Authentica And I visit "/clouds/openstack/{{ cloud_context }}/snapshot/add" And I should see the heading "Add OpenStack Snapshot" And I enter "{{ snapshot_name }}" for "Name" And I enter "{{ description }}" for "Description" And I select "{{ volume_name }}" from "Volume ID" And I press "Save" And I wait for AJAX to finish Loading @@ -45,6 +46,7 @@ Feature: Create, read, update and delete a Snapshot for OpenStack as "Authentica And I click "{{ snapshot_name }}" Then the url should match "/clouds/openstack/{{ cloud_context }}/snapshot/" And I should see "{{ snapshot_name }}" And I should see "{{ description }}" And I should see "{{ volume_size }}" And I press "Others" And I should see "{{ drupal_user_name }}" in the "Authored by" Loading @@ -62,6 +64,7 @@ Feature: Create, read, update and delete a Snapshot for OpenStack as "Authentica And I click "Edit" And the url should match "/edit" And I enter "{{ snapshot_name_edit }}" for "Name" And I enter "{{ description_edit }}" for "Description" And I press "Save" Then I should see "{{ snapshot_name_edit }}" And I should see the success message "has been updated" Loading @@ -69,6 +72,8 @@ Feature: Create, read, update and delete a Snapshot for OpenStack as "Authentica And I should see the link "{{ snapshot_name_edit }}" And I wait {{ wait }} milliseconds And I click "{{ snapshot_name_edit }}" And I should see "{{ snapshot_name_edit }}" And I should see "{{ description_edit }}" And I press "Others" And I should see "{{ drupal_user_name }}" in the "Authored by" Loading modules/cloud_service_providers/openstack/tests/src/Behat/features/templates/params/openstack_common.yml +4 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,10 @@ ca_path: cloud_context: # This should match k8s_cloud_service_provider_name in lowercase. bdd_openstack_@random_regionone description: Testing for BDD @random @Random @RANDAM description_edit: Testing description update for BDD @random @Random @RANDOM domain_id: # You need to change the value here, or define the key-value drupal_role_name: Loading Loading
modules/cloud_service_providers/openstack/tests/src/Behat/features/templates/OpenStack-ATDD-03-04-OperateSnapshots.feature +5 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ Feature: Create, read, update and delete a Snapshot for OpenStack as "Authentica And I visit "/clouds/openstack/{{ cloud_context }}/snapshot/add" And I should see the heading "Add OpenStack Snapshot" And I enter "{{ snapshot_name }}" for "Name" And I enter "{{ description }}" for "Description" And I select "{{ volume_name }}" from "Volume ID" And I press "Save" And I wait for AJAX to finish Loading @@ -45,6 +46,7 @@ Feature: Create, read, update and delete a Snapshot for OpenStack as "Authentica And I click "{{ snapshot_name }}" Then the url should match "/clouds/openstack/{{ cloud_context }}/snapshot/" And I should see "{{ snapshot_name }}" And I should see "{{ description }}" And I should see "{{ volume_size }}" And I press "Others" And I should see "{{ drupal_user_name }}" in the "Authored by" Loading @@ -62,6 +64,7 @@ Feature: Create, read, update and delete a Snapshot for OpenStack as "Authentica And I click "Edit" And the url should match "/edit" And I enter "{{ snapshot_name_edit }}" for "Name" And I enter "{{ description_edit }}" for "Description" And I press "Save" Then I should see "{{ snapshot_name_edit }}" And I should see the success message "has been updated" Loading @@ -69,6 +72,8 @@ Feature: Create, read, update and delete a Snapshot for OpenStack as "Authentica And I should see the link "{{ snapshot_name_edit }}" And I wait {{ wait }} milliseconds And I click "{{ snapshot_name_edit }}" And I should see "{{ snapshot_name_edit }}" And I should see "{{ description_edit }}" And I press "Others" And I should see "{{ drupal_user_name }}" in the "Authored by" Loading
modules/cloud_service_providers/openstack/tests/src/Behat/features/templates/params/openstack_common.yml +4 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,10 @@ ca_path: cloud_context: # This should match k8s_cloud_service_provider_name in lowercase. bdd_openstack_@random_regionone description: Testing for BDD @random @Random @RANDAM description_edit: Testing description update for BDD @random @Random @RANDOM domain_id: # You need to change the value here, or define the key-value drupal_role_name: Loading