Adding API Proxy tests.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Feature: The API Proxy client
|
||||
Scenario: A HTTP request with json body response
|
||||
Given a API Proxy client
|
||||
When a request is made with GET for the API: https://pokeapi.co/api/v2/pokemon/ditto
|
||||
Then there must be a json response
|
||||
And the pokemon name must be ditto
|
||||
|
||||
|
||||
Scenario: A HTTP request with text body response
|
||||
Given a API Proxy client
|
||||
When a request is made with GET for the API: https://www.slashdot.org
|
||||
Then the response content type must be string
|
||||
Reference in New Issue
Block a user