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
Commits
287791b4
Commit
287791b4
authored
3 years ago
by
Tamaki Fujino
Committed by
Yas Naoi
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3262574
by TamakiFujino, yas: Add a BDD test suite for deleting K8s Cloud service provider
parent
24c02d49
No related branches found
No related tags found
3 merge requests
!1316
Issue #3310263: Release 4.5.0
,
!1260
Issue #3307397: Release 4.4.0
,
!804
Issue #3272190: Release 4.1.0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/cloud_service_providers/k8s/tests/src/Behat/features/templates/K8s-ATDD-00-92-AdminDeleteResources.feature
+26
-0
26 additions, 0 deletions
...res/templates/K8s-ATDD-00-92-AdminDeleteResources.feature
with
26 additions
and
0 deletions
modules/cloud_service_providers/k8s/tests/src/Behat/features/templates/K8s-ATDD-00-92-AdminDeleteResources.feature
0 → 100644
+
26
−
0
View file @
287791b4
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 }}"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment