Last active
November 27, 2020 14:46
-
-
Save benzaremean/3e5416636dac033b77c7feb9a3dc05c3 to your computer and use it in GitHub Desktop.
file 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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