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

Issue #3308676 by kumikoono, yas: Refactor BDD test scenarios for the labels...

Issue #3308676 by kumikoono, yas: Refactor BDD test scenarios for the labels in OpenStack instance detail view and launch template (Flavor and Image name)
parent 0f2a78cb
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -44,8 +44,7 @@ Feature: Create an instances for OpenStack as "Authenticated User"
    Then the url should match "/clouds/design/server_template/{{ cloud_context }}/"
    And I should see the heading "{{ instance_name }}"
    And I should see "{{ instance_flavor }}" in the "Flavor"
      # Temporarily comment out
    # And I should not see "{{ instance_flavor_as_first_option }}"
    And I should not see "{{ instance_flavor_as_first_option }}"
    And I should see "{{ image_name }}" in the "Image ID"
    And I should see "{{ availability_zone }}" in the "Availability zone"
    And I should see "{{ security_group_name }}" in the "Security group"
+2 −3
Original line number Diff line number Diff line
@@ -48,9 +48,8 @@ Feature: Launch, stop, and terminate an instance for OpenStack as "Authenticated
    Then the url should match "/clouds/openstack/{{ cloud_context }}/instance/"
    And I should see "{{ instance_name_operate }}" in the "page_header"
    And I should see "{{ instance_flavor }}" in the "Instance type"
    # Temporarily commented out
    # And I should not see "{{ instance_flavor_as_first_option }}"
    # And I should see "{{ image_name }}" in the "Image"
    And I should not see "{{ instance_flavor_as_first_option }}"
    And I should see "{{ image_name }}" in the "Image"
    And I should see "{{ availability_zone }}" in the "Availability Zone"
    And I should see "{{ security_group_name }}" in the "Security groups"
    And I should see "{{ key_name }}" in the "Key pair name"