StreetCode
StreetCode copied to clipboard
[Bug][Admin/Main street code block][API] Admin has ability to delete mandatory field during creating new "History-код".
Environment: Windows 10 Home version 22H2, Google Chrome version 134.0.6998.89 (64) Reproducible: Always Build found: release 1.2.3 / 372d66c
Preconditions
- Open Postman and login as Admin;
- Create new unique image and get it ID for future "History-код";
- Add request in Postman with next endpoint: "POST: https://backend.historycode.online/api/Streetcode/Create"
- Execute the TC # 2668 and get request body;
Steps to reproduce
- Open the request body and delete the line with value:
- "eventStartOrPersonBirthDate": "1997-07-01".
- Execute the request.
Actual result 400 - OK.
Expected result Get: 400 Bad Request and message: "Поле "День народження" або "Дата подіїї" не може бути пустим".
Postconditions Delete history-код та images which were created by Admin.
User story and test case links #115
Labels to be added "Bug", Priority ("pri: "), Severity ("severity:"), Type ("UI, "Functional"), "API" (for back-end bugs).