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
!667
Issue
#3262574
: Add a BDD test suite for deleting K8s Cloud service provider
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Issue
#3262574
: Add a BDD test suite for deleting K8s Cloud service provider
issue/cloud-3262574:3262574-add-a-bdd
into
4.x
Overview
2
Commits
4
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Closed
Tamaki Fujino
requested to merge
issue/cloud-3262574:3262574-add-a-bdd
into
4.x
3 years ago
Overview
2
Commits
4
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Expand
0
0
Merge request reports
Compare
4.x
version 4
71dae30d
3 years ago
version 3
5f4ecdfa
3 years ago
version 2
7af8fc32
3 years ago
version 1
01dc4d53
3 years ago
4.x (base)
and
latest version
latest version
e24409c6
4 commits,
3 years ago
version 4
71dae30d
1 commit,
3 years ago
version 3
5f4ecdfa
1 commit,
3 years ago
version 2
7af8fc32
1 commit,
3 years ago
version 1
01dc4d53
1 commit,
3 years ago
1 file
+
26
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
modules/cloud_service_providers/k8s/tests/src/Behat/features/templates/K8s-ATDD-00-92-AdminDeleteResources.feature
0 → 100644
+
26
−
0
Options
Feature
:
Delete the created resources as "Administrator"
In order to change to clean state
As an admin
I need to delete some resource
@api
Scenario
:
Delete a created role
Given
I am logged in as a user with the
"Administrator"
role
And
I visit
"/admin/people/roles"
And
I should see
"{{ role_name }}"
When
I visit
"/admin/people/roles/manage/{{ role_name_machine }}/delete?destination=/admin/people/roles"
And
I press
"Delete"
Then
I should be on
"/admin/people/roles"
And
I should see
"has been deleted."
And
I should not see the link
"{{ role_name }}"
@api
Scenario
:
Delete created Cloud service providers
Given
I am logged in as a user with the
"Administrator"
role
When
I visit
"/admin/structure/cloud_config"
And
I check the box
"edit-cloud-config-bulk-form-0"
And
I press
"Apply to selected items"
And
I press
"Delete"
Then
I should be on
"/admin/structure/cloud_config"
And
I should see
"Deleted 1 item."
And
I should not see the link
"{{ k8s_cloud_service_provider_name }}"
Loading