Loading modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-00-01-AdminCreateServiceProvider.feature +2 −1 Original line number Diff line number Diff line @minimal @launch_instance Feature: Create a cloud service provider for AWS as "Cloud administrator" In order to start BDD testing We need to create a cloud service provider Loading @@ -16,7 +17,7 @@ Feature: Create a cloud service provider for AWS as "Cloud administrator" And I should see "Creating cloud service provider was performed successfully" And I should see "{{ cloud_service_provider_name }}" @ignore @ignore @ci_job @api @javascript Scenario: Add an AWS Cloud service provider using assume role Given I am logged in as a user with the "Cloud administrator" role Loading modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-00-02-AdminCreateDrupalResource.feature +2 −1 Original line number Diff line number Diff line @minimal @ci_job @launch_instance Feature: Create a Drupal role for AWS as "Administrator" In order to start BDD testing We need to create a Drupal role Loading @@ -7,7 +8,7 @@ Feature: Create a Drupal role for AWS as "Administrator" Given I am logged in as a user with the "Authenticated user" role When I visit "/clouds" And I should not see "{{ cloud_service_provider_name }}" When I go to "/clouds/aws_cloud/{{ cloud_context }}/instance" And I go to "/clouds/aws_cloud/{{ cloud_context }}/instance" Then I should get a 403 HTTP response @api Loading modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-00-03-AdminCheckNoUserResources.feature +7 −1 Original line number Diff line number Diff line @api Feature: Confirm no AWS resources created by user as "Administrator" In order to be able to replicate BDD tests As an administrator I need to confirm no resources @api Scenario: No link to the instance Given I am logged in as a user with the "Administrator" role When I visit "/clouds/aws_cloud/{{ cloud_context }}/instance" And I click "Refresh" Then I should not see "pending" @api Scenario: No link to the instance name on the template list Given I am logged in as a user with the "Administrator" role When I visit "/clouds/design/server_template/{{ cloud_context }}" And I click "Refresh" Then I should not see the link "{{ instance_name }}" @api Scenario: No link to the security group Given I am logged in as a user with the "Administrator" role When I visit "/clouds/aws_cloud/{{ cloud_context }}/security_group" And I click "Refresh" Then I should not see the link "{{ security_group_name }}" @api Scenario: No link to the subnet Given I am logged in as a user with the "Administrator" role When I visit "/clouds/aws_cloud/{{ cloud_context }}/subnet" And I click "Refresh" Then I should not see the link "{{ subnet_name }}" @api Scenario: No link to the VPC, but default exists Given I am logged in as a user with the "Administrator" role When I visit "/clouds/aws_cloud/{{ cloud_context }}/vpc" Loading @@ -35,12 +39,14 @@ Feature: Confirm no AWS resources created by user as "Administrator" Then I should not see the link "{{ vpc_name }}" And I should see the link "default" in the table @api Scenario: No link to the AMI image Given I am logged in as a user with the "Administrator" role When I visit "/clouds/aws_cloud/{{ cloud_context }}/image" And I click "Refresh" Then I should not see the link "{{ image_name }}" @api Scenario: No link to the SSH key pair Given I am logged in as a user with the "Administrator" role When I visit "/clouds/aws_cloud/{{ cloud_context }}/key_pair" Loading modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-00-05-UserCreateResources.feature +1 −0 Original line number Diff line number Diff line @minimal @ci_job @launch_instance Feature: Create resources for AWS as "Authenticated User" In order to launch EC2 instance As a user Loading modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-00-06-UserLaunchInstance.feature→modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-00-06-UserLaunchTemplate.feature +1 −0 Original line number Diff line number Diff line @minimal @ci_job @launch_instance Feature: Launch an EC2 instance as "Authenticated User" @api @javascript Loading Loading
modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-00-01-AdminCreateServiceProvider.feature +2 −1 Original line number Diff line number Diff line @minimal @launch_instance Feature: Create a cloud service provider for AWS as "Cloud administrator" In order to start BDD testing We need to create a cloud service provider Loading @@ -16,7 +17,7 @@ Feature: Create a cloud service provider for AWS as "Cloud administrator" And I should see "Creating cloud service provider was performed successfully" And I should see "{{ cloud_service_provider_name }}" @ignore @ignore @ci_job @api @javascript Scenario: Add an AWS Cloud service provider using assume role Given I am logged in as a user with the "Cloud administrator" role Loading
modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-00-02-AdminCreateDrupalResource.feature +2 −1 Original line number Diff line number Diff line @minimal @ci_job @launch_instance Feature: Create a Drupal role for AWS as "Administrator" In order to start BDD testing We need to create a Drupal role Loading @@ -7,7 +8,7 @@ Feature: Create a Drupal role for AWS as "Administrator" Given I am logged in as a user with the "Authenticated user" role When I visit "/clouds" And I should not see "{{ cloud_service_provider_name }}" When I go to "/clouds/aws_cloud/{{ cloud_context }}/instance" And I go to "/clouds/aws_cloud/{{ cloud_context }}/instance" Then I should get a 403 HTTP response @api Loading
modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-00-03-AdminCheckNoUserResources.feature +7 −1 Original line number Diff line number Diff line @api Feature: Confirm no AWS resources created by user as "Administrator" In order to be able to replicate BDD tests As an administrator I need to confirm no resources @api Scenario: No link to the instance Given I am logged in as a user with the "Administrator" role When I visit "/clouds/aws_cloud/{{ cloud_context }}/instance" And I click "Refresh" Then I should not see "pending" @api Scenario: No link to the instance name on the template list Given I am logged in as a user with the "Administrator" role When I visit "/clouds/design/server_template/{{ cloud_context }}" And I click "Refresh" Then I should not see the link "{{ instance_name }}" @api Scenario: No link to the security group Given I am logged in as a user with the "Administrator" role When I visit "/clouds/aws_cloud/{{ cloud_context }}/security_group" And I click "Refresh" Then I should not see the link "{{ security_group_name }}" @api Scenario: No link to the subnet Given I am logged in as a user with the "Administrator" role When I visit "/clouds/aws_cloud/{{ cloud_context }}/subnet" And I click "Refresh" Then I should not see the link "{{ subnet_name }}" @api Scenario: No link to the VPC, but default exists Given I am logged in as a user with the "Administrator" role When I visit "/clouds/aws_cloud/{{ cloud_context }}/vpc" Loading @@ -35,12 +39,14 @@ Feature: Confirm no AWS resources created by user as "Administrator" Then I should not see the link "{{ vpc_name }}" And I should see the link "default" in the table @api Scenario: No link to the AMI image Given I am logged in as a user with the "Administrator" role When I visit "/clouds/aws_cloud/{{ cloud_context }}/image" And I click "Refresh" Then I should not see the link "{{ image_name }}" @api Scenario: No link to the SSH key pair Given I am logged in as a user with the "Administrator" role When I visit "/clouds/aws_cloud/{{ cloud_context }}/key_pair" Loading
modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-00-05-UserCreateResources.feature +1 −0 Original line number Diff line number Diff line @minimal @ci_job @launch_instance Feature: Create resources for AWS as "Authenticated User" In order to launch EC2 instance As a user Loading
modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-00-06-UserLaunchInstance.feature→modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-00-06-UserLaunchTemplate.feature +1 −0 Original line number Diff line number Diff line @minimal @ci_job @launch_instance Feature: Launch an EC2 instance as "Authenticated User" @api @javascript Loading