{"uid":"4ebb0e5b22b86545","name":"setUserPlaces moves worker to first three places with trusted privilege","fullName":"Pass requests: setUserPlaces moves worker to first three places with trusted privilege","historyId":"30c7842eb5c842b406c44d94a2de3901","time":{"start":1777904002150,"stop":1777904004073,"duration":1923},"status":"failed","statusMessage":"AssertionError: Не удалось прикрепить employee к place. Попробовали: ['addEmployeeToPlace/dto', 'addEmployeeToPlace/args', 'addEmployeeToPlace/employee_ids', 'attachEmployeeToPlace/dto', 'attachEmployeeToPlace/args', 'attachEmployeeToPlace/employee_ids', 'addEmployeesToPlace/dto', 'addEmployeesToPlace/args', 'addEmployeesToPlace/employee_ids', 'addEmployeesToPlaces/dto', 'addEmployeesToPlaces/args', 'addEmployeesToPlaces/employee_ids']. Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Cannot query field \\\"addEmployeesToPlaces\\\" on type \\\"Mutation\\\". Did you mean \\\"addEmployee\\\" or \\\"addUserToPlace\\\"?\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"}]}\n\n","statusTrace":" File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\model.py\", line 1991, in run\n match.run(runner.context)\n ~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\matchers.py\", line 105, in run\n self.func(context, *args, **kwargs)\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"Pass_request\\features\\steps\\pass_requests_steps.py\", line 82, in step_prepare_set_user_places_flow\n td.prepare_set_user_places_flow()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1084, in prepare_set_user_places_flow\n self._attach_employee_to_place(employee_id=worker_employee_id, place_id=p4)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 613, in _attach_employee_to_place\n raise AssertionError(f\"Не удалось прикрепить employee к place. Попробовали: {attempts}. Последняя ошибка: {last_error}\")\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"failed","statusMessage":"AssertionError: Не удалось прикрепить employee к place. Попробовали: ['addEmployeeToPlace/dto', 'addEmployeeToPlace/args', 'addEmployeeToPlace/employee_ids', 'attachEmployeeToPlace/dto', 'attachEmployeeToPlace/args', 'attachEmployeeToPlace/employee_ids', 'addEmployeesToPlace/dto', 'addEmployeesToPlace/args', 'addEmployeesToPlace/employee_ids', 'addEmployeesToPlaces/dto', 'addEmployeesToPlaces/args', 'addEmployeesToPlaces/employee_ids']. Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Cannot query field \\\"addEmployeesToPlaces\\\" on type \\\"Mutation\\\". Did you mean \\\"addEmployee\\\" or \\\"addUserToPlace\\\"?\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"}]}\n\n","statusTrace":" File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\model.py\", line 1991, in run\n match.run(runner.context)\n ~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\matchers.py\", line 105, in run\n self.func(context, *args, **kwargs)\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"Pass_request\\features\\steps\\pass_requests_steps.py\", line 82, in step_prepare_set_user_places_flow\n td.prepare_set_user_places_flow()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1084, in prepare_set_user_places_flow\n self._attach_employee_to_place(employee_id=worker_employee_id, place_id=p4)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 613, in _attach_employee_to_place\n raise AssertionError(f\"Не удалось прикрепить employee к place. Попробовали: {attempts}. Последняя ошибка: {last_error}\")\n","steps":[{"name":"When get access token","time":{"start":1777904002151,"stop":1777904002270,"duration":119},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And prepare four places and worker for setUserPlaces flow","time":{"start":1777904002270,"stop":1777904003355,"duration":1085},"status":"failed","statusMessage":"AssertionError: Не удалось прикрепить employee к place. Попробовали: ['addEmployeeToPlace/dto', 'addEmployeeToPlace/args', 'addEmployeeToPlace/employee_ids', 'attachEmployeeToPlace/dto', 'attachEmployeeToPlace/args', 'attachEmployeeToPlace/employee_ids', 'addEmployeesToPlace/dto', 'addEmployeesToPlace/args', 'addEmployeesToPlace/employee_ids', 'addEmployeesToPlaces/dto', 'addEmployeesToPlaces/args', 'addEmployeesToPlaces/employee_ids']. Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Cannot query field \\\"addEmployeesToPlaces\\\" on type \\\"Mutation\\\". Did you mean \\\"addEmployee\\\" or \\\"addUserToPlace\\\"?\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"}]}\n\n","statusTrace":" File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\model.py\", line 1991, in run\n match.run(runner.context)\n ~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\matchers.py\", line 105, in run\n self.func(context, *args, **kwargs)\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"Pass_request\\features\\steps\\pass_requests_steps.py\", line 82, in step_prepare_set_user_places_flow\n td.prepare_set_user_places_flow()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1084, in prepare_set_user_places_flow\n self._attach_employee_to_place(employee_id=worker_employee_id, place_id=p4)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 613, in _attach_employee_to_place\n raise AssertionError(f\"Не удалось прикрепить employee к place. Попробовали: {attempts}. Последняя ошибка: {last_error}\")\n","steps":[{"name":"GraphQL: createPlaceMultiple (setuserplaces-1, place_type=flat)","time":{"start":1777904002272,"stop":1777904002435,"duration":163},"status":"passed","steps":[],"attachments":[{"uid":"a7af592500f84c38","name":"createPlaceMultiple response","source":"a7af592500f84c38.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createPlaceMultiple (setuserplaces-2, place_type=flat)","time":{"start":1777904002435,"stop":1777904002482,"duration":47},"status":"passed","steps":[],"attachments":[{"uid":"fa4810bfc35fe79e","name":"createPlaceMultiple response","source":"fa4810bfc35fe79e.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createPlaceMultiple (setuserplaces-3, place_type=flat)","time":{"start":1777904002482,"stop":1777904002523,"duration":41},"status":"passed","steps":[],"attachments":[{"uid":"bd7cf4fd243002dc","name":"createPlaceMultiple response","source":"bd7cf4fd243002dc.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createPlaceMultiple (setuserplaces-4, place_type=flat)","time":{"start":1777904002523,"stop":1777904002575,"duration":52},"status":"passed","steps":[],"attachments":[{"uid":"26f35ff32dc91d55","name":"createPlaceMultiple response","source":"26f35ff32dc91d55.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (set user)","time":{"start":1777904002575,"stop":1777904002616,"duration":41},"status":"passed","steps":[],"attachments":[{"uid":"2c8f9ba8b5a6778","name":"createUser(generic) response","source":"2c8f9ba8b5a6778.json","type":"application/json","size":436}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (set worker)","time":{"start":1777904002616,"stop":1777904002660,"duration":44},"status":"passed","steps":[],"attachments":[{"uid":"4520d87a8c77edbf","name":"createUser(generic) response","source":"4520d87a8c77edbf.json","type":"application/json","size":438}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addEmployee (generic)","time":{"start":1777904002660,"stop":1777904002693,"duration":33},"status":"passed","steps":[],"attachments":[{"uid":"9a1b40487b2651bc","name":"addEmployee(generic) response","source":"9a1b40487b2651bc.json","type":"application/json","size":85}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: setUserPlaces (dto-variable)","time":{"start":1777904002693,"stop":1777904003016,"duration":323},"status":"passed","steps":[],"attachments":[{"uid":"bbdb989591b3e826","name":"setUserPlaces response","source":"bbdb989591b3e826.json","type":"application/json","size":221}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeeToPlace/dto)","time":{"start":1777904003036,"stop":1777904003063,"duration":27},"status":"passed","steps":[],"attachments":[{"uid":"d88f2520e26324ad","name":"RuntimeError: addEmployeeToPlace","source":"d88f2520e26324ad.txt","type":"text/plain","size":324}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeeToPlace/args)","time":{"start":1777904003063,"stop":1777904003089,"duration":26},"status":"passed","steps":[],"attachments":[{"uid":"ebe46ff22fd26fa8","name":"RuntimeError: addEmployeeToPlace","source":"ebe46ff22fd26fa8.txt","type":"text/plain","size":324}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeeToPlace/employee_ids)","time":{"start":1777904003089,"stop":1777904003114,"duration":25},"status":"passed","steps":[],"attachments":[{"uid":"738abc95eb8eae3c","name":"RuntimeError: addEmployeeToPlace","source":"738abc95eb8eae3c.txt","type":"text/plain","size":324}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (attachEmployeeToPlace/dto)","time":{"start":1777904003114,"stop":1777904003137,"duration":23},"status":"passed","steps":[],"attachments":[{"uid":"945542296c9b74e8","name":"RuntimeError: attachEmployeeToPlace","source":"945542296c9b74e8.txt","type":"text/plain","size":257}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (attachEmployeeToPlace/args)","time":{"start":1777904003137,"stop":1777904003179,"duration":42},"status":"passed","steps":[],"attachments":[{"uid":"1558d57a03b7e9a5","name":"RuntimeError: attachEmployeeToPlace","source":"1558d57a03b7e9a5.txt","type":"text/plain","size":257}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (attachEmployeeToPlace/employee_ids)","time":{"start":1777904003179,"stop":1777904003205,"duration":26},"status":"passed","steps":[],"attachments":[{"uid":"f3753697fcd55650","name":"RuntimeError: attachEmployeeToPlace","source":"f3753697fcd55650.txt","type":"text/plain","size":257}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeesToPlace/dto)","time":{"start":1777904003205,"stop":1777904003230,"duration":25},"status":"passed","steps":[],"attachments":[{"uid":"a7ac214565f20413","name":"RuntimeError: addEmployeesToPlace","source":"a7ac214565f20413.txt","type":"text/plain","size":307}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeesToPlace/args)","time":{"start":1777904003230,"stop":1777904003256,"duration":26},"status":"passed","steps":[],"attachments":[{"uid":"d2dee7330f608722","name":"RuntimeError: addEmployeesToPlace","source":"d2dee7330f608722.txt","type":"text/plain","size":307}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeesToPlace/employee_ids)","time":{"start":1777904003256,"stop":1777904003280,"duration":24},"status":"passed","steps":[],"attachments":[{"uid":"f67bcb8feda6a80b","name":"RuntimeError: addEmployeesToPlace","source":"f67bcb8feda6a80b.txt","type":"text/plain","size":307}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeesToPlaces/dto)","time":{"start":1777904003280,"stop":1777904003305,"duration":25},"status":"passed","steps":[],"attachments":[{"uid":"97c7328682257ffe","name":"RuntimeError: addEmployeesToPlaces","source":"97c7328682257ffe.txt","type":"text/plain","size":308}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeesToPlaces/args)","time":{"start":1777904003305,"stop":1777904003330,"duration":25},"status":"passed","steps":[],"attachments":[{"uid":"d53530abcf9b1db1","name":"RuntimeError: addEmployeesToPlaces","source":"d53530abcf9b1db1.txt","type":"text/plain","size":308}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeesToPlaces/employee_ids)","time":{"start":1777904003330,"stop":1777904003354,"duration":24},"status":"passed","steps":[],"attachments":[{"uid":"f5b99b66785a2b4","name":"RuntimeError: addEmployeesToPlaces","source":"f5b99b66785a2b4.txt","type":"text/plain","size":308}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":20,"attachmentStep":false,"stepsCount":20,"hasContent":true},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777904003356,"stop":1777904003534,"duration":178},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777904003534,"stop":1777904003697,"duration":163},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777904003697,"stop":1777904003903,"duration":206},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777904003903,"stop":1777904003954,"duration":51},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777904003954,"stop":1777904004010,"duration":56},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777904004010,"stop":1777904004072,"duration":62},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When apply setUserPlaces for worker to first three places with trusted privilege","time":{"start":1777904004073,"stop":1777904004073,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And query places by worker member filter","time":{"start":1777904004073,"stop":1777904004073,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then worker is in first three places with accepted trusted and absent in fourth place","time":{"start":1777904004073,"stop":1777904004073,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":20,"attachmentStep":false,"stepsCount":31,"hasContent":true},"afterStages":[],"labels":[{"name":"severity","value":"normal"},{"name":"feature","value":"Pass requests"},{"name":"framework","value":"behave"},{"name":"language","value":"cpython3"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"4ebb0e5b22b86545.json","parameterValues":[]}