Problem/Motivation
We want to test all the acceptance tests using the docker container that Kumiko setup for QA.
This patch modifies the following files
1. /tests/src/Behat/features/admin/AdminCheckCleanState.feature
- Login and log out on the clean state
- List all Cloud service providers on the clean state
- List all AWS resources on the clean state
2. /modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/admin/AdminCreateResources.feature
- Add an AWS Cloud service provider named
AWS BDD - Create a role named
BDD Rolethat contains the access permissions to the AWS Cloud service providerAWS BDDand view own instance
3. /modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/admin/AdminCheckResources.feature
- Login and log out on the ongoing state
- List all Cloud service providers on the ongoing state
- List all AWS resources on the ongoing state
4. /modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/user/UserLaunchInstance.feature
- Create SSH key pair named
BDD Key - Import AMI Image
- Add Cloud VPC named
BDD VPC - Add Cloud subnet named
BDD Subnet - Add Cloud security group named
BDD Security Group - Create launch template named
BDD_Instance - Launch the EC2 instance named
BDD_Instance - View the instance
BDD_Instance
5. /modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/user/UserDeleteResources.feature
- Terminate the instance named
BDD_Instance - Delete the launch template named
BDD_Instance - Delete the Cloud security group named
BDD Security Group - Delete the Cloud subnet named
BDD Subnet - Delete the Cloud VPC named
BDD VPC - Delete AMI Image
- Delete the SSH key pair named
BDD Key
6.
/modules/cloud_service_providers/aws_cloud/tests/src/Behat/features/admin/AdminDeleteResources.feature
- Delete the role named
BDD Role - Delete the AWS Cloud service provider named
AWS BDD
7. /modules/cloud_service_providers/aws_cloud/images/bdd/design/behat/scenarios.png
| Comment | File | Size | Author |
|---|---|---|---|
| #20 | 3239248-20.patch | 357.87 KB | yas |
Issue fork cloud-3239248
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:
- 3239248-Test-All-Acceptance-Tests-QA
changes, plain diff MR !459
Comments
Comment #4
yutong.li commentedComment #5
yutong.li commentedComment #6
yutong.li commentedComment #8
yutong.li commentedComment #9
yas@yutong.li
The patch looks behind. Could you please rebase the branch? Thanks!
Comment #10
yasComment #11
yutong.li commentedComment #12
yas@yutong.li
Thank you for the update. The patch looks good to me.
@kumikoono
Could you please review the patch? Thanks
Comment #13
kumikoono commented@yutong Thanks for this work. Please check my comments.
Comment #14
kumikoono commented@yutong, Thanks for your update. It looks good to me.
Comment #15
yas@kumikoono
Thank you for your review.
@yutong.li
Changing the status to RTBC and I'll merge the patch to
4.xand close this issue as Fixed.Comment #16
yas@yutong.li
I found that there are some places that we need to fix. Please check my comments above and the errors shown in below. I change back the status to Needs work. Thanks!
Comment #17
yutong.li commentedComment #18
yas@yutong.li
Sorry, I was confused about the
phpcsmessages, which reported the existing example feature files. Could you please revert the patch by removing the blank line at the end of the files that you added this time? Thanks!Comment #19
yutong.li commentedComment #20
yas@yutong.li
Thank you for the update. It looks good now, let me upload the patch incl. png file which is encoded from binary to text.
Comment #23
yas