StreetCode
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).
Priority: High
Preconditions:
- Open Postman and login as Admin;
- Create method POST with next endpoint: " https://backend.historycode.online/api/Streetcode/Create ";
- Open test case: # 2668 take the request body as an example.
Steps to reproduce
- Leave the "teaser" field empty;
- Execute the request.
Expected result 400 Bad Request and "message": "Поле 'Тизер' не може бути пусте".
Postconditions Delete "History-код" and images that were created.
User story: #115
Related bug: