1 line
7.3 KiB
JSON
1 line
7.3 KiB
JSON
{"name": "Pass request approval requires two confirmations", "status": "failed", "statusDetails": {"message": "AssertionError: Не удалось определить account_id текущего пользователя (tester). Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Cannot query field \\\"profile\\\" on type \\\"Query\\\".\",\"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_request_approval_steps.py\", line 13, in step_prepare_nested_places_and_employees\n td.prepare_pass_request_approval_flow()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 712, in prepare_pass_request_approval_flow\n self._ensure_place_has_user(place_id=p1)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 339, in _ensure_place_has_user\n my_account_id = self._get_my_account_id()\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 471, in _get_my_account_id\n raise AssertionError(f\"Не удалось определить account_id текущего пользователя (tester). Последняя ошибка: {last_error}\")\n"}, "steps": [{"name": "When get access token", "status": "passed", "start": 1777904274924, "stop": 1777904275058}, {"name": "And prepare nested places and employees for pass request approval flow", "status": "failed", "statusDetails": {"message": "AssertionError: Не удалось определить account_id текущего пользователя (tester). Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Cannot query field \\\"profile\\\" on type \\\"Query\\\".\",\"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_request_approval_steps.py\", line 13, in step_prepare_nested_places_and_employees\n td.prepare_pass_request_approval_flow()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 712, in prepare_pass_request_approval_flow\n self._ensure_place_has_user(place_id=p1)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 339, in _ensure_place_has_user\n my_account_id = self._get_my_account_id()\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 471, in _get_my_account_id\n raise AssertionError(f\"Не удалось определить account_id текущего пользователя (tester). Последняя ошибка: {last_error}\")\n"}, "steps": [{"name": "GraphQL: createPlaceMultiple (passreq-place-1, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "51e9cf7f-983c-431f-8739-4ba8087ca9ea-attachment.json", "type": "application/json"}], "start": 1777904275059, "stop": 1777904275099}, {"name": "GraphQL: createPlaceMultiple (passreq-place-2, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "979af278-1855-40ad-97bb-6809a602a7c3-attachment.json", "type": "application/json"}], "start": 1777904275099, "stop": 1777904275142}, {"name": "GraphQL: createPlaceMultiple (passreq-place-3, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "20329918-a483-4137-ad7f-36d00442b358-attachment.json", "type": "application/json"}], "start": 1777904275143, "stop": 1777904275189}, {"name": "GraphQL: get my account id (me)", "status": "passed", "start": 1777904275189, "stop": 1777904275215}, {"name": "GraphQL: get my account id (account)", "status": "passed", "start": 1777904275215, "stop": 1777904275241}, {"name": "GraphQL: get my account id (viewer)", "status": "passed", "start": 1777904275241, "stop": 1777904275265}, {"name": "GraphQL: get my account id (profile.account)", "status": "passed", "start": 1777904275265, "stop": 1777904275285}], "start": 1777904275058, "stop": 1777904275287}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904275288, "stop": 1777904275342}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904275343, "stop": 1777904275405}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904275405, "stop": 1777904275459}, {"name": "And create pass in place #3 for approval flow", "status": "skipped", "start": 1777904275464, "stop": 1777904275464}, {"name": "When query passRequests by created pass_id with my token", "status": "skipped", "start": 1777904275464, "stop": 1777904275464}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1777904275464, "stop": 1777904275464}, {"name": "When approve pass request with my token", "status": "skipped", "start": 1777904275464, "stop": 1777904275464}, {"name": "And re-query passRequests by created pass_id with my token", "status": "skipped", "start": 1777904275464, "stop": 1777904275464}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1777904275464, "stop": 1777904275464}, {"name": "When approve pass request with new employee token", "status": "skipped", "start": 1777904275464, "stop": 1777904275464}, {"name": "And query passRequests by created pass_id with new employee token", "status": "skipped", "start": 1777904275464, "stop": 1777904275464}, {"name": "Then pass request status is active", "status": "skipped", "start": 1777904275464, "stop": 1777904275464}], "start": 1777904274922, "stop": 1777904275464, "uuid": "52030966-96b6-48c3-8e51-e6cc7c0e76f7", "historyId": "34532a485fee47211dd0b378a7dc503c", "testCaseId": "a55790f192c201485f73bc55e15e278d", "fullName": "Pass requests: Pass request approval requires two confirmations", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "Pass requests"}, {"name": "framework", "value": "behave"}, {"name": "language", "value": "cpython3"}], "titlePath": ["Pass_request", "features", "Pass requests"]} |