Problem/Motivation

Write a BDD test suite for the menu selection: Cloud service providers → AWS → AWS US West Oregon

  • case #1: Expecting the list of cloud service providers if the logged-in user has both permissions: Drupal and AWS IAM
  • case #2: Expecting “Access denied” if the logged-in user doesn’t have either permissions: Drupal and AWS IAM

https://agaric.coop/blog/how-use-behavior-driven-development-drupal-behat
https://docs.behat.org/en/v2.5/quick_intro.html
https://www.drupal.org/drupalorg/docs/build/bdd-tests

Issue fork cloud-3226574

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

yutong.li created an issue. See original summary.

yutong.li credited yas.

yutong.li’s picture

yutong.li’s picture

Status: Needs work » Active

yutong.li’s picture

Status: Active » Needs review
yas’s picture

Status: Needs review » Needs work

@yutong.li

Thank you for adding the test scenario. I posted my comment above. Thanks!

yutong.li’s picture

Status: Needs work » Needs review
yas’s picture

Status: Needs review » Needs work
yutong.li’s picture

Status: Needs work » Postponed
yas’s picture

Title: Write a BDD test suite for Cloud service providers menu (3) (AWS -> AWS US West Oregon) » Add a BDD test suite for Cloud service providers menu (3) (AWS -> AWS US West Oregon)

yas’s picture

Assigned: yutong.li » Unassigned
yas’s picture

Status: Postponed » Closed (outdated)
Related issues: +#3268673: Add a BDD test scenario for “Access denied” after creating the resources

@all The patch has been covered by #3268673: Add a BDD test scenario for “Access denied” after creating the resources Assigned to: TamakiFujino. Closing this issue. Thanks