1 line
7.4 KiB
JSON
1 line
7.4 KiB
JSON
{"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": 1777904187088, "stop": 1777904187259}, {"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": "02904e5d-9649-4ddd-8b56-a3077ee7d3f3-attachment.json", "type": "application/json"}], "start": 1777904187261, "stop": 1777904187302}, {"name": "GraphQL: createPlaceMultiple (passreq-place-2, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "2c20daf3-d78b-4613-b3c9-ea4b3793b1a7-attachment.json", "type": "application/json"}], "start": 1777904187302, "stop": 1777904187341}, {"name": "GraphQL: createPlaceMultiple (passreq-place-3, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "3c54a181-a716-4ffe-9b9c-18891f856259-attachment.json", "type": "application/json"}], "start": 1777904187341, "stop": 1777904187380}, {"name": "GraphQL: get my account id (me)", "status": "passed", "start": 1777904187380, "stop": 1777904187412}, {"name": "GraphQL: get my account id (account)", "status": "passed", "start": 1777904187412, "stop": 1777904187445}, {"name": "GraphQL: get my account id (viewer)", "status": "passed", "start": 1777904187445, "stop": 1777904187463}, {"name": "GraphQL: get my account id (profile.account)", "status": "passed", "start": 1777904187463, "stop": 1777904187496}], "start": 1777904187259, "stop": 1777904187497}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904187498, "stop": 1777904187554}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904187554, "stop": 1777904187611}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904187611, "stop": 1777904187663}, {"name": "And create pass in place #3 for approval flow", "status": "skipped", "start": 1777904187666, "stop": 1777904187666}, {"name": "When query passRequests by created pass_id with my token", "status": "skipped", "start": 1777904187666, "stop": 1777904187666}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1777904187666, "stop": 1777904187666}, {"name": "When reject pass request with my token", "status": "skipped", "start": 1777904187666, "stop": 1777904187666}, {"name": "And re-query passRequests by created pass_id with my token", "status": "skipped", "start": 1777904187666, "stop": 1777904187666}, {"name": "Then pass request status is not active", "status": "skipped", "start": 1777904187666, "stop": 1777904187666}, {"name": "When approve pass request with new employee token", "status": "skipped", "start": 1777904187666, "stop": 1777904187666}, {"name": "And query passRequests by created pass_id with new employee token", "status": "skipped", "start": 1777904187666, "stop": 1777904187666}, {"name": "Then pass request status is not active", "status": "skipped", "start": 1777904187666, "stop": 1777904187666}], "start": 1777904187087, "stop": 1777904187666, "uuid": "580b941e-a607-4f88-96e7-8b85e3683a55", "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"]} |