Skip to content
Snippets Groups Projects
Commit 6e18e77d authored by Yutong Li's avatar Yutong Li Committed by Yas Naoi
Browse files

Issue #3227408 by yutong.li, yas, kumikoono: Add a BDD test suite for Cloud...

Issue #3227408 by yutong.li, yas, kumikoono: Add a BDD test suite for Cloud service providers menu (2) (All → AWS resources)
parent 107f4eff
No related branches found
No related tags found
No related merge requests found
Feature: List all AWS resources
In order to view the list of AWS resources
As a user
I need to have both Drupal and AWS IAM permissions
@api
Scenario Outline: View the list of AWS resources
Given I am logged in as a user with the <role> role
When I go to "/clouds/aws_cloud/instance"
Then I should get a <code> HTTP response
And I should see the heading <heading>
Examples:
| role | code | heading |
| "Authenticated user" | 403 | "Access denied" |
| "Administrator" | 200 | "All AWS Cloud Instances" |
@api
Scenario: "Administrator" can view the list of AWS resources
Given I am logged in as a user with the "Administrator" role
When I go to "/clouds/aws_cloud/instance"
Then I should see the button "Apply"
And I should see the link "Instances"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment