Cucumberjs Report
supertest-cucumber
Wed Aug 28 2024 04:14:09 GMT+0000 (Coordinated Universal Time)
All Scenarios
3
Passed Scenarios
3
Failed Scenarios
0
Expand All
|
Collapse All
Feature:
Manage Posts on JSONPlaceholder API
3
Scenario:
Retrieve a list of posts
4
Given
I am a user
< 1ms
When
I send a GET request to /posts
307ms
Then
the API should respond with status code 200
< 1ms
And
the response should contain an array of posts
< 1ms
Scenario:
Create a new post
4
Given
I am a user
< 1ms
When
I send a POST request to /posts
398ms
Then
the API should respond with status code 201
< 1ms
And
the response should contain the post object
< 1ms
Scenario:
Retrieve a specific post
4
Given
I am a user
< 1ms
When
I send a GET request to /posts/1
147ms
Then
the API should respond with status code 200
< 1ms
And
the response should contain the details of the post
< 1ms