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
merged 1 commit into from
Nov 12, 2021

Conversation

trivikr
Copy link
Member

@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

> [email protected] integration /local/home/trivikr/workspace/aws-sdk-js
> cucumber.js "-t" "@ses"

@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 "[email protected]" # 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)
Checklist
  • run npm run integration if integration test is changed

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

Successfully merging this pull request may close these issues.

2 participants