1 line
12 KiB
JSON
1 line
12 KiB
JSON
{"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 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", "status": "passed", "start": 1777904002151, "stop": 1777904002270}, {"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 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)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "b7e8ac80-174e-48ad-a781-41c95062593d-attachment.json", "type": "application/json"}], "start": 1777904002272, "stop": 1777904002435}, {"name": "GraphQL: createPlaceMultiple (setuserplaces-2, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "f13ec954-9953-45b2-ac56-cd4b2bf93bc2-attachment.json", "type": "application/json"}], "start": 1777904002435, "stop": 1777904002482}, {"name": "GraphQL: createPlaceMultiple (setuserplaces-3, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "488501a3-13f8-4cfb-8e77-4a2f1d166d19-attachment.json", "type": "application/json"}], "start": 1777904002482, "stop": 1777904002523}, {"name": "GraphQL: createPlaceMultiple (setuserplaces-4, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "898d4201-e88b-496e-abab-c1f3f1df2346-attachment.json", "type": "application/json"}], "start": 1777904002523, "stop": 1777904002575}, {"name": "GraphQL: createUser (set user)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "cd2086cd-7447-4fd3-9ed7-7853bd662aae-attachment.json", "type": "application/json"}], "start": 1777904002575, "stop": 1777904002616}, {"name": "GraphQL: createUser (set worker)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "25876f4f-3b69-4608-bfb2-1241002a9d16-attachment.json", "type": "application/json"}], "start": 1777904002616, "stop": 1777904002660}, {"name": "GraphQL: addEmployee (generic)", "status": "passed", "attachments": [{"name": "addEmployee(generic) response", "source": "1452f80b-2a20-41c1-9b25-4116c7af54c5-attachment.json", "type": "application/json"}], "start": 1777904002660, "stop": 1777904002693}, {"name": "GraphQL: setUserPlaces (dto-variable)", "status": "passed", "attachments": [{"name": "setUserPlaces response", "source": "deb56193-d6fd-497d-bb25-aeda5ed036ea-attachment.json", "type": "application/json"}], "start": 1777904002693, "stop": 1777904003016}, {"name": "GraphQL: attach employee to place (addEmployeeToPlace/dto)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeeToPlace", "source": "fe5922a7-30a9-4510-927a-fc3b666a86a9-attachment.txt", "type": "text/plain"}], "start": 1777904003036, "stop": 1777904003063}, {"name": "GraphQL: attach employee to place (addEmployeeToPlace/args)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeeToPlace", "source": "6de8a2b6-739c-4fd4-ae46-bd44b1ecec64-attachment.txt", "type": "text/plain"}], "start": 1777904003063, "stop": 1777904003089}, {"name": "GraphQL: attach employee to place (addEmployeeToPlace/employee_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeeToPlace", "source": "a3aa797a-1033-4716-9dbe-3ef0d5015481-attachment.txt", "type": "text/plain"}], "start": 1777904003089, "stop": 1777904003114}, {"name": "GraphQL: attach employee to place (attachEmployeeToPlace/dto)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEmployeeToPlace", "source": "6c031c88-4d2b-4f0b-94e9-300213a7e969-attachment.txt", "type": "text/plain"}], "start": 1777904003114, "stop": 1777904003137}, {"name": "GraphQL: attach employee to place (attachEmployeeToPlace/args)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEmployeeToPlace", "source": "2e97b391-cae9-4e67-8eba-89cb86735133-attachment.txt", "type": "text/plain"}], "start": 1777904003137, "stop": 1777904003179}, {"name": "GraphQL: attach employee to place (attachEmployeeToPlace/employee_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEmployeeToPlace", "source": "19860250-fdce-4a9f-943b-3eea52bded39-attachment.txt", "type": "text/plain"}], "start": 1777904003179, "stop": 1777904003205}, {"name": "GraphQL: attach employee to place (addEmployeesToPlace/dto)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlace", "source": "c1eefeb5-5b9f-4e32-bab2-99a19fbf5da6-attachment.txt", "type": "text/plain"}], "start": 1777904003205, "stop": 1777904003230}, {"name": "GraphQL: attach employee to place (addEmployeesToPlace/args)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlace", "source": "0c13134f-4485-4805-8083-c4b47d793e33-attachment.txt", "type": "text/plain"}], "start": 1777904003230, "stop": 1777904003256}, {"name": "GraphQL: attach employee to place (addEmployeesToPlace/employee_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlace", "source": "855ced95-5acc-4c9c-b48e-170f2278ef30-attachment.txt", "type": "text/plain"}], "start": 1777904003256, "stop": 1777904003280}, {"name": "GraphQL: attach employee to place (addEmployeesToPlaces/dto)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlaces", "source": "3189404e-75e5-41f0-b58a-f17e33eef6cb-attachment.txt", "type": "text/plain"}], "start": 1777904003280, "stop": 1777904003305}, {"name": "GraphQL: attach employee to place (addEmployeesToPlaces/args)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlaces", "source": "aa6286ed-78e5-41be-96e3-a6121c2b784b-attachment.txt", "type": "text/plain"}], "start": 1777904003305, "stop": 1777904003330}, {"name": "GraphQL: attach employee to place (addEmployeesToPlaces/employee_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlaces", "source": "e14765ff-009b-440c-8292-a2ed2219c12e-attachment.txt", "type": "text/plain"}], "start": 1777904003330, "stop": 1777904003354}], "start": 1777904002270, "stop": 1777904003355}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777904003356, "stop": 1777904003534}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777904003534, "stop": 1777904003697}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904003697, "stop": 1777904003903}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904003903, "stop": 1777904003954}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904003954, "stop": 1777904004010}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904004010, "stop": 1777904004072}, {"name": "When apply setUserPlaces for worker to first three places with trusted privilege", "status": "skipped", "start": 1777904004073, "stop": 1777904004073}, {"name": "And query places by worker member filter", "status": "skipped", "start": 1777904004073, "stop": 1777904004073}, {"name": "Then worker is in first three places with accepted trusted and absent in fourth place", "status": "skipped", "start": 1777904004073, "stop": 1777904004073}], "start": 1777904002150, "stop": 1777904004073, "uuid": "99993ac1-fa9c-479a-b2eb-23cec6a8754d", "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"]} |