Logo: Relish

  1. Sign in

Project: Showmethedocs

Everything awesome about products

Background
Given
I have an API session token
Scenarios
Get all offers saved in a users wallet
When
I do a valid GET requests to retrieve offers
Then
I successfully receive list of offers saved in users wallet
No offers found
Given
I have a valid user with no offers
When
I generate a token for this user
And
I do a valid GET requests to retrieve offers
Then
I receive no offers
Scenario Outline
When
I make a GET request with "firstname" and "lastname"
Then
I get offers associated with those users
Scenarios: Valid
firstname lastname
Nilesh Kulkarni
Succka Lings
Scenarios: Invalid
firstname lastname
randomuser randomlastname
hacker hackerslastname

Last published over 4 years ago by Nilesh.