Noob_test/allure-results/d7b68937-1eea-4bf8-9a42-2dd127e80270-result.json
2026-05-15 11:34:24 +03:00

1 line
22 KiB
JSON

{"name": "Pass request approval requires two confirmations", "status": "failed", "statusDetails": {"message": "AssertionError: passRequests не вернул results за 40s. Последний ответ: {'data': {'passRequests': {'results': []}}}\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 31, in step_query_pass_requests_my_token\n resp = td.wait_for_pass_request(token=token, pass_id=getattr(context, \"pass_id\", None))\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1518, in wait_for_pass_request\n raise AssertionError(f\"passRequests не вернул results за {timeout_s:.0f}s. Последний ответ: {last_resp!r}\")\n"}, "steps": [{"name": "When get access token", "status": "passed", "start": 1777978511386, "stop": 1777978512758}, {"name": "And prepare nested places and employees for pass request approval flow", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (passreq-place-1, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "000f7423-d6ff-4611-ab52-67897705fc64-attachment.json", "type": "application/json"}], "start": 1777978512760, "stop": 1777978512816}, {"name": "GraphQL: createPlaceMultiple (passreq-place-2, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "3d7e8d2e-b5bb-44aa-8460-65a5f4e3e088-attachment.json", "type": "application/json"}], "start": 1777978512816, "stop": 1777978512865}, {"name": "GraphQL: createPlaceMultiple (passreq-place-3, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "0fdbe37d-77f2-4d2f-9464-9a79ebc2db7d-attachment.json", "type": "application/json"}], "start": 1777978512865, "stop": 1777978512917}, {"name": "GraphQL: createEntrance(RegisterEntranceDTO)", "status": "passed", "attachments": [{"name": "createEntrance response", "source": "bbc599d4-4655-42b3-9363-49a165f04d5f-attachment.json", "type": "application/json"}], "start": 1777978512917, "stop": 1777978512973}, {"name": "GraphQL: createUser (place member)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "4f936100-64ca-4d94-aee8-f3597d55b590-attachment.json", "type": "application/json"}], "start": 1777978512973, "stop": 1777978513036}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f9cc90c15e6311636d8d89)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "3637b508-5801-46b7-8ac3-bb4fb37f74db-attachment.json", "type": "application/json"}], "start": 1777978513037, "stop": 1777978513117}, {"name": "GraphQL: createUser (place member)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "cdc53717-89a5-4711-b830-b1741e7288ae-attachment.json", "type": "application/json"}], "start": 1777978513117, "stop": 1777978513172}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f9cc9032367dfb4b45a933)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "42060787-8fa6-4baf-87d4-09cc695510a3-attachment.json", "type": "application/json"}], "start": 1777978513172, "stop": 1777978513252}, {"name": "GraphQL: createUser (place member)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "a8f00067-1864-4f92-a1b4-d4478b9ba828-attachment.json", "type": "application/json"}], "start": 1777978513252, "stop": 1777978513314}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f9cc91037d44249d0d1839)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "68829ace-51c3-4b50-b9ed-9498695cac3f-attachment.json", "type": "application/json"}], "start": 1777978513314, "stop": 1777978513400}, {"name": "GraphQL: createUser (new approver)", "status": "passed", "attachments": [{"name": "createUser(new approver) response", "source": "dc897b57-b404-40cf-81a8-75c2bb39bc16-attachment.json", "type": "application/json"}], "start": 1777978513401, "stop": 1777978513570}, {"name": "Auth: get access_token for new approver", "status": "passed", "start": 1777978513570, "stop": 1777978515082}, {"name": "GraphQL: addEmployee (new approver with passRequests attrs)", "status": "passed", "attachments": [{"name": "addEmployee(new approver) response", "source": "e428171f-f840-45ef-a943-4bc0a82f96b8-attachment.json", "type": "application/json"}], "start": 1777978515082, "stop": 1777978515125}], "start": 1777978512758, "stop": 1777978515127}, {"name": "And create pass in place #3 for approval flow", "status": "passed", "steps": [{"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "da3323bd-c00b-4bff-a12b-4ae16c6bbb00-attachment.json", "type": "application/json"}], "start": 1777978515127, "stop": 1777978515174}, {"name": "GraphQL: addPlaceToService", "status": "passed", "attachments": [{"name": "addPlaceToService response", "source": "a80296b0-beb9-4084-93d9-660e06798503-attachment.json", "type": "application/json"}], "start": 1777978515174, "stop": 1777978515225}, {"name": "GraphQL: createUser (for pass target)", "status": "passed", "attachments": [{"name": "createUser response", "source": "c14c6675-3262-489d-b971-56579c435728-attachment.json", "type": "application/json"}], "start": 1777978515225, "stop": 1777978515300}, {"name": "GraphQL: addUserToPlace (attach user to pass place)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "87e7f6a9-e6df-47de-8022-25f421f1ea97-attachment.json", "type": "application/json"}], "start": 1777978515300, "stop": 1777978515392}, {"name": "GraphQL: createPass (variant 1)", "status": "passed", "attachments": [{"name": "createPass(v1) response", "source": "5e83dab0-2cd2-4522-a6bf-a910fffdeb05-attachment.json", "type": "application/json"}], "start": 1777978515392, "stop": 1777978515641}], "start": 1777978515127, "stop": 1777978515641}, {"name": "When query passRequests by created pass_id with my token", "status": "failed", "statusDetails": {"message": "AssertionError: passRequests не вернул results за 40s. Последний ответ: {'data': {'passRequests': {'results': []}}}\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 31, in step_query_pass_requests_my_token\n resp = td.wait_for_pass_request(token=token, pass_id=getattr(context, \"pass_id\", None))\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1518, in wait_for_pass_request\n raise AssertionError(f\"passRequests не вернул results за {timeout_s:.0f}s. Последний ответ: {last_resp!r}\")\n"}, "steps": [{"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5bc40176-475d-4e19-baba-81ea08e28ca8-attachment.json", "type": "application/json"}], "start": 1777978515643, "stop": 1777978515703}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b357d829-4eac-478a-b302-d0098eb5113a-attachment.json", "type": "application/json"}], "start": 1777978516703, "stop": 1777978516754}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b338f9d6-5cac-4348-b785-bedbb9577153-attachment.json", "type": "application/json"}], "start": 1777978517754, "stop": 1777978517805}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "19dcec7d-38ca-4204-9cb2-c07780268151-attachment.json", "type": "application/json"}], "start": 1777978518805, "stop": 1777978518851}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "4150250f-3d8d-4289-ad73-be76c9ba0811-attachment.json", "type": "application/json"}], "start": 1777978519851, "stop": 1777978519901}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "19f22b61-c75f-422e-9baf-bf1cacb89b7d-attachment.json", "type": "application/json"}], "start": 1777978520901, "stop": 1777978520948}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "10f70503-da88-4ff3-8a1d-a27284cbf4e2-attachment.json", "type": "application/json"}], "start": 1777978521949, "stop": 1777978522008}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "dc14f882-9699-4828-87f3-5dc3a542da08-attachment.json", "type": "application/json"}], "start": 1777978523008, "stop": 1777978523060}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "a01b7e0a-d870-4c22-a028-d59e6e428968-attachment.json", "type": "application/json"}], "start": 1777978524061, "stop": 1777978524112}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d21409b1-6a1e-4c72-bdc9-b342dc4069d5-attachment.json", "type": "application/json"}], "start": 1777978525112, "stop": 1777978525159}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "64ed1e2a-784d-4a4c-b40c-d6bb597c07b9-attachment.json", "type": "application/json"}], "start": 1777978526159, "stop": 1777978526206}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "36063a2e-e9c5-40e0-acad-24bf02416815-attachment.json", "type": "application/json"}], "start": 1777978527206, "stop": 1777978527258}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d8ec220d-78c4-42bf-bd27-8e6547ff118b-attachment.json", "type": "application/json"}], "start": 1777978528259, "stop": 1777978528309}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "73011052-8a6b-4f47-8108-b212bb3edd86-attachment.json", "type": "application/json"}], "start": 1777978529310, "stop": 1777978529363}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "74f6b352-1fbb-4208-b772-82e8d898eb62-attachment.json", "type": "application/json"}], "start": 1777978530363, "stop": 1777978530426}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "64380a02-b18e-47cc-a929-6c3903c6ab85-attachment.json", "type": "application/json"}], "start": 1777978531426, "stop": 1777978531480}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "20960a36-43ad-4e56-b710-9834e07f07e4-attachment.json", "type": "application/json"}], "start": 1777978532481, "stop": 1777978532544}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "1568f9a2-2812-483d-90f5-2405bb64d63f-attachment.json", "type": "application/json"}], "start": 1777978533544, "stop": 1777978533596}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "448f6528-96b7-484e-b760-55ed641a0aeb-attachment.json", "type": "application/json"}], "start": 1777978534596, "stop": 1777978534644}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ff8e0cff-a473-4f80-b5c9-c7d4a43d8fec-attachment.json", "type": "application/json"}], "start": 1777978535645, "stop": 1777978535694}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "608e67f8-9aa8-4374-bda5-a0254cc11f75-attachment.json", "type": "application/json"}], "start": 1777978536695, "stop": 1777978536747}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "707ee1c3-6ec4-4b25-a8d2-19c1500ee299-attachment.json", "type": "application/json"}], "start": 1777978537748, "stop": 1777978537813}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "cebbde74-b100-4e82-ba38-019c92064fc6-attachment.json", "type": "application/json"}], "start": 1777978538814, "stop": 1777978538865}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ecaf325f-fa2e-4a7a-b498-fb5f998cbc03-attachment.json", "type": "application/json"}], "start": 1777978539865, "stop": 1777978539918}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "a5dd18d2-828a-4b15-8ce3-d4cf093bb28c-attachment.json", "type": "application/json"}], "start": 1777978540919, "stop": 1777978540967}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "dd668dd7-9c67-4d1a-9c8b-60b1284f4642-attachment.json", "type": "application/json"}], "start": 1777978541968, "stop": 1777978542024}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "f3ef3c72-15e6-4981-aa94-5f9956a779e3-attachment.json", "type": "application/json"}], "start": 1777978543028, "stop": 1777978543114}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "dd3a12d2-42a9-497b-9a8b-d91ae23e6315-attachment.json", "type": "application/json"}], "start": 1777978544115, "stop": 1777978544167}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "54da38d3-b043-430c-af93-82263b888253-attachment.json", "type": "application/json"}], "start": 1777978545168, "stop": 1777978545216}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ad7478e0-c9f9-485a-b00b-917e11d42c11-attachment.json", "type": "application/json"}], "start": 1777978546217, "stop": 1777978546266}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "aab59bb9-787d-4c24-acc8-dfb908af860b-attachment.json", "type": "application/json"}], "start": 1777978547267, "stop": 1777978547325}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "08fa134c-6820-415b-9b52-6c8e18674941-attachment.json", "type": "application/json"}], "start": 1777978548326, "stop": 1777978548395}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ebdf8022-967a-44b8-b755-81eaa68e92e7-attachment.json", "type": "application/json"}], "start": 1777978549395, "stop": 1777978549445}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ecc247c4-9afe-4b54-b618-0a4adaa96638-attachment.json", "type": "application/json"}], "start": 1777978550446, "stop": 1777978550528}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "21f84331-8c8b-41e5-b532-1383ad0abc2e-attachment.json", "type": "application/json"}], "start": 1777978551529, "stop": 1777978551594}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "8fd56678-9c36-43d8-a1a6-c2bd4b4bc9fb-attachment.json", "type": "application/json"}], "start": 1777978552595, "stop": 1777978552653}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "14e2f0be-1a32-4f5a-b419-1958cd59add0-attachment.json", "type": "application/json"}], "start": 1777978553655, "stop": 1777978553718}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d8e510e9-9a02-4ea0-8323-3729d7e3e1ec-attachment.json", "type": "application/json"}], "start": 1777978554718, "stop": 1777978554765}], "start": 1777978515642, "stop": 1777978555767}, {"name": "Cleanup: _cleanup_delete_pass", "status": "broken", "statusDetails": {"message": "RuntimeError: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Unknown argument \\\"id\\\" on field \\\"Mutation.deletePass\\\".\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"},{\"message\":\"Field \\\"deletePass\\\" argument \\\"pass_id\\\" of type \\\"String!\\\" is required, but it was not provided.\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"}]}\n\n", "trace": " File \"Pass_request\\features\\environment.py\", line 51, in after_scenario\n fn()\n ~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1470, in _cleanup_delete_pass\n _exec_or_fail(op_name=\"deletePass\", token=token, query=delete_mutation, variables={\"id\": pass_id}, company_id=self.company_id)\n ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 35, in _exec_or_fail\n return execute_graphql(\n query=query,\n ...<2 lines>...\n access_token=token,\n )\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\worklib\\graphql_client.py\", line 288, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n"}, "attachments": [{"name": "RuntimeError: deletePass", "source": "9ab89b86-6516-4cf7-8f48-5ed091545f92-attachment.txt", "type": "text/plain"}], "start": 1777978555768, "stop": 1777978555813}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777978555817, "stop": 1777978557506}, {"name": "Cleanup: _cleanup_unbind_and_delete_service", "status": "passed", "start": 1777978557506, "stop": 1777978557614}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777978557614, "stop": 1777978557829}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777978557829, "stop": 1777978558038}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777978558038, "stop": 1777978558247}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777978558247, "stop": 1777978558456}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777978558456, "stop": 1777978558523}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777978558523, "stop": 1777978558591}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777978558591, "stop": 1777978558663}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1777978558665, "stop": 1777978558665}, {"name": "When approve pass request with my token", "status": "skipped", "start": 1777978558665, "stop": 1777978558665}, {"name": "And re-query passRequests by created pass_id with my token", "status": "skipped", "start": 1777978558665, "stop": 1777978558665}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1777978558665, "stop": 1777978558665}, {"name": "When approve pass request with new employee token", "status": "skipped", "start": 1777978558665, "stop": 1777978558665}, {"name": "And query passRequests by created pass_id with new employee token", "status": "skipped", "start": 1777978558665, "stop": 1777978558665}, {"name": "Then pass request status is active", "status": "skipped", "start": 1777978558665, "stop": 1777978558665}], "attachments": [{"name": "Cleanup error", "source": "16a9ca54-0b6b-4a2c-8cd5-7d57ac9eac17-attachment.txt", "type": "text/plain"}], "start": 1777978511385, "stop": 1777978558665, "uuid": "6cb1cb48-2943-4e97-9fdd-38e4f539f39f", "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"]}