Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Rescue SES InvalidParameterValue test #3958

merged 1 commit into from Nov 12, 2021


Copy link

@trivikr trivikr commented Nov 12, 2021

Reverts #3956
The error message is corrected in the backend.

Integration test run
$ AWS_REGION=us-east-1 npm run integration -- -t @ses

> aws-sdk@2.1027.0 integration /local/home/trivikr/workspace/aws-sdk-js
> cucumber.js "-t" "@ses"

Feature: SES

  I want to use Simple Email Service.

  Scenario: Check quota                                     # features/ses/ses.feature:7
    When I check quota                                      # features/ses/ses.feature:8
    Then the result should include number "SentLast24Hours" # features/ses/ses.feature:9
    And the result should include number "MaxSendRate"      # features/ses/ses.feature:10

  Scenario: Verify email                                     # features/ses/ses.feature:12
(node:12155) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.
    When I ask to verify the email address "" # features/ses/ses.feature:13
    Then the status code should be 200                       # features/ses/ses.feature:14

  Scenario: Rescue SES InvalidParameterValue        # features/ses/ses.feature:16
    When I ask to verify the email address "abc123" # features/ses/ses.feature:17
    Then I should get the error:                    # features/ses/ses.feature:18
      | code                  | message                        |
      | InvalidParameterValue | Invalid email address<abc123>. |

3 scenarios (3 passed)
7 steps (7 passed)
  • run npm run integration if integration test is changed

@trivikr trivikr requested a review from as a code owner Nov 12, 2021
@trivikr trivikr merged commit 1545265 into aws:master Nov 12, 2021
1 check passed
@trivikr trivikr deleted the enable-ses-invalid-param-value-test branch Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants