Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cloud
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
cloud
Merge requests
!1844
Issue
#3367407
: Refactor the AWS Cloud BDD test scenarios
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Issue
#3367407
: Refactor the AWS Cloud BDD test scenarios
issue/cloud-3367407:6.x
into
6.x
Overview
0
Commits
1
Pipelines
1
Changes
3
Closed
Yas Naoi
requested to merge
issue/cloud-3367407:6.x
into
6.x
1 year ago
Overview
0
Commits
1
Pipelines
1
Changes
3
Expand
0
0
Merge request reports
Compare
6.x
6.x (base)
and
latest version
latest version
60c8c119
1 commit,
1 year ago
3 files
+
51
−
127
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/templates/AWS-ATDD-01-01-ReadNoResources.feature
+
19
−
39
Options
@@ -21,47 +21,27 @@ Feature: Confirm no AWS resources are created under the created cloud service
And
I should see neither error nor warning messages
@api
Scenario
:
No
link to the
security group
Scenario
:
No
link to the
resource name on the resource list view
Given
I am logged in as a user with the
"Administrator"
role
When
I visit
"/clouds/aws_cloud/{{ cloud_context }}/
security_group
"
And
I should see the heading
"AWS Cloud
security groups"
When
I visit
"/clouds/aws_cloud/{{ cloud_context }}/
<resource_type>
"
And
I should see the heading
"AWS Cloud
"
<resource_type_name>
And
I click
"Refresh"
Then
I should not see the link
"{{ security_group
_name
}}"
Then
I should not see the link
<resource
_name
>
And
I should see neither error nor warning messages
@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 should see the heading
"AWS Cloud subnets"
And
I click
"Refresh"
Then
I should not see the link
"{{ subnet_name }}"
And
I should see neither error nor warning messages
@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"
And
I should see the heading
"AWS Cloud VPCs"
And
I click
"Refresh"
Then
I should not see the link
"{{ vpc_name }}"
And
I should see the link
"default"
in the table
And
I should see neither error nor warning messages
Examples
:
|
resource_type
|
resource_type_name
|
resource_name
|
|
image
|
"images"
|
{{
image_name
}}
|
|
security_group
|
"security
groups"
|
{{
security_group_name
}}
|
|
elastic_ip
|
"Elastic
IPs"
|
{{
elastic_ip_name
}}
|
|
key_pair
|
"key
pairs"
|
{{
ssh_key_name
}}
|
|
volume
|
"volumes"
|
{{
volume_name
}}
|
|
snapshot
|
"snapshots"
|
{{
snapshot_name
}}
|
|
network_interface
|
"network
interfaces"
|
{{
network_interface_name
}}
|
|
subnet
|
"subnets"
|
{{
subnet_name
}}
|
|
vpc
|
"VPCs"
|
{{
vpc_name
}}
|
|
vpc_peering_connection_name
|
"VPC
peering
connections"
|
{{
vpc_peering_connection_name
}}
|
|
internet_gateway
|
"internet
gateways"
|
{{
internet_gateway_name
}}
|
|
carrier_gateway
|
"carrier
gateways"
|
{{
carrier_gateway_name
}}
|
|
transit_gateway
|
"transit
gateways"
|
{{
transit_gateway_name
}}
|
@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 should see the heading
"AWS Cloud images"
And
I click
"Refresh"
Then
I should not see the link
"{{ image_name }}"
And
I should see neither error nor warning messages
@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"
And
I should see the heading
"AWS Cloud key pairs"
And
I click
"Refresh"
Then
I should not see the link
"{{ ssh_key_name }}"
And
I should see neither error nor warning messages
Loading