Problem/Motivation

  1. As an IT admin, I want to log into the site so that I can see or access~.
  2. As an IT admin, I want to add an AWS Cloud service provider named AWS BDD. <- Hard-coded is fine for now because this string is specifically used for Behat.
  3. As an IT admin, I wan to create a role named BDD Role that contains the access permissions to the AWS Cloud service provider AWS BDD and view own instance.
  4. As an IT admin, I want to create a test user named bdd_user with the permission BDD Role
  5. As a user, I want to log into the site so that I can see or access~.
  6. As a user, I want to launch an instance named bdd_instance.
  7. As a user, I want to view the instance bdd_instance so that s/he can confirm .
  8. As a user, I want to terminate the instance bdd_instance so that s/he cannot access to the instance.
  9. As an IT admin, I want to delete the AWS Cloud. service provider AWS BDD so that~
  10. As an IT admin, I want to delete the permission BDD Role so that~
  11. As an IT admin, I want to delete the user bdd_user so that~

Issue fork cloud-3229497

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

Issue summary: View changes
yas’s picture

Title: Come up with acceptance tests based on YouTube videos (2) (Create the resource for Acceptance Test) » Come up with acceptance tests based on YouTube videos (Create the resource for Acceptance Test)
Issue summary: View changes
yutong.li’s picture

Issue summary: View changes

yutong.li’s picture

Issue summary: View changes
yutong.li’s picture

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

Assigned: Unassigned » yutong.li
yas’s picture

Status: Needs review » Needs work

@yutong.li

Thank you for the update. It looks good now, and I want to have the further request for you to refactor the password portion for the future expansion for the flexibility. Could you please take a look at it? Thanks!

yutong.li’s picture

Status: Needs work » Needs review
yas’s picture

Status: Needs review » Reviewed & tested by the community

@yutong.li

Thank you for the update. It looks good to me now. I'll merge the patch to 4.x and close this issue as Fixed.

yas’s picture

Status: Reviewed & tested by the community » Needs work

@yutong.li

I found one thing that we should parameterized. Could you please check 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 » Needs review
yutong.li’s picture

@yas
I opened another ticket to "align naming convention". I will be working on that on a different branch.

yas’s picture

@yutong.li

Thank you for the update. This patch looks pretty good now. I feel test/src/Behat can be moved to modules/cloud_service_provider/aws_cloud/test/src/Behat since this patch aims aws_cloud module.

What do you think?

yutong.li’s picture

@yas

I think we can keep behat scenarios at the current location for now.
Currently under tests/src/Behat, some tests are NOT aws-specific. Such generic tests should stay at the current directory, and aws-specific ones will be moved to modules/cloud_service_provider/aws_cloud/test/src/Behat eventually.
At this moment, we are migrating the test env to the new QA env. Once I become comfortable with the new env, then we can move aws-specific scenarios to the new location.

yutong.li’s picture

@yas
I reorganized the behat files according to your suggestion. Thanks:)

yas’s picture

Status: Needs review » Reviewed & tested by the community

@yutong.li

Thank you for the update and making your great efforts. The patch looks perfect now. I'll merge the patch to 4.x and close this issue as Fixed.

yas’s picture

Title: Come up with acceptance tests based on YouTube videos (Create the resource for Acceptance Test) » Add acceptance tests (Create the resource for acceptance tests)

  • yas committed 9d345aa on 4.x
    Issue #3229497 by yutong.li, yas, kumikoono: Add acceptance tests (...

yas’s picture

Title: Add acceptance tests (Create the resource for acceptance tests) » Add acceptance tests (Create the resources for acceptance tests)
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.