Created
May 26, 2021 17:54
-
-
Save sergueyarellano/0fed633992c4caf3822bed3fecc7f062 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: Stores | |
As a consumer of the API, | |
I want to be able to perform CRUD operations on stores endpoints | |
Scenario: Successfully get a list of stores near me | |
Given request headers | |
| content-type | application/json | | |
When I make a "GET" request to "stores" | |
Then I receive a 200 status code response | |
And every element on "body" property has "interface" | |
| metadata | object | | |
| data | array | | |
And "body.data" property has more than 1 element | |
And every element on "body.data" property has "interface" | |
| type | string | | |
| description | string | | |
| location | string | | |
| distance | number | | |
And every element on "body.data" property has "restrictions" | |
| property | operator | value | | |
| distance | less than | 200 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment