17 lines
533 B
Gherkin
17 lines
533 B
Gherkin
# language: en
|
|
@es @elasticsearchservice
|
|
Feature: Amazon ElasticsearchService
|
|
|
|
Scenario: Making a request
|
|
When I call the "ListDomainNames" API
|
|
Then the value at "DomainNames" should be a list
|
|
|
|
Scenario: Handling errors
|
|
When I attempt to call the "DescribeElasticsearchDomain" API with:
|
|
| DomainName | not-a-domain |
|
|
Then I expect the response error code to be "ResourceNotFoundException"
|
|
And I expect the response error message to include:
|
|
"""
|
|
Domain not found: not-a-domain
|
|
"""
|