Noob_test/allure-results/4b5a8b59-8ed5-4bb6-8bb4-50b125dee954-result.json

1 line
18 KiB
JSON

{"name": "passRequests returns results for created pass", "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_requests_steps.py\", line 29, in step_query_pass_requests\n context.pass_requests_response = td.wait_for_pass_request()\n ~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1487, 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": 1777905690947, "stop": 1777905691253}, {"name": "And prepare place, entrance, service and user for pass", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (main place)", "status": "passed", "attachments": [{"name": "createPlaceMultiple(main) response", "source": "27176d5a-15ac-4dd9-8570-db8eb0237307-attachment.json", "type": "application/json"}], "start": 1777905691256, "stop": 1777905691341}, {"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "b06efbfa-9a76-4030-a164-918ad828bedc-attachment.json", "type": "application/json"}], "start": 1777905691341, "stop": 1777905691375}, {"name": "GraphQL: addPlaceToService", "status": "passed", "attachments": [{"name": "addPlaceToService response", "source": "7e9c85cd-dc7e-44eb-a204-beeefa4a62ff-attachment.json", "type": "application/json"}], "start": 1777905691375, "stop": 1777905691408}, {"name": "GraphQL: createUser (for pass target)", "status": "passed", "attachments": [{"name": "createUser response", "source": "18f484e9-5706-4a3e-9b83-85ff16b67447-attachment.json", "type": "application/json"}], "start": 1777905691409, "stop": 1777905691458}, {"name": "GraphQL: addUserToPlace (attach user to pass place)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "bf7ebbdb-503c-4d19-a830-ba9d1bf7ed1b-attachment.json", "type": "application/json"}], "start": 1777905691458, "stop": 1777905691519}], "start": 1777905691253, "stop": 1777905691519}, {"name": "And create pass for prepared place", "status": "passed", "steps": [{"name": "GraphQL: createEntrance(RegisterEntranceDTO)", "status": "passed", "attachments": [{"name": "RuntimeError: createEntrance", "source": "78e0399b-0e69-4c75-a38c-fb5bce92b318-attachment.txt", "type": "text/plain"}, {"name": "createEntrance failed (best-effort)", "source": "a46a0a31-04f3-408d-a407-0f8f73a39d24-attachment.txt", "type": "text/plain"}], "start": 1777905691521, "stop": 1777905691551}, {"name": "GraphQL: createPass (variant 1)", "status": "passed", "attachments": [{"name": "createPass(v1) response", "source": "6fa9087d-8da0-4bb0-a5f6-735296e189f5-attachment.json", "type": "application/json"}], "start": 1777905691551, "stop": 1777905691751}], "start": 1777905691520, "stop": 1777905691752}, {"name": "When query passRequests by created pass_id", "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_requests_steps.py\", line 29, in step_query_pass_requests\n context.pass_requests_response = td.wait_for_pass_request()\n ~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1487, 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": "e744ad23-a069-4e11-b9a3-2803178df944-attachment.json", "type": "application/json"}], "start": 1777905691753, "stop": 1777905691794}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "4b599b06-779e-4936-b0e9-704baf8e8fe5-attachment.json", "type": "application/json"}], "start": 1777905692794, "stop": 1777905692843}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ec42c488-b03c-449e-a031-a742cc65f107-attachment.json", "type": "application/json"}], "start": 1777905693844, "stop": 1777905693892}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "7277060b-0425-4ed6-b081-c21a4f94d734-attachment.json", "type": "application/json"}], "start": 1777905694892, "stop": 1777905694929}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "70461a58-9bda-4072-9e7f-d6d31f412ee9-attachment.json", "type": "application/json"}], "start": 1777905695929, "stop": 1777905695972}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "903b023f-7bf9-4c26-8ae3-a11b43d0e823-attachment.json", "type": "application/json"}], "start": 1777905696972, "stop": 1777905697031}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "cf05f96b-f80d-4327-b7d9-72157d09ee4e-attachment.json", "type": "application/json"}], "start": 1777905698032, "stop": 1777905698071}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "2d416973-d481-4c07-93d5-3f7f11aca38f-attachment.json", "type": "application/json"}], "start": 1777905699071, "stop": 1777905699120}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "f44de5a1-3268-458a-b569-360bc3daf944-attachment.json", "type": "application/json"}], "start": 1777905700121, "stop": 1777905700165}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "150a4a9c-6833-4e04-893d-616b307954ad-attachment.json", "type": "application/json"}], "start": 1777905701165, "stop": 1777905701219}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "c21ac202-c8da-493a-970f-955a20a518aa-attachment.json", "type": "application/json"}], "start": 1777905702219, "stop": 1777905702265}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "f2f5f0b3-9dde-4a5e-acd4-0eb4ee0c878d-attachment.json", "type": "application/json"}], "start": 1777905703265, "stop": 1777905703302}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "7ee2c98a-5e44-475e-a275-e151cd817675-attachment.json", "type": "application/json"}], "start": 1777905704302, "stop": 1777905704337}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "cd497eb8-2e7e-4e0d-9ef1-b2a88dcde7fe-attachment.json", "type": "application/json"}], "start": 1777905705337, "stop": 1777905705379}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "c1029204-6bc0-4116-a391-a7bb5cc9c9f3-attachment.json", "type": "application/json"}], "start": 1777905706379, "stop": 1777905706422}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "03b60493-7226-4df5-ae65-1d03160c49e8-attachment.json", "type": "application/json"}], "start": 1777905707423, "stop": 1777905707460}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "4503b603-21dc-4368-881a-9db5272d8278-attachment.json", "type": "application/json"}], "start": 1777905708460, "stop": 1777905708500}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b34c93f8-5087-4d32-ba65-0a5e44fc9e79-attachment.json", "type": "application/json"}], "start": 1777905709500, "stop": 1777905709542}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "99d418ef-11c0-473b-87ca-5e60a4d2fc86-attachment.json", "type": "application/json"}], "start": 1777905710542, "stop": 1777905710609}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "dbd997e8-6533-45ed-8dc2-b6ae72a03cb4-attachment.json", "type": "application/json"}], "start": 1777905711609, "stop": 1777905711649}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "491c79a6-7572-40b3-92ac-dc8c8e9d47ab-attachment.json", "type": "application/json"}], "start": 1777905712649, "stop": 1777905712696}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "801d47d8-71ab-4dd0-875d-12683e32abfc-attachment.json", "type": "application/json"}], "start": 1777905713697, "stop": 1777905713731}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "1d9dcb71-0bb9-4860-bee0-a0b8cbc687d2-attachment.json", "type": "application/json"}], "start": 1777905714732, "stop": 1777905714768}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "82cab371-577f-437d-a48e-6527c70ba3b4-attachment.json", "type": "application/json"}], "start": 1777905715768, "stop": 1777905715835}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "68ec7427-6a77-4b2b-ad6c-f50e35762630-attachment.json", "type": "application/json"}], "start": 1777905716835, "stop": 1777905716873}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "f40f9f0a-ff72-4bcc-912b-15aeba174e0d-attachment.json", "type": "application/json"}], "start": 1777905717874, "stop": 1777905717922}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "9399b0ff-2f16-4a51-a79e-91fbf3273816-attachment.json", "type": "application/json"}], "start": 1777905718922, "stop": 1777905718959}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "76abd70b-21c3-403e-969a-6a2abf5c33b5-attachment.json", "type": "application/json"}], "start": 1777905719959, "stop": 1777905720006}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "aeb88c55-82cc-47f2-b510-9857e34dcd77-attachment.json", "type": "application/json"}], "start": 1777905721007, "stop": 1777905721049}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "2f2053c1-290b-4108-a5b2-724f1ef949b3-attachment.json", "type": "application/json"}], "start": 1777905722050, "stop": 1777905722107}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "bff70635-0284-4244-83f0-3bd48aa8680e-attachment.json", "type": "application/json"}], "start": 1777905723108, "stop": 1777905723148}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "9ced7eac-904c-423e-8d7d-f753aecefadd-attachment.json", "type": "application/json"}], "start": 1777905724148, "stop": 1777905724189}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "45fc8613-c44a-4913-8952-2a2a31aefaae-attachment.json", "type": "application/json"}], "start": 1777905725189, "stop": 1777905725228}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "73a7c278-de34-4466-b917-f06334668734-attachment.json", "type": "application/json"}], "start": 1777905726228, "stop": 1777905726308}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "88744961-629c-47ed-ae4d-46d6f5fc3882-attachment.json", "type": "application/json"}], "start": 1777905727309, "stop": 1777905727348}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "db020b7b-a4bb-4574-8ba1-9f6cb016d84e-attachment.json", "type": "application/json"}], "start": 1777905728348, "stop": 1777905728394}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ec01732e-2911-4e5e-abe5-67cb4c1708b9-attachment.json", "type": "application/json"}], "start": 1777905729395, "stop": 1777905729431}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "66d4275c-ba21-4c8a-8f9d-40d85cd37ff6-attachment.json", "type": "application/json"}], "start": 1777905730432, "stop": 1777905730472}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b280145e-f882-43b2-a516-ae7e47787c0f-attachment.json", "type": "application/json"}], "start": 1777905731472, "stop": 1777905731543}], "start": 1777905691752, "stop": 1777905732546}, {"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 49, in after_scenario\n fn()\n ~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1439, 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 30, 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 180, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n"}, "attachments": [{"name": "RuntimeError: deletePass", "source": "7111dcc0-d78c-4fb1-a3e1-d493f7b7404c-attachment.txt", "type": "text/plain"}], "start": 1777905732547, "stop": 1777905732574}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777905732581, "stop": 1777905732777}, {"name": "Cleanup: _cleanup_unbind_and_delete_service", "status": "passed", "start": 1777905732777, "stop": 1777905732879}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777905732879, "stop": 1777905732927}, {"name": "Then passRequests response contains created pass", "status": "skipped", "start": 1777905732929, "stop": 1777905732929}], "attachments": [{"name": "Cleanup error", "source": "86a2c779-1437-4e52-8a16-c2ae13ee4766-attachment.txt", "type": "text/plain"}], "start": 1777905690945, "stop": 1777905732929, "uuid": "693b9e23-66ab-47a9-956f-7ed241ed6e8a", "historyId": "010e40997e6f0fca0e1d5f22e2b8daaf", "testCaseId": "71a81ed0e9d65cf2d6e3ac890e15da11", "fullName": "Pass requests: passRequests returns results for created pass", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "Pass requests"}, {"name": "framework", "value": "behave"}, {"name": "language", "value": "cpython3"}], "titlePath": ["Pass_request", "features", "Pass requests"]}