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": 1777904186504, "stop": 1777904186627}, {"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": "53903b8e-9482-4f99-b039-97e6b6ad85d5-attachment.json", "type": "application/json"}], "start": 1777904186629, "stop": 1777904186677}, {"name": "GraphQL: createPlaceMultiple (passreq-place-2, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "dd53fa63-99f9-4ecb-a308-ed026886fd6d-attachment.json", "type": "application/json"}], "start": 1777904186677, "stop": 1777904186714}, {"name": "GraphQL: createPlaceMultiple (passreq-place-3, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "1aeae179-ccad-4ae9-aaa1-875eb969774b-attachment.json", "type": "application/json"}], "start": 1777904186714, "stop": 1777904186755}, {"name": "GraphQL: get my account id (me)", "status": "passed", "start": 1777904186755, "stop": 1777904186779}, {"name": "GraphQL: get my account id (account)", "status": "passed", "start": 1777904186779, "stop": 1777904186813}, {"name": "GraphQL: get my account id (viewer)", "status": "passed", "start": 1777904186813, "stop": 1777904186845}, {"name": "GraphQL: get my account id (profile.account)", "status": "passed", "start": 1777904186845, "stop": 1777904186870}], "start": 1777904186628, "stop": 1777904186872}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904186872, "stop": 1777904186933}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904186933, "stop": 1777904187027}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904187027, "stop": 1777904187083}, {"name": "And create pass in place #3 for approval flow", "status": "skipped", "start": 1777904187085, "stop": 1777904187085}, {"name": "When query passRequests by created pass_id with my token", "status": "skipped", "start": 1777904187085, "stop": 1777904187085}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1777904187085, "stop": 1777904187085}, {"name": "When approve pass request with my token", "status": "skipped", "start": 1777904187085, "stop": 1777904187085}, {"name": "And re-query passRequests by created pass_id with my token", "status": "skipped", "start": 1777904187085, "stop": 1777904187085}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1777904187085, "stop": 1777904187085}, {"name": "When approve pass request with new employee token", "status": "skipped", "start": 1777904187085, "stop": 1777904187085}, {"name": "And query passRequests by created pass_id with new employee token", "status": "skipped", "start": 1777904187085, "stop": 1777904187085}, {"name": "Then pass request status is active", "status": "skipped", "start": 1777904187085, "stop": 1777904187085}], "start": 1777904186503, "stop": 1777904187085, "uuid": "f330ce19-d4d7-40c3-9b3a-c1f06d0fa11d", "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"]} |