StreetCode
StreetCode copied to clipboard
[API][Admin/Вакансії] The vacancy is created when the title and/or description fields are filled with more than allowed number of symbols
trafficstars
Environment: Windows 10 Pro, Chrome, 122.0.6261.112, (64 bit) Reproducible: always Build found: aafbfbc
Preconditions
- The symbols limit in the "title" field is expected 50.
- The symbols limit in the "description" field is expected 2000.
- Open Postman.
Steps to reproduce
- Create a Job using the Post request.
- Fill in the "title" field with 51 or more symbols.
- Fill in the "description" field with 2001 or more symbols.
- Fill in the "salary" field with valid information.
- Send a request.
Actual result
- The Job is created with the symbols limit exceeded in the "title" and "description" fields. Response 200 ok.
Expected result The job with the symbols limit exceeded in the "title" and "description" fields is not created. Response 400. Bad request.
User story and test case links User story #836 Test case #1102 #1054