1 line
18 KiB
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 1571, 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": 1777905863740, "stop": 1777905864043}, {"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": "7855722c-6f4c-45a3-b47c-b3aa00e8076a-attachment.json", "type": "application/json"}], "start": 1777905864047, "stop": 1777905864093}, {"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "90c0b92d-84dd-424d-b94c-4c9e5520b963-attachment.json", "type": "application/json"}], "start": 1777905864093, "stop": 1777905864123}, {"name": "GraphQL: addPlaceToService", "status": "passed", "attachments": [{"name": "addPlaceToService response", "source": "8b95e042-7773-46db-b348-000c28b90cc0-attachment.json", "type": "application/json"}], "start": 1777905864123, "stop": 1777905864156}, {"name": "GraphQL: createUser (for pass target)", "status": "passed", "attachments": [{"name": "createUser response", "source": "b875881a-47d7-4353-8826-d6746018783b-attachment.json", "type": "application/json"}], "start": 1777905864156, "stop": 1777905864199}, {"name": "GraphQL: addUserToPlace (attach user to pass place)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "5da94fd3-f080-465c-b285-5c1239ca999c-attachment.json", "type": "application/json"}], "start": 1777905864200, "stop": 1777905864283}], "start": 1777905864044, "stop": 1777905864284}, {"name": "And create pass for prepared place", "status": "passed", "steps": [{"name": "GraphQL: createEntrance(RegisterEntranceDTO)", "status": "passed", "attachments": [{"name": "RuntimeError: createEntrance", "source": "4a25e741-1920-463c-b755-c57713f16397-attachment.txt", "type": "text/plain"}, {"name": "createEntrance failed (best-effort)", "source": "3747185d-619a-4bfd-87d6-8febca888fb7-attachment.txt", "type": "text/plain"}], "start": 1777905864546, "stop": 1777905864573}, {"name": "GraphQL: createPass (variant 1)", "status": "passed", "attachments": [{"name": "createPass(v1) response", "source": "866609bd-567d-4478-b7cb-0328d6ef185a-attachment.json", "type": "application/json"}], "start": 1777905864574, "stop": 1777905864787}], "attachments": [{"name": "Device discovery failed", "source": "4b6e5cc2-b1fe-453b-b507-f03d7f21fbf0-attachment.txt", "type": "text/plain"}], "start": 1777905864284, "stop": 1777905864787}, {"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 1571, 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": "140b7066-bcc2-4169-9391-3b0dee54bb25-attachment.json", "type": "application/json"}], "start": 1777905864788, "stop": 1777905864819}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "a6be415f-50cb-4024-9da0-56824bb97b2b-attachment.json", "type": "application/json"}], "start": 1777905865819, "stop": 1777905865908}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "6e088845-be11-4f3c-95d5-be5607512d98-attachment.json", "type": "application/json"}], "start": 1777905866909, "stop": 1777905866975}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "3ef6d417-4f9d-456a-8414-24723d810c78-attachment.json", "type": "application/json"}], "start": 1777905867975, "stop": 1777905868034}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "4f452c7f-f42e-48ea-9223-da87b61711ec-attachment.json", "type": "application/json"}], "start": 1777905869035, "stop": 1777905869078}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d27ee2eb-7d0a-496f-b9ae-3cc04389aa2a-attachment.json", "type": "application/json"}], "start": 1777905870078, "stop": 1777905870138}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "6f1ea586-f8ea-40d0-b96d-d3e23b4a7103-attachment.json", "type": "application/json"}], "start": 1777905871138, "stop": 1777905871177}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "63773698-ed22-4291-8355-ceb1c417f5d9-attachment.json", "type": "application/json"}], "start": 1777905872178, "stop": 1777905872229}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "fed56c3a-78bf-4d62-83a9-3f5f32159e04-attachment.json", "type": "application/json"}], "start": 1777905873230, "stop": 1777905873268}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "f3674b93-3605-40b9-842b-d0756df67f04-attachment.json", "type": "application/json"}], "start": 1777905874268, "stop": 1777905874313}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "769c1546-836b-48d1-8ad1-ee95784c58c2-attachment.json", "type": "application/json"}], "start": 1777905875313, "stop": 1777905875354}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "c0d09f89-e3a1-471b-86f0-e86b0b124a4e-attachment.json", "type": "application/json"}], "start": 1777905876354, "stop": 1777905876396}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "6ae6a15c-6dd7-4bf6-8be2-5ab47b22fa80-attachment.json", "type": "application/json"}], "start": 1777905877397, "stop": 1777905877442}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ad54cf69-a2e4-4ec8-a650-56a5faaefcc5-attachment.json", "type": "application/json"}], "start": 1777905878442, "stop": 1777905878486}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "9f6a5f93-1b0c-4ec0-8892-4c46c98536b9-attachment.json", "type": "application/json"}], "start": 1777905879486, "stop": 1777905879524}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "f3e7b29a-95a4-475d-bd34-f0808648e232-attachment.json", "type": "application/json"}], "start": 1777905880524, "stop": 1777905880593}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "6a34fb25-bbcd-40d5-b13b-22050ad6d2bd-attachment.json", "type": "application/json"}], "start": 1777905881593, "stop": 1777905881630}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "00036855-233a-4161-9f65-90d5d30a22a3-attachment.json", "type": "application/json"}], "start": 1777905882630, "stop": 1777905882677}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "afb650db-39b3-4809-9bb3-8718c375f57f-attachment.json", "type": "application/json"}], "start": 1777905883677, "stop": 1777905883717}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "cf14fb8e-8fe0-4d90-b3ac-b2f9c1d01cab-attachment.json", "type": "application/json"}], "start": 1777905884718, "stop": 1777905884755}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "7c9aeb10-cb71-4e9a-ae75-e4a7a4775d24-attachment.json", "type": "application/json"}], "start": 1777905885755, "stop": 1777905885794}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "0eb815f9-c5c2-4b42-8929-0abf23048b1d-attachment.json", "type": "application/json"}], "start": 1777905886794, "stop": 1777905886831}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "8ab84d70-af42-43ff-98ce-5b16da25398c-attachment.json", "type": "application/json"}], "start": 1777905887831, "stop": 1777905887867}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "e929d0c7-22d7-45f1-8db1-0ce968f22a41-attachment.json", "type": "application/json"}], "start": 1777905888867, "stop": 1777905888910}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "8c9a4701-3c9c-4e7e-a14d-2befe74612db-attachment.json", "type": "application/json"}], "start": 1777905889910, "stop": 1777905889959}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "3171086c-d22b-4969-84ef-d948e2c93aa4-attachment.json", "type": "application/json"}], "start": 1777905890960, "stop": 1777905891000}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "c502f964-4080-4ae2-9fb9-89a7ceca6787-attachment.json", "type": "application/json"}], "start": 1777905892001, "stop": 1777905892060}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "01a4bd31-accc-48a3-b548-1132e41532c5-attachment.json", "type": "application/json"}], "start": 1777905893061, "stop": 1777905893112}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "c94f409e-8ba1-4427-b0fa-5b53f7c76626-attachment.json", "type": "application/json"}], "start": 1777905894112, "stop": 1777905894154}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "95c15450-3953-4ca9-bf82-2f666e717898-attachment.json", "type": "application/json"}], "start": 1777905895155, "stop": 1777905895210}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "824ba775-24d1-4a8b-9bee-e85c665dae14-attachment.json", "type": "application/json"}], "start": 1777905896211, "stop": 1777905896250}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "9dd2dcd4-1466-4bf4-a081-110ec73d9d30-attachment.json", "type": "application/json"}], "start": 1777905897251, "stop": 1777905897298}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "78e50c92-4e55-4d64-8520-093931858caa-attachment.json", "type": "application/json"}], "start": 1777905898299, "stop": 1777905898343}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "2e55d8ae-c538-4053-a3e0-ffcbfb0b3faa-attachment.json", "type": "application/json"}], "start": 1777905899343, "stop": 1777905899386}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "c84ab9f0-4d9e-46aa-9824-5883ad612fa0-attachment.json", "type": "application/json"}], "start": 1777905900386, "stop": 1777905900425}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "44ed757d-25a3-4a85-a6e4-25825700ab50-attachment.json", "type": "application/json"}], "start": 1777905901425, "stop": 1777905901463}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b2cdf94e-ff20-43df-90a2-6fad7d2905ae-attachment.json", "type": "application/json"}], "start": 1777905902463, "stop": 1777905902522}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "75f1a097-6e93-40ed-8a93-bf4908f37a37-attachment.json", "type": "application/json"}], "start": 1777905903522, "stop": 1777905903567}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "eec22483-f260-4a74-a6e2-3fd7b85dd5e2-attachment.json", "type": "application/json"}], "start": 1777905904568, "stop": 1777905904601}], "start": 1777905864788, "stop": 1777905905604}, {"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 1523, 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": "5e974fff-5849-4e18-a9db-46dc91c4a2ff-attachment.txt", "type": "text/plain"}], "start": 1777905905604, "stop": 1777905905634}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777905905641, "stop": 1777905905841}, {"name": "Cleanup: _cleanup_unbind_and_delete_service", "status": "passed", "start": 1777905905841, "stop": 1777905905925}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777905905925, "stop": 1777905905978}, {"name": "Then passRequests response contains created pass", "status": "skipped", "start": 1777905905979, "stop": 1777905905979}], "attachments": [{"name": "Cleanup error", "source": "71380cb5-f6fa-4f9c-947a-ecc888c35609-attachment.txt", "type": "text/plain"}], "start": 1777905863738, "stop": 1777905905979, "uuid": "398319aa-e2ca-48e2-b56a-85985d6703cb", "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"]} |