Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
- Add the following three test cases for AWS Cloud Admin Setting forms:
Drupal\Tests\aws_cloud\Functional\Config\AwsCloudAdminSettings::testAwsCloudAdminLocationSettings()
Drupal\Tests\aws_cloud\Functional\Config\AwsCloudAdminSettings::testAwsCloudAdminNotificationSettings()
Drupal\Tests\aws_cloud\Functional\Config\AwsCloudAdminSettings::testAwsCloudAdminSettings()
- Display a form and assert if HTTP response
200
is returned (Please see also the existing utility methods for testing:CloudAssertionTrait
) - Assert if there is no warning or error status messages (Please see also the existing utility methods for testing:
CloudAssertionTrait
) - Input some value of the fields and click Save and make sure the input values are correctly stored
Issue fork cloud-3230948
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 CreditAttribution: yutong.li commentedComment #5
yutong.li CreditAttribution: yutong.li commentedComment #6
yutong.li CreditAttribution: yutong.li commentedComment #8
yutong.li CreditAttribution: yutong.li commentedComment #9
yutong.li CreditAttribution: yutong.li commentedOn how I fix the
run-tests.sh fatal error
According to
, I found a drupal issue that you created years ago regarding to similar error. So I decided to add a
@group AWS Cloud
at the beginning of the class.Comment #10
yas@yutongli
Thank you for adding the test case and finding my patch that I cannot didn't remember at all. The patch looks good, so I'll merge the patch to
3.x
and4.x
, and close this issue as Fixed.Comment #13
yasComment #15
yas