1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
# language: en
@swf @client
Feature: Amazon Simple Workflow Service
Scenario: Making a request
When I call the "ListDomains" API with:
| registrationStatus | REGISTERED |
Then the value at "domainInfos" should be a list
Scenario: Handling errors
When I attempt to call the "DescribeDomain" API with:
| name | fake_domain |
Then I expect the response error code to be "UnknownResourceFault"
And I expect the response error message to include:
"""
Unknown domain: fake_domain
"""
|