Commit 61a2e9c0 authored by Tamaki Fujino's avatar Tamaki Fujino Committed by Yas Naoi
Browse files

Issue #3309596 by TamakiFujino, yas, kumikoono: Add a BDD test scenario for...

Issue #3309596 by TamakiFujino, yas, kumikoono: Add a BDD test scenario for viewing AWS Cloud internet gateways
parent 13013e29
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -28,3 +28,5 @@ default:
        Domain: '.field--name-domain'
        Network border group: '.field--name-network-border-group'
        Instance ID: '.field--name-instance-id'
        # Internet gateway view form
        Internet gateway name: '.field--name-tags'
+17 −0
Original line number Diff line number Diff line
@@ -33,6 +33,23 @@ Feature: Allocate and release an Elastic IP as "Authenticated User"
    And I should see neither error nor warning messages
    And I should see "Detach" in the "{{ internet_gateway_name }}" row

  @api
  Scenario: View the internet gateway
    Given I am logged in as user "{{ user_name }}"
    When I visit "/clouds/aws_cloud/{{ cloud_context }}/internet_gateway"
    And I click "Refresh"
    And I should see the heading "AWS Cloud internet gateways"
    And I should see "{{ internet_gateway_name }}" in the table
    And I wait {{ wait }} milliseconds
    And I click "{{ internet_gateway_name }}"
    Then the url should match "/clouds/aws_cloud/{{ cloud_context }}/internet_gateway/"
    And I should see "{{ internet_gateway_name }}" in the "page_header"
    And I should see "{{ internet_gateway_name }}" in the "Internet gateway name"
    # Temporarily commented out until the view includes the VPC name along with the VPC ID.
    # And I should see "{{ vpc_name }}" in the "VPC ID"
    And I should see "{{ user_name }}" in the "Authored by"
    And I should see neither error nor warning messages

  @api
  Scenario: Allocate an Elastic IP
    Given I am logged in as user "{{ user_name }}"