Noob_test/allure-results/42b2f226-4ecf-41e6-839e-022f65767d0e-result.json
2026-05-15 11:34:24 +03:00

1 line
22 KiB
JSON

{"name": "Pass request rejection prevents activation even with second confirmation", "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 1519, 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": 1778743031502, "stop": 1778743031636}, {"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": "f8896678-4bb8-4d04-bc5e-d0124ca9a951-attachment.json", "type": "application/json"}], "start": 1778743031638, "stop": 1778743031697}, {"name": "GraphQL: createPlaceMultiple (passreq-place-2, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "895248a0-f823-40b0-8974-af168064901a-attachment.json", "type": "application/json"}], "start": 1778743031697, "stop": 1778743031753}, {"name": "GraphQL: createPlaceMultiple (passreq-place-3, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "a6bd7710-728c-497e-9e72-1ec3aeeb7679-attachment.json", "type": "application/json"}], "start": 1778743031754, "stop": 1778743031815}, {"name": "GraphQL: createEntrance(RegisterEntranceDTO)", "status": "passed", "attachments": [{"name": "createEntrance response", "source": "a0bfdad5-b6c3-4c06-a78e-a37146737f19-attachment.json", "type": "application/json"}], "start": 1778743031816, "stop": 1778743031876}, {"name": "GraphQL: createUser (place member)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "a41eb95c-2f47-47ce-97e0-53478a80d032-attachment.json", "type": "application/json"}], "start": 1778743031876, "stop": 1778743031935}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=6a0576f717bb1e0c5fc4e5d7)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "163e7780-910d-4762-8d04-61781c7ae88c-attachment.json", "type": "application/json"}], "start": 1778743031935, "stop": 1778743032019}, {"name": "GraphQL: createUser (place member)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "d5e76d5c-b2fc-4f3a-ae7b-90d5f1091a12-attachment.json", "type": "application/json"}], "start": 1778743032019, "stop": 1778743032106}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=6a0576f732367dfb4b45abe8)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "efef082f-30ce-4092-a24a-26dd99a99edd-attachment.json", "type": "application/json"}], "start": 1778743032106, "stop": 1778743032194}, {"name": "GraphQL: createUser (place member)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "a966a486-c00a-4bec-b85f-9d23e8e8b463-attachment.json", "type": "application/json"}], "start": 1778743032194, "stop": 1778743032256}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=6a0576f7037d44249d0d1b21)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "deeed767-4e14-49e8-a9ff-3d567ee96207-attachment.json", "type": "application/json"}], "start": 1778743032256, "stop": 1778743032333}, {"name": "GraphQL: createUser (new approver)", "status": "passed", "attachments": [{"name": "createUser(new approver) response", "source": "110db0c1-cffa-429c-9935-028c837b6e71-attachment.json", "type": "application/json"}], "start": 1778743032334, "stop": 1778743032528}, {"name": "Auth: get access_token for new approver", "status": "passed", "start": 1778743032528, "stop": 1778743032668}, {"name": "GraphQL: addEmployee (new approver with passRequests attrs)", "status": "passed", "attachments": [{"name": "addEmployee(new approver) response", "source": "34c0a595-8f69-457a-a8a6-8db20b2c929b-attachment.json", "type": "application/json"}], "start": 1778743032668, "stop": 1778743032722}], "start": 1778743031637, "stop": 1778743032724}, {"name": "And create pass in place #3 for approval flow", "status": "passed", "steps": [{"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "1d119c52-edf6-4550-9674-cd7e63b05da8-attachment.json", "type": "application/json"}], "start": 1778743032725, "stop": 1778743032781}, {"name": "GraphQL: addPlaceToService", "status": "passed", "attachments": [{"name": "addPlaceToService response", "source": "1e7cadd1-b330-413e-8804-282166b1dfcf-attachment.json", "type": "application/json"}], "start": 1778743032781, "stop": 1778743032830}, {"name": "GraphQL: createUser (for pass target)", "status": "passed", "attachments": [{"name": "createUser response", "source": "27ac139f-df97-4c0e-a58a-1e734ca0635b-attachment.json", "type": "application/json"}], "start": 1778743032830, "stop": 1778743032890}, {"name": "GraphQL: addUserToPlace (attach user to pass place)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "84610c2b-3d62-4cbd-be39-d3dccb9e0a50-attachment.json", "type": "application/json"}], "start": 1778743032890, "stop": 1778743033154}, {"name": "GraphQL: createPass (variant 1)", "status": "passed", "attachments": [{"name": "createPass(v1) response", "source": "68ed5335-3b7f-46af-90f1-7372b35a1c99-attachment.json", "type": "application/json"}], "start": 1778743033154, "stop": 1778743033384}], "start": 1778743032724, "stop": 1778743033385}, {"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 1519, 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": "f0062e10-32e0-452b-be47-f30e82dd2c8e-attachment.json", "type": "application/json"}], "start": 1778743033386, "stop": 1778743033435}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "a47fbaea-83bb-4f14-a735-0e5921b079bf-attachment.json", "type": "application/json"}], "start": 1778743034435, "stop": 1778743034486}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "23d4fd8f-3464-4e0d-9030-833a477cecb2-attachment.json", "type": "application/json"}], "start": 1778743035487, "stop": 1778743035536}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "beee3cea-242f-4a52-9682-06708a495a31-attachment.json", "type": "application/json"}], "start": 1778743036537, "stop": 1778743036589}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "4a732ff8-8a81-41c6-af84-8cf557a1c002-attachment.json", "type": "application/json"}], "start": 1778743037589, "stop": 1778743037642}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "bcf4013a-98a6-44e7-b7c6-5e494a0cabe0-attachment.json", "type": "application/json"}], "start": 1778743038642, "stop": 1778743038703}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "8844c706-9724-4f2c-9434-dc099d71dc1b-attachment.json", "type": "application/json"}], "start": 1778743039704, "stop": 1778743039750}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "2b69b3ee-ac3c-47ef-a95b-ec7d164db970-attachment.json", "type": "application/json"}], "start": 1778743040750, "stop": 1778743040802}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "66db67d3-c200-4e80-8554-406704dd8105-attachment.json", "type": "application/json"}], "start": 1778743041803, "stop": 1778743041866}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "51a1fca6-54b7-46ea-b464-e051c50da0fa-attachment.json", "type": "application/json"}], "start": 1778743042867, "stop": 1778743042935}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "a2da5471-ea87-4702-8d8f-ce5b9ef2eb0c-attachment.json", "type": "application/json"}], "start": 1778743043935, "stop": 1778743043984}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "6fcfbcbb-adbf-4766-9d12-26267946f62e-attachment.json", "type": "application/json"}], "start": 1778743044984, "stop": 1778743045050}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "855506a7-4a29-442e-b539-49c78d997b59-attachment.json", "type": "application/json"}], "start": 1778743046050, "stop": 1778743046101}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "8db1dd83-c2a0-4da0-b260-c99ec54c2890-attachment.json", "type": "application/json"}], "start": 1778743047101, "stop": 1778743047157}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "916e7375-82a9-4df3-8672-91a8daf729ee-attachment.json", "type": "application/json"}], "start": 1778743048157, "stop": 1778743048302}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "55900441-5ea4-4630-875e-d7a54a294758-attachment.json", "type": "application/json"}], "start": 1778743049302, "stop": 1778743049350}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "e435a582-46fd-4ba0-a847-63042f89411a-attachment.json", "type": "application/json"}], "start": 1778743050350, "stop": 1778743050397}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "81cc0a53-6130-47c6-99e7-6bbad399e9b6-attachment.json", "type": "application/json"}], "start": 1778743051398, "stop": 1778743051446}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b4e8072e-2a1d-4cde-8580-9569b401cc29-attachment.json", "type": "application/json"}], "start": 1778743052446, "stop": 1778743052605}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "1d0945eb-4b76-4051-a235-7ac9cd9fd857-attachment.json", "type": "application/json"}], "start": 1778743053605, "stop": 1778743053657}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "be2bdf79-4e4d-4617-ba9b-f4c7e700e513-attachment.json", "type": "application/json"}], "start": 1778743054658, "stop": 1778743054707}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "2bba4225-5b4e-4bcd-81c7-7ad4402334f4-attachment.json", "type": "application/json"}], "start": 1778743055708, "stop": 1778743055771}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "db0caafd-12a6-4e02-88f5-2fad38b9c7f4-attachment.json", "type": "application/json"}], "start": 1778743056771, "stop": 1778743056822}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "684f0664-d65d-4e7d-a4e2-96c649c748cf-attachment.json", "type": "application/json"}], "start": 1778743057822, "stop": 1778743057879}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ddfd1aa2-a99e-4284-8827-f7f4d71cf36a-attachment.json", "type": "application/json"}], "start": 1778743058879, "stop": 1778743058937}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "699073a4-e817-4267-aea6-be6bf427c62b-attachment.json", "type": "application/json"}], "start": 1778743059937, "stop": 1778743059990}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "37640cdc-3020-4ebe-9253-5e1830604008-attachment.json", "type": "application/json"}], "start": 1778743060991, "stop": 1778743061053}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "c88c2eb5-a309-4f4e-b7ac-c8217b2f3556-attachment.json", "type": "application/json"}], "start": 1778743062054, "stop": 1778743062104}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "16255f76-ba2b-434e-9b14-5b050985812c-attachment.json", "type": "application/json"}], "start": 1778743063104, "stop": 1778743063161}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5eca9e80-76a6-4359-8af0-feb338e010d7-attachment.json", "type": "application/json"}], "start": 1778743064162, "stop": 1778743064209}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "9c0a10fb-a3f7-4e26-a2d8-a8d11af08fd7-attachment.json", "type": "application/json"}], "start": 1778743065209, "stop": 1778743065263}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "0ce60004-9ce5-499d-b577-1cdc650bd4d2-attachment.json", "type": "application/json"}], "start": 1778743066263, "stop": 1778743066314}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "63ea97ec-e3d5-42dd-b8da-4ecef8767bf8-attachment.json", "type": "application/json"}], "start": 1778743067315, "stop": 1778743067374}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b04562d3-b64c-484c-99c0-106e3d202264-attachment.json", "type": "application/json"}], "start": 1778743068374, "stop": 1778743068423}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "60113759-45b0-4fd9-bc6c-13914625e67d-attachment.json", "type": "application/json"}], "start": 1778743069423, "stop": 1778743069473}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "bcccb6e0-b7da-43f1-88e5-e1c364f1926c-attachment.json", "type": "application/json"}], "start": 1778743070473, "stop": 1778743070555}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b501ed4f-2ef1-46bb-bf24-58279d9ca47c-attachment.json", "type": "application/json"}], "start": 1778743071555, "stop": 1778743071608}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5957ba83-cf6e-4cc5-b73f-ff875fca3609-attachment.json", "type": "application/json"}], "start": 1778743072608, "stop": 1778743072664}], "start": 1778743033385, "stop": 1778743073667}, {"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 1471, 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 303, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n"}, "attachments": [{"name": "RuntimeError: deletePass", "source": "2c320c22-2887-42d5-bbf1-b1cd6ba83b09-attachment.txt", "type": "text/plain"}], "start": 1778743073668, "stop": 1778743073709}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778743073713, "stop": 1778743073953}, {"name": "Cleanup: _cleanup_unbind_and_delete_service", "status": "passed", "start": 1778743073953, "stop": 1778743074071}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778743074071, "stop": 1778743074259}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778743074259, "stop": 1778743074437}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778743074437, "stop": 1778743074613}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778743074613, "stop": 1778743074841}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1778743074841, "stop": 1778743074917}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1778743074917, "stop": 1778743074992}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1778743074992, "stop": 1778743075060}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1778743075062, "stop": 1778743075062}, {"name": "When reject pass request with my token", "status": "skipped", "start": 1778743075062, "stop": 1778743075062}, {"name": "And re-query passRequests by created pass_id with my token", "status": "skipped", "start": 1778743075062, "stop": 1778743075062}, {"name": "Then pass request status is not active", "status": "skipped", "start": 1778743075062, "stop": 1778743075062}, {"name": "When approve pass request with new employee token", "status": "skipped", "start": 1778743075062, "stop": 1778743075062}, {"name": "And query passRequests by created pass_id with new employee token", "status": "skipped", "start": 1778743075062, "stop": 1778743075062}, {"name": "Then pass request status is not active", "status": "skipped", "start": 1778743075062, "stop": 1778743075062}], "attachments": [{"name": "Cleanup error", "source": "f1753580-f1c9-4217-8804-70bbb55420d7-attachment.txt", "type": "text/plain"}], "start": 1778743031499, "stop": 1778743075062, "uuid": "a8219cc4-406a-48b6-ae3a-102044202b9b", "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"]}