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

Issue #3262574 by TamakiFujino, yas, kumikoono: Add a BDD test suite for...

Issue #3262574 by TamakiFujino, yas, kumikoono: Add a BDD test suite for deleting K8s Cloud service provider
parent 6878b294
Branches
Tags
6 merge requests!1759Issue #3356778: Release 5.1.1,!1679Issue #3349074: Fix the OpenStack Project create and edit form in SPA that "Member" cannot be saved due to a validation error,!1607Issue #3343582: Add the function to preview OpenStack stack in the SPA,!1032Issue #3284576: Release 5.0.0-alpha2,!832Issue #3274116: Refactor composer.json to use docomoinnovations/drupal-extension,!781Issue #3269930: Add a BDD test suite for checking no resources created by administrator
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