Skip to content

Instantly share code, notes, and snippets.

@benzaremean
Last active November 27, 2020 14:46
Show Gist options
  • Save benzaremean/3e5416636dac033b77c7feb9a3dc05c3 to your computer and use it in GitHub Desktop.
Save benzaremean/3e5416636dac033b77c7feb9a3dc05c3 to your computer and use it in GitHub Desktop.
file 1
Feature: Addresses
Scenario: Get request to address endpoint
Given I make a get request to '/dwp/residency/api/address'
Then the status code is 200
And response body should match 'address.json' JSON schema
And response body should return 5 items
And response body includes the following in any order:
| [0].guid | 10001 |
| [0].city | London |
| [0].current_status | C |
| [0].residency_type | NON Habitual |
| [1].city | Hemel |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment