{"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 1511, 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": 1777976584853, "stop": 1777976586354}, {"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": "437e86af-8c94-41be-85cf-a7d2f85c2e18-attachment.json", "type": "application/json"}], "start": 1777976586424, "stop": 1777976586496}], "attachments": [{"name": "createPlaceMultiple(main) response", "source": "1f8f154b-3347-425f-9fb3-bce1e9d4c106-attachment.json", "type": "application/json"}], "start": 1777976586357, "stop": 1777976586496}, {"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "97911009-9052-442c-a211-c184ea2a7ca3-attachment.json", "type": "application/json"}], "start": 1777976586496, "stop": 1777976586547}, {"name": "GraphQL: addPlaceToService", "status": "passed", "attachments": [{"name": "addPlaceToService response", "source": "bc438bd4-be74-4d19-bb8d-91581cc8a5e1-attachment.json", "type": "application/json"}], "start": 1777976586547, "stop": 1777976586602}, {"name": "GraphQL: createUser (for pass target)", "status": "passed", "attachments": [{"name": "createUser response", "source": "d96e0303-ab14-4223-961e-97ef2fd21ffc-attachment.json", "type": "application/json"}], "start": 1777976586602, "stop": 1777976586667}, {"name": "GraphQL: addUserToPlace (attach user to pass place)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "411eb029-47dd-4c8d-b027-c4ac723bc1e3-attachment.json", "type": "application/json"}], "start": 1777976586667, "stop": 1777976586785}], "start": 1777976586355, "stop": 1777976586785}, {"name": "And create pass for prepared place", "status": "passed", "steps": [{"name": "GraphQL: createPass (variant 1)", "status": "passed", "attachments": [{"name": "createPass(v1) response", "source": "65969640-c3aa-40b6-96a7-72343708d121-attachment.json", "type": "application/json"}], "start": 1777976586786, "stop": 1777976587035}], "start": 1777976586785, "stop": 1777976587036}, {"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 1511, 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": "b360e9b4-55e1-42a7-8c73-b79010d93b4e-attachment.json", "type": "application/json"}], "start": 1777976587037, "stop": 1777976587085}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "c86694ae-eafb-4e85-962b-e5d6248899d2-attachment.json", "type": "application/json"}], "start": 1777976588086, "stop": 1777976588138}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "8678a99a-2466-4804-afe6-a381ba259a40-attachment.json", "type": "application/json"}], "start": 1777976589138, "stop": 1777976589188}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ce814d30-24fe-471b-ae5e-266a9ca940d2-attachment.json", "type": "application/json"}], "start": 1777976590188, "stop": 1777976590232}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "0b253d9a-8fb6-4951-867b-5243446fd9fc-attachment.json", "type": "application/json"}], "start": 1777976591233, "stop": 1777976591291}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d232018f-554b-4634-86c0-de36bc72fb1b-attachment.json", "type": "application/json"}], "start": 1777976592291, "stop": 1777976592339}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "2139459a-c810-4667-b140-9a61440adf19-attachment.json", "type": "application/json"}], "start": 1777976593339, "stop": 1777976593388}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "60db4467-8574-4b15-bf86-4c11460e7780-attachment.json", "type": "application/json"}], "start": 1777976594388, "stop": 1777976594436}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "43fcf416-b097-4ff9-b843-b1365fadcec5-attachment.json", "type": "application/json"}], "start": 1777976595437, "stop": 1777976595485}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "9cc1a715-6b79-4cca-bf5f-08ea2123c04f-attachment.json", "type": "application/json"}], "start": 1777976596486, "stop": 1777976596560}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "1818ed06-d2af-4dea-917b-57facdd14791-attachment.json", "type": "application/json"}], "start": 1777976597561, "stop": 1777976597613}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "1e4cecbf-f633-401a-9e6c-bb636b8efb15-attachment.json", "type": "application/json"}], "start": 1777976598613, "stop": 1777976598671}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "803abd56-c439-42a9-8dd6-c5051c7f90bd-attachment.json", "type": "application/json"}], "start": 1777976599671, "stop": 1777976599721}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "698c3a54-1722-40a2-8643-b7fceea8eccf-attachment.json", "type": "application/json"}], "start": 1777976600722, "stop": 1777976600785}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "631ef7b7-bf59-4996-b1c1-e2c6b04a6601-attachment.json", "type": "application/json"}], "start": 1777976601786, "stop": 1777976601838}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "e9a0ff0c-6125-4fea-8466-70f2fb36e588-attachment.json", "type": "application/json"}], "start": 1777976602838, "stop": 1777976602887}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "57b03f99-790a-49af-8d2c-90b437e54cc0-attachment.json", "type": "application/json"}], "start": 1777976603887, "stop": 1777976603935}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d18e27e3-f13f-4013-ba13-772823ed62d1-attachment.json", "type": "application/json"}], "start": 1777976604936, "stop": 1777976604991}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "9bff9905-541c-419f-a4a9-75475fb1bdc6-attachment.json", "type": "application/json"}], "start": 1777976605992, "stop": 1777976606050}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "6c3d93b6-83bf-4fc8-88d5-9e6c7b74e5cd-attachment.json", "type": "application/json"}], "start": 1777976607051, "stop": 1777976607101}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ae98388f-d4f6-463c-8752-58559d6b9be6-attachment.json", "type": "application/json"}], "start": 1777976608102, "stop": 1777976608159}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "a694660a-3fc6-42c9-91f7-96bf5f3934d7-attachment.json", "type": "application/json"}], "start": 1777976609159, "stop": 1777976609205}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "e1f3aa44-f687-4897-8d1b-01faeb6caa26-attachment.json", "type": "application/json"}], "start": 1777976610205, "stop": 1777976610257}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "79a31290-b401-469a-9d46-af5110bb7462-attachment.json", "type": "application/json"}], "start": 1777976611258, "stop": 1777976611319}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b4978b74-6e9d-46af-8038-9fe13031eaef-attachment.json", "type": "application/json"}], "start": 1777976612319, "stop": 1777976612370}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "50856a72-bf66-4442-8dce-7103d80ba952-attachment.json", "type": "application/json"}], "start": 1777976613370, "stop": 1777976613454}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "9e66ed98-8dfe-44f9-8f9f-0d623f5b3144-attachment.json", "type": "application/json"}], "start": 1777976614455, "stop": 1777976614507}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "cfc292e1-a666-4475-a84e-eda7fe668bc5-attachment.json", "type": "application/json"}], "start": 1777976615508, "stop": 1777976615557}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "eb26580d-ad2e-44d6-90e8-c9e3b898db97-attachment.json", "type": "application/json"}], "start": 1777976616557, "stop": 1777976616614}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "3c8f5ebb-5cb0-49e1-892d-6a7db1b2a8ec-attachment.json", "type": "application/json"}], "start": 1777976617615, "stop": 1777976617675}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "65b16a55-9172-414a-9577-c99d1375b26e-attachment.json", "type": "application/json"}], "start": 1777976618675, "stop": 1777976618727}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "a31f55bd-5a73-42b3-b039-e437697b4448-attachment.json", "type": "application/json"}], "start": 1777976619727, "stop": 1777976619774}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "07dbfe11-2132-40af-817d-f0001d454159-attachment.json", "type": "application/json"}], "start": 1777976620774, "stop": 1777976620831}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "8eef1c28-7083-4453-9234-aab46bff980f-attachment.json", "type": "application/json"}], "start": 1777976621831, "stop": 1777976621891}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "7ddd7d8e-ded8-47b7-9515-e752277b10a2-attachment.json", "type": "application/json"}], "start": 1777976622891, "stop": 1777976622943}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d4d6447e-5600-4fbf-ad2c-e3a281b7b600-attachment.json", "type": "application/json"}], "start": 1777976623943, "stop": 1777976623990}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "dbd5877c-8d1a-4558-9f27-10f7265c28bc-attachment.json", "type": "application/json"}], "start": 1777976624990, "stop": 1777976625037}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d51f3b04-26fd-4dec-ab8e-411529369476-attachment.json", "type": "application/json"}], "start": 1777976626038, "stop": 1777976626093}], "start": 1777976587036, "stop": 1777976627097}, {"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 1463, 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": "f2c299a6-181e-4e84-a5cd-743a5da1cdb5-attachment.txt", "type": "text/plain"}], "start": 1777976627098, "stop": 1777976627153}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777976627163, "stop": 1777976627435}, {"name": "Cleanup: _cleanup_unbind_and_delete_service", "status": "passed", "start": 1777976627435, "stop": 1777976627552}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777976627552, "stop": 1777976627617}, {"name": "Then passRequests response contains created pass", "status": "skipped", "start": 1777976627619, "stop": 1777976627619}], "attachments": [{"name": "Cleanup error", "source": "998fb8da-c357-473a-b0f0-fe1e7bdf1a07-attachment.txt", "type": "text/plain"}], "start": 1777976584851, "stop": 1777976627619, "uuid": "cc723c3b-f09f-4582-9d85-86ebf275eca3", "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"]}