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
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
Comment #4
yutong.li commentedComment #5
yutong.li commentedComment #7
yutong.li commentedComment #8
yas@yutong.li
Thank you for adding the test scenario. I posted my comment above. Thanks!
Comment #9
yutong.li commentedComment #10
yasComment #11
yutong.li commentedComment #12
yasComment #14
yasComment #15
yas@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