Loading modules/cloud_service_providers/aws_cloud/tests/src/Behat/behat.yml +1 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ default: # Security group view form Inbound rules: '.field--name-ip-permission' Outbound rules: '.field--name-outbound-permission' VPC ID: '.field--name-vpc-id' # Elastic IP view form Domain: '.field--name-domain' Network border group: '.field--name-network-border-group' Loading modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-03-01-OperateElasticIPs.feature +4 −2 Original line number Diff line number Diff line Loading @@ -31,7 +31,10 @@ Feature: Allocate and release an Elastic IP as "Authenticated User" Then I should be on "/clouds/aws_cloud/{{ cloud_context }}/internet_gateway" And I should see the success message "is attached to VPC" And I should see neither error nor warning messages # List view. And I should see "Detach" in the "{{ internet_gateway_name }}" row And I should see "VPC" in the "Name" row And I should not see "VPC ID" in the "Name" row @api Scenario: View the internet gateway Loading @@ -45,8 +48,7 @@ Feature: Allocate and release an Elastic IP as "Authenticated User" 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 "{{ 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 Loading modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-03-03-OperateSecurityGroups.feature +4 −0 Original line number Diff line number Diff line Loading @@ -30,7 +30,10 @@ Feature: Copying/editing a security group as "Authenticated User" And I should see "All Traffic" in the "Outbound rules" And I should see "0.0.0.0/0" in the "Outbound rules" And I visit "/clouds/aws_cloud/{{ cloud_context }}/security_group" # List view. And I should see "{{ security_group_name_to_copy }}" in the "{{ vpc_name_1 }}" row And I should see "VPC" in the "Name" row And I should not see "VPC ID" in the "Name" row @api Scenario: Copy the security group Loading Loading @@ -68,6 +71,7 @@ Feature: Copying/editing a security group as "Authenticated User" And I should see neither error nor warning messages And I should see "{{ security_group_name_copied }}" And I should see "{{ description }}" And I should see "{{ vpc_name }}" in the "VPC ID" And I should not see "01/01/1970 - 00:00" And I should not see "12/31/1969 - 23:59" And I should not see "Inbound Rules" Loading modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-04-03-OperateVPCPeeringConnections.feature +4 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ Feature: Create and view a VPC peering connection as "Authenticated User" And I should see the link "{{ vpc_requester_name }}" in the table @api Scenario: Add an accepter VPC Scenario: Add an acceptor VPC Given I am logged in as user "{{ user_name }}" When I visit "/clouds/aws_cloud/{{ cloud_context }}/vpc/add" And I should see the heading "Add AWS Cloud VPC" Loading @@ -40,7 +40,10 @@ Feature: Create and view a VPC peering connection as "Authenticated User" Then the url should match "/clouds/aws_cloud/{{ cloud_context }}/vpc_peering_connection" And I should see the success message "has been created" And I should see neither error nor warning messages # List view. And I should see "pending-acceptance" in the "{{ vpc_peering_connection_name }}" row And I should see "VPC" in the "Name" row And I should not see "VPC ID" in the "Name" row @api Scenario: Accept the VPC peering connection Loading Loading
modules/cloud_service_providers/aws_cloud/tests/src/Behat/behat.yml +1 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ default: # Security group view form Inbound rules: '.field--name-ip-permission' Outbound rules: '.field--name-outbound-permission' VPC ID: '.field--name-vpc-id' # Elastic IP view form Domain: '.field--name-domain' Network border group: '.field--name-network-border-group' Loading
modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-03-01-OperateElasticIPs.feature +4 −2 Original line number Diff line number Diff line Loading @@ -31,7 +31,10 @@ Feature: Allocate and release an Elastic IP as "Authenticated User" Then I should be on "/clouds/aws_cloud/{{ cloud_context }}/internet_gateway" And I should see the success message "is attached to VPC" And I should see neither error nor warning messages # List view. And I should see "Detach" in the "{{ internet_gateway_name }}" row And I should see "VPC" in the "Name" row And I should not see "VPC ID" in the "Name" row @api Scenario: View the internet gateway Loading @@ -45,8 +48,7 @@ Feature: Allocate and release an Elastic IP as "Authenticated User" 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 "{{ 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 Loading
modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-03-03-OperateSecurityGroups.feature +4 −0 Original line number Diff line number Diff line Loading @@ -30,7 +30,10 @@ Feature: Copying/editing a security group as "Authenticated User" And I should see "All Traffic" in the "Outbound rules" And I should see "0.0.0.0/0" in the "Outbound rules" And I visit "/clouds/aws_cloud/{{ cloud_context }}/security_group" # List view. And I should see "{{ security_group_name_to_copy }}" in the "{{ vpc_name_1 }}" row And I should see "VPC" in the "Name" row And I should not see "VPC ID" in the "Name" row @api Scenario: Copy the security group Loading Loading @@ -68,6 +71,7 @@ Feature: Copying/editing a security group as "Authenticated User" And I should see neither error nor warning messages And I should see "{{ security_group_name_copied }}" And I should see "{{ description }}" And I should see "{{ vpc_name }}" in the "VPC ID" And I should not see "01/01/1970 - 00:00" And I should not see "12/31/1969 - 23:59" And I should not see "Inbound Rules" Loading
modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-04-03-OperateVPCPeeringConnections.feature +4 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ Feature: Create and view a VPC peering connection as "Authenticated User" And I should see the link "{{ vpc_requester_name }}" in the table @api Scenario: Add an accepter VPC Scenario: Add an acceptor VPC Given I am logged in as user "{{ user_name }}" When I visit "/clouds/aws_cloud/{{ cloud_context }}/vpc/add" And I should see the heading "Add AWS Cloud VPC" Loading @@ -40,7 +40,10 @@ Feature: Create and view a VPC peering connection as "Authenticated User" Then the url should match "/clouds/aws_cloud/{{ cloud_context }}/vpc_peering_connection" And I should see the success message "has been created" And I should see neither error nor warning messages # List view. And I should see "pending-acceptance" in the "{{ vpc_peering_connection_name }}" row And I should see "VPC" in the "Name" row And I should not see "VPC ID" in the "Name" row @api Scenario: Accept the VPC peering connection Loading