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 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": 1777980034877, "stop": 1777980036198}, {"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": "4bb6729a-09ea-4f13-9e2a-0f52eb7f919a-attachment.json", "type": "application/json"}], "start": 1777980036277, "stop": 1777980036344}], "attachments": [{"name": "createPlaceMultiple(main) response", "source": "3f7859f2-5257-4882-8b40-df57b7931e0f-attachment.json", "type": "application/json"}], "start": 1777980036201, "stop": 1777980036344}, {"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "06d6cea1-fcfa-4a36-8a20-e9cbed8621e0-attachment.json", "type": "application/json"}], "start": 1777980036344, "stop": 1777980036394}, {"name": "GraphQL: addPlaceToService", "status": "passed", "attachments": [{"name": "addPlaceToService response", "source": "2869333d-4cf0-4b9b-a6f3-ee663fa0f176-attachment.json", "type": "application/json"}], "start": 1777980036394, "stop": 1777980036444}, {"name": "GraphQL: createUser (for pass target)", "status": "passed", "attachments": [{"name": "createUser response", "source": "37b63785-3908-4457-b5f4-39ec683f3571-attachment.json", "type": "application/json"}], "start": 1777980036444, "stop": 1777980036521}, {"name": "GraphQL: addUserToPlace (attach user to pass place)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "9bf87b49-7751-4a71-b3ba-69f31523560a-attachment.json", "type": "application/json"}], "start": 1777980036521, "stop": 1777980036617}], "start": 1777980036198, "stop": 1777980036617}, {"name": "And create pass for prepared place", "status": "passed", "steps": [{"name": "GraphQL: createPass (variant 1)", "status": "passed", "attachments": [{"name": "createPass(v1) response", "source": "592b5e58-85c8-4601-9e44-9d3e7327357a-attachment.json", "type": "application/json"}], "start": 1777980036618, "stop": 1777980036855}], "start": 1777980036617, "stop": 1777980036857}, {"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 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": "98c305fb-c86f-4676-afb1-48f8fb4c4be1-attachment.json", "type": "application/json"}], "start": 1777980036858, "stop": 1777980036909}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "44b9ee75-6e85-4a6b-8562-560cb0512601-attachment.json", "type": "application/json"}], "start": 1777980037909, "stop": 1777980037957}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "a6870bfb-e043-4672-b5ce-51be5bc4d6cc-attachment.json", "type": "application/json"}], "start": 1777980038958, "stop": 1777980039013}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "75215d34-d48f-4872-b8dd-45acc2bb869b-attachment.json", "type": "application/json"}], "start": 1777980040014, "stop": 1777980040061}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "0d4581b4-192a-469b-b0da-f2fae21390a8-attachment.json", "type": "application/json"}], "start": 1777980041061, "stop": 1777980041117}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "c4db259d-44bd-463a-9244-e3968260ff1c-attachment.json", "type": "application/json"}], "start": 1777980042117, "stop": 1777980042170}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "62f82f3d-f5b7-4c8c-ad0b-e844018a6c21-attachment.json", "type": "application/json"}], "start": 1777980043171, "stop": 1777980043219}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b4637913-bd9d-4b39-93fc-136d725bf4f3-attachment.json", "type": "application/json"}], "start": 1777980044219, "stop": 1777980044268}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "40927ac0-c41b-4d77-89e4-7c186ead1b45-attachment.json", "type": "application/json"}], "start": 1777980045269, "stop": 1777980045329}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "fb02bc14-f22d-4837-8237-b62aa563a6be-attachment.json", "type": "application/json"}], "start": 1777980046330, "stop": 1777980046388}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b82c5a6b-2b85-4922-9fff-aed95a5b7bd6-attachment.json", "type": "application/json"}], "start": 1777980047388, "stop": 1777980047439}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "dd6f264f-5a8a-4972-9ae6-bb2924781530-attachment.json", "type": "application/json"}], "start": 1777980048440, "stop": 1777980048488}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "3721c195-b540-45c4-9095-3dbe6fbc66ae-attachment.json", "type": "application/json"}], "start": 1777980049488, "stop": 1777980049536}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "68826283-8dc5-4ded-ab7c-93b77ee9f453-attachment.json", "type": "application/json"}], "start": 1777980050537, "stop": 1777980050596}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "037cae4e-a172-4fd0-96d0-b9305bae2a2a-attachment.json", "type": "application/json"}], "start": 1777980051596, "stop": 1777980051657}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "3d2cbe2c-bcb2-4a96-9c53-d5d99ede2c16-attachment.json", "type": "application/json"}], "start": 1777980052658, "stop": 1777980052713}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "de7bbef4-5ea0-4dd6-a4f1-a1eb112c47ac-attachment.json", "type": "application/json"}], "start": 1777980053713, "stop": 1777980053756}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "3990910d-749a-4fba-8e91-f6c1fdc30899-attachment.json", "type": "application/json"}], "start": 1777980054757, "stop": 1777980054810}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "a49540dc-9c43-462f-abe3-0f7d5ab8f269-attachment.json", "type": "application/json"}], "start": 1777980055810, "stop": 1777980055865}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "f6347f68-ec8f-48e4-b7f3-dd64b0dd5f0d-attachment.json", "type": "application/json"}], "start": 1777980056865, "stop": 1777980056915}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "9e6a039a-6a96-410b-9cd1-0035aee74875-attachment.json", "type": "application/json"}], "start": 1777980057916, "stop": 1777980057970}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d60e4a58-3f80-4f5c-8602-48102ac8efdf-attachment.json", "type": "application/json"}], "start": 1777980058971, "stop": 1777980059023}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "1219afc8-8f9f-47b9-bf38-078f22f59be1-attachment.json", "type": "application/json"}], "start": 1777980060024, "stop": 1777980060075}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "c3477ce7-b6f4-4820-9a84-bb290d8117f4-attachment.json", "type": "application/json"}], "start": 1777980061075, "stop": 1777980061144}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "50fd5a41-afe7-4500-ab2e-c7361d73d29f-attachment.json", "type": "application/json"}], "start": 1777980062145, "stop": 1777980062198}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "4b759fcd-ec34-4a87-923a-45d7b22472bb-attachment.json", "type": "application/json"}], "start": 1777980063198, "stop": 1777980063278}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "986417b6-39e0-4a37-bc68-be6da9174d5f-attachment.json", "type": "application/json"}], "start": 1777980064278, "stop": 1777980064350}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d676d5bc-7533-4953-b14d-797843a80555-attachment.json", "type": "application/json"}], "start": 1777980065350, "stop": 1777980065400}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ad3fe0ab-b5b0-42e8-9f8a-672a6523b695-attachment.json", "type": "application/json"}], "start": 1777980066401, "stop": 1777980066455}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "e40d0af4-bcde-4c31-a5bb-3d2b9dd9794f-attachment.json", "type": "application/json"}], "start": 1777980067456, "stop": 1777980067504}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5b3d1c80-9f4e-46b4-8882-053026f5f96c-attachment.json", "type": "application/json"}], "start": 1777980068505, "stop": 1777980068572}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "4d8c8a8e-73da-48bf-a4e3-1aa69dd26d18-attachment.json", "type": "application/json"}], "start": 1777980069573, "stop": 1777980069619}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "7da9052e-992f-4a34-aa75-74d1626aa512-attachment.json", "type": "application/json"}], "start": 1777980070620, "stop": 1777980070673}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "a928b778-0d88-4850-8b64-51abc1f534f6-attachment.json", "type": "application/json"}], "start": 1777980071673, "stop": 1777980071729}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "7d6fd44b-ffd5-4492-8b3e-1a569bfc8cce-attachment.json", "type": "application/json"}], "start": 1777980072729, "stop": 1777980072780}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "429704d8-4973-4558-adbb-bcd67222d372-attachment.json", "type": "application/json"}], "start": 1777980073781, "stop": 1777980073855}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "607e4fb3-e67b-40d3-929d-42f454a9f072-attachment.json", "type": "application/json"}], "start": 1777980074855, "stop": 1777980074918}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "71e8c33c-d7bd-4b74-82bb-f329595299f2-attachment.json", "type": "application/json"}], "start": 1777980075918, "stop": 1777980075976}], "start": 1777980036857, "stop": 1777980076984}, {"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 288, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n"}, "attachments": [{"name": "RuntimeError: deletePass", "source": "a135495b-f908-45b2-9317-1cb47e750159-attachment.txt", "type": "text/plain"}], "start": 1777980076985, "stop": 1777980077028}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777980077048, "stop": 1777980077264}, {"name": "Cleanup: _cleanup_unbind_and_delete_service", "status": "passed", "start": 1777980077264, "stop": 1777980077372}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777980077372, "stop": 1777980077446}, {"name": "Then passRequests response contains created pass", "status": "skipped", "start": 1777980077449, "stop": 1777980077449}], "attachments": [{"name": "Cleanup error", "source": "c6d660e5-4216-4f69-800f-4d0bdbc4ea91-attachment.txt", "type": "text/plain"}], "start": 1777980034876, "stop": 1777980077449, "uuid": "68cd1568-983e-4a27-968c-3ac7c6fa4e6c", "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"]} |