Skip to content
Snippets Groups Projects

Adding BDD test/screenshot for "Edit Form"

Merged baldwinlouie requested to merge issue/cloud-3413928:3413928-add-a-bdd-edit-form into 6.x
1 file
+ 14
0
Compare changes
  • Side-by-side
  • Inline
@@ -44,6 +44,20 @@ Feature: Create and delete a volume for OpenStack as an "authenticated user"
@@ -44,6 +44,20 @@ Feature: Create and delete a volume for OpenStack as an "authenticated user"
# And I should see "{{ drupal_user_name }}" in the "Authored by"
# And I should see "{{ drupal_user_name }}" in the "Authored by"
And I should see neither error nor warning messages
And I should see neither error nor warning messages
 
@api @javascript
 
Scenario: Update the volume
 
Given I am logged in as user "{{ drupal_user_name }}"
 
When I visit "/{{ root_path }}/openstack/{{ cloud_context }}/volume"
 
And I run drush cron
 
And I should see the link "{{ volume_name_operate }}"
 
And I wait {{ wait }} milliseconds
 
And I click "{{ volume_name_operate }}"
 
And I wait {{ wait_render }} milliseconds
 
Then the url should match "/{{ root_path }}/openstack/{{ cloud_context }}/volume/"
 
And I click "Edit" in the actions
 
And the url should match "/edit"
 
And I take screenshot
 
@api @javascript
@api @javascript
Scenario: Attach the volume to an instance
Scenario: Attach the volume to an instance
Given I am logged in as user "{{ drupal_user_name }}"
Given I am logged in as user "{{ drupal_user_name }}"
Loading