Problem/Motivation
Write a BDD test suite for the menu selection: Cloud service providers → All -> Cloud service providers
- 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-3226130
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 #2
yutong.li commentedComment #5
yutong.li commentedComment #6
yutong.li commentedComment #8
yutong.li commentedComment #9
yas@yutong.li
Thank you for adding the test case. It looks good to me. I'll merge the patch to
4.xand close this issue as Fixed.Comment #10
yas@yutong.li
Thank you for the update. It looks good to me now. I'll merge the patch to
4.xand close this issue as Fixed.Comment #13
yasComment #14
yutong.li commentedComment #16
kumikoono commented@yutong, Thanks for the update. It looks good to me.
Comment #17
yas@yutong.li
Thank you for the update. It looks good to me now. I'll merge the patch to
4.xand close this issue as Fixed.Comment #20
yas