Commit caab329c authored by Yas Naoi's avatar Yas Naoi Committed by Yas Naoi
Browse files

Issue #3314804 by yas, baldwinlouie, kumikoono: Refactor a BDD test scenario...

Issue #3314804 by yas, baldwinlouie, kumikoono: Refactor a BDD test scenario to delete a created user to clean up
parent 15fb90fe
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -21,7 +21,8 @@ Feature: Delete the created Drupal resources as "Administrator"
    When I check the box "{{ user_name }}"
    And I select "Cancel the selected user account(s)" from "Action"
    And I press "Apply to selected items"
    And I select the radio button "Delete the account and its content. This action cannot be undone."
    # The message of the option is altered by https://www.drupal.org/i/3313552.
    And I select the radio button "Delete the account and its content. Entities provided by Cloud modules are reassigned to Anonymous user. This action cannot be undone."
    And I press "Confirm"
    And I wait for AJAX to finish
    And I should see the success message "has been deleted"
+2 −1
Original line number Diff line number Diff line
@@ -21,7 +21,8 @@ Feature: Delete the created Drupal resources as "Administrator"
    When I check the box "{{ user_name }}"
    And I select "Cancel the selected user account(s)" from "Action"
    And I press "Apply to selected items"
    And I select the radio button "Delete the account and its content. This action cannot be undone."
    # The message of the option is altered by https://www.drupal.org/i/3313552.
    And I select the radio button "Delete the account and its content. Entities provided by Cloud modules are reassigned to Anonymous user. This action cannot be undone."
    And I press "Confirm"
    And I wait for AJAX to finish
    Then I should see the success message "has been deleted."
+2 −1
Original line number Diff line number Diff line
@@ -22,7 +22,8 @@ Feature: Delete the created Drupal resources as "Administrator"
    And I check the box "{{ drupal_cloud_admin_name }}"
    And I select "Cancel the selected user account(s)" from "Action"
    And I press "Apply to selected items"
    And I select the radio button "Delete the account and its content. This action cannot be undone."
    # The message of the option is altered by https://www.drupal.org/i/3313552.
    And I select the radio button "Delete the account and its content. Entities provided by Cloud modules are reassigned to Anonymous user. This action cannot be undone."
    And I press "Confirm"
    And I wait for AJAX to finish
    Then I should see the success message "has been deleted."
+2 −1
Original line number Diff line number Diff line
@@ -21,7 +21,8 @@ Feature: Delete the created Drupal resources as "Administrator"
    When I check the box "{{ drupal_user_name }}"
    And I select "Cancel the selected user account(s)" from "Action"
    And I press "Apply to selected items"
    And I select the radio button "Delete the account and its content. This action cannot be undone."
    # The message of the option is altered by https://www.drupal.org/i/3313552.
    And I select the radio button "Delete the account and its content. Entities provided by Cloud modules are reassigned to Anonymous user. This action cannot be undone."
    And I press "Confirm"
    And I wait for AJAX to finish
    And I should see the success message "has been deleted"