StreetCode icon indicating copy to clipboard operation
StreetCode copied to clipboard

[TC][Admin/Main StreetCode block][API] Verify that Admin is unable to create "History-код" if "teaser" field is missing (API via Postman).

Open Viacheslav-QC opened this issue 7 months ago • 0 comments

Priority: High

Preconditions:

  1. Open Postman and login as Admin;
  2. Create method POST with next endpoint: " https://backend.historycode.online/api/Streetcode/Create ";
  3. Open test case: # 2668 take the request body as an example.

Steps to reproduce

  1. Leave the "teaser" field empty;
  2. Execute the request. Image

Expected result 400 Bad Request and "message": "Поле 'Тизер' не може бути пусте".

Postconditions Delete "History-код" and images that were created.

User story: #115

Related bug:

Viacheslav-QC avatar Apr 14 '25 08:04 Viacheslav-QC