{"name": "Pass request rejection prevents activation even with second confirmation", "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": 1777904275468, "stop": 1777904275598}, {"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": "aa76c68a-927f-4d2f-a548-ff913740901f-attachment.json", "type": "application/json"}], "start": 1777904275599, "stop": 1777904275648}, {"name": "GraphQL: createPlaceMultiple (passreq-place-2, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "3b2d2c91-9a28-4a4a-90a8-9f6985d9d57e-attachment.json", "type": "application/json"}], "start": 1777904275648, "stop": 1777904275693}, {"name": "GraphQL: createPlaceMultiple (passreq-place-3, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "d63af5b0-204a-48a1-ae6d-2a5808afc807-attachment.json", "type": "application/json"}], "start": 1777904275693, "stop": 1777904275736}, {"name": "GraphQL: get my account id (me)", "status": "passed", "start": 1777904275736, "stop": 1777904275764}, {"name": "GraphQL: get my account id (account)", "status": "passed", "start": 1777904275764, "stop": 1777904275786}, {"name": "GraphQL: get my account id (viewer)", "status": "passed", "start": 1777904275786, "stop": 1777904275810}, {"name": "GraphQL: get my account id (profile.account)", "status": "passed", "start": 1777904275810, "stop": 1777904275843}], "start": 1777904275598, "stop": 1777904275844}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904275845, "stop": 1777904275905}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904275905, "stop": 1777904275958}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904275958, "stop": 1777904276018}, {"name": "And create pass in place #3 for approval flow", "status": "skipped", "start": 1777904276020, "stop": 1777904276020}, {"name": "When query passRequests by created pass_id with my token", "status": "skipped", "start": 1777904276020, "stop": 1777904276020}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1777904276020, "stop": 1777904276020}, {"name": "When reject pass request with my token", "status": "skipped", "start": 1777904276020, "stop": 1777904276020}, {"name": "And re-query passRequests by created pass_id with my token", "status": "skipped", "start": 1777904276020, "stop": 1777904276020}, {"name": "Then pass request status is not active", "status": "skipped", "start": 1777904276020, "stop": 1777904276020}, {"name": "When approve pass request with new employee token", "status": "skipped", "start": 1777904276020, "stop": 1777904276020}, {"name": "And query passRequests by created pass_id with new employee token", "status": "skipped", "start": 1777904276020, "stop": 1777904276020}, {"name": "Then pass request status is not active", "status": "skipped", "start": 1777904276020, "stop": 1777904276020}], "start": 1777904275466, "stop": 1777904276020, "uuid": "6616a5f8-fac6-4e05-a25a-93f2e9a21dae", "historyId": "d5214a811b3d7cd98d122456dbf59131", "testCaseId": "e6e5289fd68251094ffad43532c84933", "fullName": "Pass requests: Pass request rejection prevents activation even with second confirmation", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "Pass requests"}, {"name": "framework", "value": "behave"}, {"name": "language", "value": "cpython3"}], "titlePath": ["Pass_request", "features", "Pass requests"]}