1 line
17 KiB
JSON
1 line
17 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 1502, 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": 1777975153607, "stop": 1777975154345}, {"name": "And prepare place, entrance, service and user for pass", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (main place)", "status": "passed", "steps": [{"name": "GraphQL: createEntrance(RegisterEntranceDTO)", "status": "passed", "attachments": [{"name": "createEntrance response", "source": "166b6cd5-bbb1-4e33-918b-031727ed6fe2-attachment.json", "type": "application/json"}], "start": 1777975154404, "stop": 1777975154465}], "attachments": [{"name": "createPlaceMultiple(main) response", "source": "69ac6523-d636-4207-8627-0e95e486ee7c-attachment.json", "type": "application/json"}], "start": 1777975154347, "stop": 1777975154465}, {"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "93093ce6-b829-4773-b65b-2bd0bf59b8b3-attachment.json", "type": "application/json"}], "start": 1777975154465, "stop": 1777975154502}, {"name": "GraphQL: addPlaceToService", "status": "passed", "attachments": [{"name": "addPlaceToService response", "source": "572d5c5a-9bf8-4899-9e58-d7d19b42b490-attachment.json", "type": "application/json"}], "start": 1777975154503, "stop": 1777975154545}, {"name": "GraphQL: createUser (for pass target)", "status": "passed", "attachments": [{"name": "createUser response", "source": "90f07b54-5c70-431c-8ce9-c9acb7586109-attachment.json", "type": "application/json"}], "start": 1777975154545, "stop": 1777975154602}, {"name": "GraphQL: addUserToPlace (attach user to pass place)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "53578806-2400-4330-aed4-6fe189ce0e4d-attachment.json", "type": "application/json"}], "start": 1777975154602, "stop": 1777975154675}], "start": 1777975154345, "stop": 1777975154675}, {"name": "And create pass for prepared place", "status": "passed", "steps": [{"name": "GraphQL: createPass (variant 1)", "status": "passed", "attachments": [{"name": "createPass(v1) response", "source": "e3f4febe-06a4-42e8-b791-354d8af20cb5-attachment.json", "type": "application/json"}], "start": 1777975154677, "stop": 1777975154916}], "start": 1777975154675, "stop": 1777975154916}, {"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 1502, 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": "3c7ed788-45bf-442f-ae7b-ac91d6472d93-attachment.json", "type": "application/json"}], "start": 1777975154917, "stop": 1777975154963}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ee6920a2-b4db-4938-9d09-3652db5c4de2-attachment.json", "type": "application/json"}], "start": 1777975155963, "stop": 1777975156012}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "afdcc900-7791-461e-a5cd-c4d9707df397-attachment.json", "type": "application/json"}], "start": 1777975157012, "stop": 1777975157059}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "409716e7-565f-4d2b-adac-54311e9d6bf3-attachment.json", "type": "application/json"}], "start": 1777975158060, "stop": 1777975158118}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "1f089954-f19a-455a-9329-133ecb5307c0-attachment.json", "type": "application/json"}], "start": 1777975159119, "stop": 1777975159175}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "79631edb-8b30-44fb-b420-428eb4906835-attachment.json", "type": "application/json"}], "start": 1777975160176, "stop": 1777975160227}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "04fb2dc0-e2f5-4e6a-ad50-fb33e765aea1-attachment.json", "type": "application/json"}], "start": 1777975161228, "stop": 1777975161279}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "4dcc0f74-f63b-43c5-8853-504570d1a7e6-attachment.json", "type": "application/json"}], "start": 1777975162279, "stop": 1777975162331}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "9f012453-ea75-4cfd-a9c6-a04ff559044f-attachment.json", "type": "application/json"}], "start": 1777975163332, "stop": 1777975163380}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "2d2bd8ba-32df-4f72-bad4-b2b6a7f25ad5-attachment.json", "type": "application/json"}], "start": 1777975164380, "stop": 1777975164520}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "1c433907-7044-44bf-82e7-a0c4da45821d-attachment.json", "type": "application/json"}], "start": 1777975165520, "stop": 1777975165567}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "bdc749d2-c2c4-4d9f-8caf-909e3bcf54a7-attachment.json", "type": "application/json"}], "start": 1777975166568, "stop": 1777975166622}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5ae8991c-4235-4d4f-a024-b2e61faba40d-attachment.json", "type": "application/json"}], "start": 1777975167623, "stop": 1777975167671}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "65df024f-8cfc-4781-a85f-eed47c10b0cd-attachment.json", "type": "application/json"}], "start": 1777975168671, "stop": 1777975168726}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d868327c-0d69-459e-af58-c43b1bdc84d6-attachment.json", "type": "application/json"}], "start": 1777975169726, "stop": 1777975169783}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "f0b0913e-f19c-4d3b-9a25-d2d9b3c82d86-attachment.json", "type": "application/json"}], "start": 1777975170783, "stop": 1777975170834}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "7d949c85-269a-46f0-82c7-a546ad31366d-attachment.json", "type": "application/json"}], "start": 1777975171835, "stop": 1777975171885}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "e5b8b2e9-98d6-4c88-9aaa-c84b3a4205f7-attachment.json", "type": "application/json"}], "start": 1777975172885, "stop": 1777975172937}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "8df13b0e-c8f0-4afb-8d35-2c4579bac031-attachment.json", "type": "application/json"}], "start": 1777975173937, "stop": 1777975173984}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "94217267-e759-40ed-83db-f5d0163ff6fc-attachment.json", "type": "application/json"}], "start": 1777975174985, "stop": 1777975175038}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "487b6fd1-4673-4040-96eb-425cdd6cad8e-attachment.json", "type": "application/json"}], "start": 1777975176038, "stop": 1777975176091}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "eb3f91dc-30e4-49c5-98a8-b075c6c33627-attachment.json", "type": "application/json"}], "start": 1777975177091, "stop": 1777975177147}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "2d163d87-8571-4a96-aaf0-b022584cf722-attachment.json", "type": "application/json"}], "start": 1777975178148, "stop": 1777975178198}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b4af618f-fbfd-4007-a915-60f5406a00e4-attachment.json", "type": "application/json"}], "start": 1777975179198, "stop": 1777975179253}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5e8cb8e6-08ac-4f4b-85ed-6a01671d7d4e-attachment.json", "type": "application/json"}], "start": 1777975180253, "stop": 1777975180308}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "fa4881da-d125-4065-9d0c-d6dff03d4f9f-attachment.json", "type": "application/json"}], "start": 1777975181309, "stop": 1777975181355}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "9abe27af-679f-469c-81c7-e370f12e1a2b-attachment.json", "type": "application/json"}], "start": 1777975182355, "stop": 1777975182404}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "10351c79-9ca4-4183-bc29-f72a251a3efd-attachment.json", "type": "application/json"}], "start": 1777975183405, "stop": 1777975183466}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5d859e9f-cbd1-4aca-9407-ee549b89bf44-attachment.json", "type": "application/json"}], "start": 1777975184466, "stop": 1777975184526}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "cdbf070f-adaa-4889-92e1-87ea624fc2f4-attachment.json", "type": "application/json"}], "start": 1777975185527, "stop": 1777975185583}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "47ca4449-4bf2-4503-a845-c8450e074444-attachment.json", "type": "application/json"}], "start": 1777975186583, "stop": 1777975186631}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "acf755c5-2517-49bb-8ddc-933ba2b5352c-attachment.json", "type": "application/json"}], "start": 1777975187631, "stop": 1777975187685}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "9e4c1f55-3fd9-46c5-9123-04131d3a0eef-attachment.json", "type": "application/json"}], "start": 1777975188686, "stop": 1777975188736}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "f42ee044-58ea-4830-aa6a-dcd6b71579ae-attachment.json", "type": "application/json"}], "start": 1777975189737, "stop": 1777975189803}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "378f9ffe-3fc0-461a-9348-ebf866d64367-attachment.json", "type": "application/json"}], "start": 1777975190804, "stop": 1777975190847}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "c6f88303-5fbe-4ef5-ade5-eb5a9428b74f-attachment.json", "type": "application/json"}], "start": 1777975191848, "stop": 1777975191906}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d161957d-bd4b-400a-aba3-717630afaaec-attachment.json", "type": "application/json"}], "start": 1777975192906, "stop": 1777975192956}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "2e930eb6-b362-4847-8124-7e2cee5bf0d7-attachment.json", "type": "application/json"}], "start": 1777975193956, "stop": 1777975194000}], "start": 1777975154916, "stop": 1777975195004}, {"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 1454, 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 206, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n"}, "attachments": [{"name": "RuntimeError: deletePass", "source": "30ab8356-e22f-4c7d-8c08-c6a51b0fc2cf-attachment.txt", "type": "text/plain"}], "start": 1777975195004, "stop": 1777975195050}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777975195059, "stop": 1777975195321}, {"name": "Cleanup: _cleanup_unbind_and_delete_service", "status": "passed", "start": 1777975195321, "stop": 1777975195480}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777975195481, "stop": 1777975195552}, {"name": "Then passRequests response contains created pass", "status": "skipped", "start": 1777975195555, "stop": 1777975195555}], "attachments": [{"name": "Cleanup error", "source": "fbc114d5-c9b1-4329-99b8-f51a4ddd14d4-attachment.txt", "type": "text/plain"}], "start": 1777975153605, "stop": 1777975195555, "uuid": "668728b9-98de-4b09-9f43-e8124b9b0513", "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"]} |