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 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": 1777894411825, "stop": 1777894411946}, {"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": "790c46d8-2b1b-4f9a-9306-1d13757703c8-attachment.json", "type": "application/json"}], "start": 1777894411947, "stop": 1777894411991}, {"name": "GraphQL: createPlaceMultiple (setuserplaces-2, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "de7c43c9-47d0-4292-af91-d2f10257e79c-attachment.json", "type": "application/json"}], "start": 1777894411991, "stop": 1777894412061}, {"name": "GraphQL: createPlaceMultiple (setuserplaces-3, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "2413c1eb-88cf-46cd-b027-36e626238d0a-attachment.json", "type": "application/json"}], "start": 1777894412061, "stop": 1777894412144}, {"name": "GraphQL: createPlaceMultiple (setuserplaces-4, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "e4f00f72-24e6-4d05-9b67-9ee67802da39-attachment.json", "type": "application/json"}], "start": 1777894412144, "stop": 1777894412202}, {"name": "GraphQL: createUser (set user)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "0efbfde9-1b4f-4aa0-9d33-2fcfda8da00a-attachment.json", "type": "application/json"}], "start": 1777894412202, "stop": 1777894412243}, {"name": "GraphQL: createUser (set worker)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "bc4bcc19-62ab-47d5-ac9d-5453af9c965a-attachment.json", "type": "application/json"}], "start": 1777894412243, "stop": 1777894412288}, {"name": "GraphQL: addEmployee (generic)", "status": "passed", "attachments": [{"name": "addEmployee(generic) response", "source": "567e2dbc-0d7b-4042-8ace-3a583fa09faf-attachment.json", "type": "application/json"}], "start": 1777894412288, "stop": 1777894412347}, {"name": "GraphQL: setUserPlaces (dto-variable)", "status": "passed", "attachments": [{"name": "setUserPlaces response", "source": "c54439e4-b260-4b19-a43e-922de74f875f-attachment.json", "type": "application/json"}], "start": 1777894412347, "stop": 1777894412749}, {"name": "GraphQL: attach employee to place (addEmployeeToPlace/dto)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeeToPlace", "source": "5b291893-04a2-430a-8c6f-17781d783ce1-attachment.txt", "type": "text/plain"}], "start": 1777894412784, "stop": 1777894412827}, {"name": "GraphQL: attach employee to place (addEmployeeToPlace/args)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeeToPlace", "source": "58e271ec-4362-4145-89d7-ed9ec7fd99c8-attachment.txt", "type": "text/plain"}], "start": 1777894412827, "stop": 1777894412864}, {"name": "GraphQL: attach employee to place (addEmployeeToPlace/employee_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeeToPlace", "source": "1e4aff07-477a-4f28-b477-90ba4c02b4a9-attachment.txt", "type": "text/plain"}], "start": 1777894412864, "stop": 1777894412898}, {"name": "GraphQL: attach employee to place (attachEmployeeToPlace/dto)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEmployeeToPlace", "source": "62a52cc2-3c6a-4992-96db-f952a5b7dabe-attachment.txt", "type": "text/plain"}], "start": 1777894412898, "stop": 1777894412928}, {"name": "GraphQL: attach employee to place (attachEmployeeToPlace/args)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEmployeeToPlace", "source": "725ee9b8-5cb7-459e-85b3-4a2d9f4f3b33-attachment.txt", "type": "text/plain"}], "start": 1777894412928, "stop": 1777894412955}, {"name": "GraphQL: attach employee to place (attachEmployeeToPlace/employee_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEmployeeToPlace", "source": "3653e647-9d2a-4169-87f0-d596a58dca2e-attachment.txt", "type": "text/plain"}], "start": 1777894412955, "stop": 1777894412983}, {"name": "GraphQL: attach employee to place (addEmployeesToPlace/dto)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlace", "source": "5d54a112-effc-44b5-9f2b-d250a484df87-attachment.txt", "type": "text/plain"}], "start": 1777894412983, "stop": 1777894413007}, {"name": "GraphQL: attach employee to place (addEmployeesToPlace/args)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlace", "source": "47122525-0c82-4ea7-8427-b44f38185a61-attachment.txt", "type": "text/plain"}], "start": 1777894413007, "stop": 1777894413044}, {"name": "GraphQL: attach employee to place (addEmployeesToPlace/employee_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlace", "source": "069dd767-fd94-4c3f-8e3e-86a544de512c-attachment.txt", "type": "text/plain"}], "start": 1777894413044, "stop": 1777894413072}, {"name": "GraphQL: attach employee to place (addEmployeesToPlaces/dto)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlaces", "source": "244b3e0e-b019-4638-9b72-d2cf2fa5c31e-attachment.txt", "type": "text/plain"}], "start": 1777894413072, "stop": 1777894413096}, {"name": "GraphQL: attach employee to place (addEmployeesToPlaces/args)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlaces", "source": "63b4af10-b4a8-437e-992e-c8da752b9c18-attachment.txt", "type": "text/plain"}], "start": 1777894413096, "stop": 1777894413140}, {"name": "GraphQL: attach employee to place (addEmployeesToPlaces/employee_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEmployeesToPlaces", "source": "c06595df-031e-4748-83bd-039751ca6d03-attachment.txt", "type": "text/plain"}], "start": 1777894413140, "stop": 1777894413163}], "start": 1777894411946, "stop": 1777894413165}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777894413166, "stop": 1777894413384}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777894413384, "stop": 1777894413595}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777894413595, "stop": 1777894413774}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777894413774, "stop": 1777894413830}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777894413830, "stop": 1777894413895}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777894413895, "stop": 1777894413959}, {"name": "When apply setUserPlaces for worker to first three places with trusted privilege", "status": "skipped", "start": 1777894413961, "stop": 1777894413961}, {"name": "And query places by worker member filter", "status": "skipped", "start": 1777894413961, "stop": 1777894413961}, {"name": "Then worker is in first three places with accepted trusted and absent in fourth place", "status": "skipped", "start": 1777894413961, "stop": 1777894413961}], "start": 1777894411824, "stop": 1777894413961, "uuid": "f33ae31c-0e75-40a1-b1b1-a6dcc31b72a6", "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"]} |