Commit b2644ba9 authored by Kumiko Ono's avatar Kumiko Ono Committed by Yas Naoi
Browse files

Issue #3308695 by kumikoono, yas: Add assertions for the edit function of the...

Issue #3308695 by kumikoono, yas: Add assertions for the edit function of the description on the OpenStack Snapshot detailed view
parent 006146b6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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
@@ -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"
@@ -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"
@@ -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"

+4 −0
Original line number Diff line number Diff line
@@ -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: