@@ -3,20 +3,20 @@ Feature: Posts Endpoint
33 Scenario : Get all posts
44 When I make a GET request to the Posts endpoint
55 Then the response has a status code of 200
6- And the response body follows the "GetAllPosts " JSON schema
6+ And the response body follows the "MultiplePosts " JSON schema
77 And the results array contains 100 elements
88 And the response body matches the "GetAllPosts" expected response
99
1010 Scenario : Verify single post against expected response in file
1111 When I make a GET request to the Posts endpoint with a path parameter of 1
1212 Then the response has a status code of 200
13- And the response body follows the "GetSinglePost " JSON schema
13+ And the response body follows the "SinglePost " JSON schema
1414 And the response body matches the 1st post in the "GetAllPosts" expected response
1515
1616 Scenario : Verify single post using datatable
1717 When I make a GET request to the Posts endpoint with a path parameter of 1
1818 Then the response has a status code of 200
19- And the response body follows the "GetSinglePost " JSON schema
19+ And the response body follows the "SinglePost " JSON schema
2020 And the response body matches the following
2121 | key | value |
2222 | id | 1 |
@@ -27,7 +27,7 @@ Feature: Posts Endpoint
2727 Scenario : Verify single post field by field
2828 When I make a GET request to the Posts endpoint with a path parameter of 1
2929 Then the response has a status code of 200
30- And the response body follows the "GetSinglePost " JSON schema
30+ And the response body follows the "SinglePost " JSON schema
3131 And the "id" field in the response body has a value of 1
3232 And the "title" field in the response body has a value of "sunt aut facere repellat provident occaecati excepturi optio reprehenderit"
3333 And the "body" field in the response body has a value of
0 commit comments