Skip to content
Snippets Groups Projects
Commit 287791b4 authored by Tamaki Fujino's avatar Tamaki Fujino Committed by Yas Naoi
Browse files

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!1316Issue #3310263: Release 4.5.0,!1260Issue #3307397: Release 4.4.0,!804Issue #3272190: Release 4.1.0
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 }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment