StreetCode
StreetCode copied to clipboard
[TC][Admin/Main StreetCode block][API] Verify that Admin is unable to create "History-код" if "eventStartOrPersonBirthDate" field is missing (API via Postman).
Priority: High
Preconditions
- Open Postman and login as Admin;
- Create method POST with next endpoint: " POST: https://backend.historycode.online/api/Streetcode/Create ";
- Open test case: # 2668 take the request body as an example.
Steps to reproduce
- Leave the "eventStartOrPersonBirthDate" field empty.
- Execute the request;
Expected result 400 Bad Request and message: "Поле 'Дата нарордження/Дата початку події' не може бути пусте".
Postconditions Delete "History-код" and images that was created.
User story: #115 Related bug: