Environment:
Windows 11 Home
Chrome 114.0.5735.91 (Official buid) (64-bit)
GreenCityDocker-3 is built and running.
Reproducible: always.
Pre-conditions:
User is logged in as Admin.
The category with the data { "name": "string2", "nameUa": "string2", "parentCategoryId": 0} is already created.
Steps to reproduce
Select “Category Controller” section.
Select the method POST/category.
Add the request body with the next data: { "name": "string2", "nameUa": "string2", "parentCategoryId": 0}
Send the request.
Compare the returned response code with the list of documented response codes.
Actual result:
Response 400 (Bad request) is not documented in the list of response codes for the method POST /category “Save category” endpoint
Expected result:
Response 400 (Bad request) is documented in the list of response codes for the method POST /category “Save category” endpoint
Environment: Windows 11 Home Chrome 114.0.5735.91 (Official buid) (64-bit) GreenCityDocker-3 is built and running.
Reproducible: always.
Pre-conditions: User is logged in as Admin. The category with the data { "name": "string2", "nameUa": "string2", "parentCategoryId": 0} is already created.
Steps to reproduce
Actual result: Response 400 (Bad request) is not documented in the list of response codes for the method POST /category “Save category” endpoint
Expected result: Response 400 (Bad request) is documented in the list of response codes for the method POST /category “Save category” endpoint
User story and test case links