Skip to content

Commit 3797f81

Browse files
committed
Add comment to scenario
1 parent 317cc38 commit 3797f81

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/com/typicode/jsonplaceholder/features/Posts.feature

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ Feature: Posts Endpoint
231231
And the response body matches the "PostComments" expected response
232232

233233
Scenario Outline: Invalid nested path parameters - posts/1/<param>
234+
# As the API uses a static data source rather than a database, calls that use some nested path parameters may return
235+
# all the data for the nested endpoint. For an API backed by an operational DB these calls should return an error
234236
When I make a GET request to the Posts endpoint with nested path parameters of 1/<param>
235237
Then the response has a status code of 200
236238
And the response body follows the "<schema>" JSON schema

0 commit comments

Comments
 (0)