{"name": "setUserPlaces moves worker to first three places with trusted privilege", "status": "failed", "statusDetails": {"message": "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", "trace": " 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 72, 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 959, 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 493, in _attach_employee_to_place\n raise AssertionError(f\"Не удалось прикрепить employee к place. Попробовали: {attempts}. Последняя ошибка: {last_error}\")\n"}, "steps": [{"name": "When get access token", "status": "passed", "start": 1777894661516, "stop": 1777894661659}, {"name": "And prepare four places and worker for setUserPlaces flow", "status": "failed", "statusDetails": {"message": "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", "trace": " 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 72, 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 959, 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 493, in _attach_employee_to_place\n raise AssertionError(f\"Не удалось прикрепить employee к place. Попробовали: {attempts}. Последняя ошибка: {last_error}\")\n"}, "steps": [{"name": "GraphQL: createPlaceMultiple (setuserplaces-1, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "c4aaf600-b61a-4cd2-b04b-0965c4dc2a37-attachment.json", "type": "application/json"}], "start": 1777894661661, "stop": 1777894661704}, {"name": "GraphQL: createPlaceMultiple (setuserplaces-2, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "ed2339e2-36fa-402a-9185-20b90c137e1d-attachment.json", "type": "application/json"}], "start": 1777894661704, "stop": 1777894661746}, {"name": "GraphQL: createPlaceMultiple (setuserplaces-3, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "b528ee0d-53be-451e-9c7b-7b6f57ad8c39-attachment.json", "type": "application/json"}], "start": 1777894661746, "stop": 1777894661787}, {"name": "GraphQL: createPlaceMultiple (setuserplaces-4, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "5d95a000-6878-4a0c-af98-bb8ace0f5c61-attachment.json", "type": "application/json"}], "start": 1777894661787, "stop": 1777894661846}, {"name": "GraphQL: createUser (set user)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "a2ebc667-87d4-4443-a1fb-edf5a6489024-attachment.json", "type": "application/json"}], "start": 1777894661846, "stop": 1777894661897}, {"name": "GraphQL: createUser (set worker)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "e1b8d01c-c69e-4048-a7d5-639ecad0cc80-attachment.json", "type": "application/json"}], "start": 1777894661897, "stop": 1777894661962}, {"name": "GraphQL: addEmployee (generic)", "status": "passed", "attachments": [{"name": "addEmployee(generic) response", "source": "007e1a83-b4a6-4f87-bfb2-c08279874e00-attachment.json", "type": "application/json"}], "start": 1777894661962, "stop": 1777894661996}, {"name": "GraphQL: setUserPlaces (dto-variable)", "status": "passed", "attachments": [{"name": "setUserPlaces response", "source": "218e62f1-ca13-4595-949d-15b447f51ce5-attachment.json", "type": "application/json"}], "start": 1777894661996, "stop": 1777894662392}, {"name": "GraphQL: attach employee to place (addEmployeeToPlace/dto)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeeToPlace", "source": "7e76ba2d-1310-49fc-946e-b2a77169e95f-attachment.txt", "type": "text/plain"}], "start": 1777894662420, "stop": 1777894662450}, {"name": "GraphQL: attach employee to place (addEmployeeToPlace/args)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeeToPlace", "source": "43824ca1-440f-4c3b-bb9b-7d9643a3e23e-attachment.txt", "type": "text/plain"}], "start": 1777894662450, "stop": 1777894662478}, {"name": "GraphQL: attach employee to place (addEmployeeToPlace/employee_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeeToPlace", "source": "677267b0-ead2-4733-8722-29122c087b59-attachment.txt", "type": "text/plain"}], "start": 1777894662478, "stop": 1777894662501}, {"name": "GraphQL: attach employee to place (attachEmployeeToPlace/dto)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEmployeeToPlace", "source": "282195ca-c889-49cb-a3a2-1fe14bc4685f-attachment.txt", "type": "text/plain"}], "start": 1777894662502, "stop": 1777894662546}, {"name": "GraphQL: attach employee to place (attachEmployeeToPlace/args)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEmployeeToPlace", "source": "a4e94357-5a07-4a33-8327-8dbe1c363fa4-attachment.txt", "type": "text/plain"}], "start": 1777894662546, "stop": 1777894662568}, {"name": "GraphQL: attach employee to place (attachEmployeeToPlace/employee_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEmployeeToPlace", "source": "962f2ccb-697f-496a-a313-b2fc9d1c00ba-attachment.txt", "type": "text/plain"}], "start": 1777894662568, "stop": 1777894662592}, {"name": "GraphQL: attach employee to place (addEmployeesToPlace/dto)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlace", "source": "7181557e-4a2c-4538-9984-c0aaa968c12f-attachment.txt", "type": "text/plain"}], "start": 1777894662592, "stop": 1777894662620}, {"name": "GraphQL: attach employee to place (addEmployeesToPlace/args)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlace", "source": "ddbc0fad-0043-4ae3-bf47-fac2635f7196-attachment.txt", "type": "text/plain"}], "start": 1777894662620, "stop": 1777894662645}, {"name": "GraphQL: attach employee to place (addEmployeesToPlace/employee_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlace", "source": "2340851c-8400-41ff-b733-eda3ad3356a5-attachment.txt", "type": "text/plain"}], "start": 1777894662645, "stop": 1777894662672}, {"name": "GraphQL: attach employee to place (addEmployeesToPlaces/dto)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlaces", "source": "7fb9be8c-a4f7-454e-9bfa-eada1eaa7d06-attachment.txt", "type": "text/plain"}], "start": 1777894662672, "stop": 1777894662703}, {"name": "GraphQL: attach employee to place (addEmployeesToPlaces/args)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlaces", "source": "b25dd4ef-4d40-4138-b6d5-987f85d5d74d-attachment.txt", "type": "text/plain"}], "start": 1777894662703, "stop": 1777894662730}, {"name": "GraphQL: attach employee to place (addEmployeesToPlaces/employee_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlaces", "source": "b919980f-b68b-4c5e-9ee7-41300fcf1c4e-attachment.txt", "type": "text/plain"}], "start": 1777894662730, "stop": 1777894662755}], "start": 1777894661659, "stop": 1777894662757}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777894662758, "stop": 1777894662964}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777894662964, "stop": 1777894663120}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777894663120, "stop": 1777894663273}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777894663273, "stop": 1777894663330}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777894663330, "stop": 1777894663433}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777894663433, "stop": 1777894663490}, {"name": "When apply setUserPlaces for worker to first three places with trusted privilege", "status": "skipped", "start": 1777894663493, "stop": 1777894663493}, {"name": "And query places by worker member filter", "status": "skipped", "start": 1777894663493, "stop": 1777894663493}, {"name": "Then worker is in first three places with accepted trusted and absent in fourth place", "status": "skipped", "start": 1777894663493, "stop": 1777894663493}], "start": 1777894661514, "stop": 1777894663493, "uuid": "4b99b381-4ecd-41be-a4d4-9d0432305944", "historyId": "30c7842eb5c842b406c44d94a2de3901", "testCaseId": "91cd5bec79e35c6aeb792e72df094e86", "fullName": "Pass requests: setUserPlaces moves worker to first three places with trusted privilege", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "Pass requests"}, {"name": "framework", "value": "behave"}, {"name": "language", "value": "cpython3"}], "titlePath": ["Pass_request", "features", "Pass requests"]}