{"name": "Pass request rejection prevents activation even with second confirmation", "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_request_approval_steps.py\", line 31, in step_query_pass_requests_my_token\n resp = td.wait_for_pass_request(token=token, pass_id=getattr(context, \"pass_id\", None))\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": 1777977001000, "stop": 1777977001169}, {"name": "And prepare nested places and employees for pass request approval flow", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (passreq-place-1, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "7d8fd6d3-f8d2-4602-a4b0-adaf9cd41094-attachment.json", "type": "application/json"}], "start": 1777977001171, "stop": 1777977001232}, {"name": "GraphQL: createPlaceMultiple (passreq-place-2, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "510e96c0-d637-4e08-af51-6b90c511b0cc-attachment.json", "type": "application/json"}], "start": 1777977001232, "stop": 1777977001300}, {"name": "GraphQL: createPlaceMultiple (passreq-place-3, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "9385c9fa-eaa4-4e68-840b-09878ff44cbd-attachment.json", "type": "application/json"}], "start": 1777977001300, "stop": 1777977001352}, {"name": "GraphQL: createEntrance(RegisterEntranceDTO)", "status": "passed", "attachments": [{"name": "createEntrance response", "source": "85cec8a6-e9ef-4a2c-b6d8-bf62df73a7a5-attachment.json", "type": "application/json"}], "start": 1777977001352, "stop": 1777977001415}, {"name": "GraphQL: createUser (place member)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "344e9c29-3db6-4f5d-a53b-aa531328131e-attachment.json", "type": "application/json"}], "start": 1777977001416, "stop": 1777977001492}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f9c6a9037d44249d0d17b5)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "28d2c672-d94e-489d-a343-ed43c8ec2d0d-attachment.json", "type": "application/json"}], "start": 1777977001492, "stop": 1777977001611}, {"name": "GraphQL: createUser (place member)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "371598ce-8c17-4455-ab7b-caa8bfe14e3c-attachment.json", "type": "application/json"}], "start": 1777977001611, "stop": 1777977001666}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f9c6a9c15e6311636d8d50)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "cade7ea1-a4b5-4d4f-b14f-4fae8765a199-attachment.json", "type": "application/json"}], "start": 1777977001666, "stop": 1777977001759}, {"name": "GraphQL: createUser (place member)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "ea43378b-66d8-4037-a24f-c12be0bab208-attachment.json", "type": "application/json"}], "start": 1777977001759, "stop": 1777977001817}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f9c6a917bb1e0c5fc4e28b)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "9313b387-68b7-4c0f-b068-71b4b17217a3-attachment.json", "type": "application/json"}], "start": 1777977001817, "stop": 1777977001908}, {"name": "GraphQL: createUser (new approver)", "status": "passed", "attachments": [{"name": "createUser(new approver) response", "source": "4599be65-b89e-4a78-832b-8b37d0d2e809-attachment.json", "type": "application/json"}], "start": 1777977001909, "stop": 1777977003354}, {"name": "Auth: get access_token for new approver", "status": "passed", "start": 1777977003354, "stop": 1777977003536}, {"name": "GraphQL: addEmployee (new approver with passRequests attrs)", "status": "passed", "attachments": [{"name": "addEmployee(new approver) response", "source": "622aea73-6ecc-4212-91e9-cf0055d69be1-attachment.json", "type": "application/json"}], "start": 1777977003536, "stop": 1777977003578}], "start": 1777977001169, "stop": 1777977003579}, {"name": "And create pass in place #3 for approval flow", "status": "passed", "steps": [{"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "6bdbc99e-e825-4434-a82f-3800e8f193a1-attachment.json", "type": "application/json"}], "start": 1777977003580, "stop": 1777977003633}, {"name": "GraphQL: addPlaceToService", "status": "passed", "attachments": [{"name": "addPlaceToService response", "source": "668d2a92-b796-4130-a41a-d5cae8d78ae1-attachment.json", "type": "application/json"}], "start": 1777977003633, "stop": 1777977003675}, {"name": "GraphQL: createUser (for pass target)", "status": "passed", "attachments": [{"name": "createUser response", "source": "aa0afaaf-744b-499c-b54f-fcaaa5be98ca-attachment.json", "type": "application/json"}], "start": 1777977003675, "stop": 1777977003737}, {"name": "GraphQL: addUserToPlace (attach user to pass place)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "77e19a55-b82a-4a23-bbdc-3b9ca0bf52a8-attachment.json", "type": "application/json"}], "start": 1777977003737, "stop": 1777977003819}, {"name": "GraphQL: createPass (variant 1)", "status": "passed", "attachments": [{"name": "createPass(v1) response", "source": "ddc13572-3e84-4677-a5f3-39300f35a1a7-attachment.json", "type": "application/json"}], "start": 1777977003819, "stop": 1777977004088}], "start": 1777977003579, "stop": 1777977004088}, {"name": "When query passRequests by created pass_id with my token", "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_request_approval_steps.py\", line 31, in step_query_pass_requests_my_token\n resp = td.wait_for_pass_request(token=token, pass_id=getattr(context, \"pass_id\", None))\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": "d1d23d7f-0a7f-4ea7-aa33-ee096b6d5462-attachment.json", "type": "application/json"}], "start": 1777977004089, "stop": 1777977004140}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "8eeaa6fb-bf03-4991-b131-214efd28cbcb-attachment.json", "type": "application/json"}], "start": 1777977005140, "stop": 1777977005197}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "13f9c269-ba98-462c-88e2-1396ae0e915a-attachment.json", "type": "application/json"}], "start": 1777977006197, "stop": 1777977006250}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5fe3deaf-922c-4f1e-86e5-387969be2330-attachment.json", "type": "application/json"}], "start": 1777977007251, "stop": 1777977007314}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "6de9eb61-6ddf-48e8-ab8c-e81c71cbf4e6-attachment.json", "type": "application/json"}], "start": 1777977008315, "stop": 1777977008368}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d8cb5d4f-7e19-4818-b31a-5b728c3f3f93-attachment.json", "type": "application/json"}], "start": 1777977009368, "stop": 1777977009421}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "3026c6e0-0767-4ab5-a2e4-f7debd420d3b-attachment.json", "type": "application/json"}], "start": 1777977010422, "stop": 1777977010477}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d5b6634b-b970-4f74-8b72-462bbdb2793d-attachment.json", "type": "application/json"}], "start": 1777977011478, "stop": 1777977011541}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "6e407a25-46f5-434c-a6b0-c1001bdeb0a4-attachment.json", "type": "application/json"}], "start": 1777977012541, "stop": 1777977012613}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b0e596e1-74f6-47d7-8f5a-7ad9fbba988c-attachment.json", "type": "application/json"}], "start": 1777977013613, "stop": 1777977013669}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "68ac1a4a-3adc-4b1b-ad14-84a32cc78f16-attachment.json", "type": "application/json"}], "start": 1777977014669, "stop": 1777977014739}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "57f08224-9ed2-4164-872c-7d7688a008b6-attachment.json", "type": "application/json"}], "start": 1777977015740, "stop": 1777977015797}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5fe238f1-f2cc-4962-8940-a0a85de81773-attachment.json", "type": "application/json"}], "start": 1777977016798, "stop": 1777977016856}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5ca37582-16c9-453e-845a-f99455862abf-attachment.json", "type": "application/json"}], "start": 1777977017856, "stop": 1777977017932}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "40d33779-43fd-4a5a-9d04-c9cc2ac0ce19-attachment.json", "type": "application/json"}], "start": 1777977018932, "stop": 1777977018981}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "a986590d-83f6-4e17-86d3-a193bc8440be-attachment.json", "type": "application/json"}], "start": 1777977019981, "stop": 1777977020045}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "858fb8d2-11a6-4033-92e8-f7ed4eafe936-attachment.json", "type": "application/json"}], "start": 1777977021046, "stop": 1777977021132}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ba303811-f0b7-4b12-a8e9-e207c2555e15-attachment.json", "type": "application/json"}], "start": 1777977022133, "stop": 1777977022199}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5123e21d-0a5d-440c-a7dc-019e26207096-attachment.json", "type": "application/json"}], "start": 1777977023200, "stop": 1777977023272}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "0b73af7a-22e7-40ca-9d60-194c2675a839-attachment.json", "type": "application/json"}], "start": 1777977024273, "stop": 1777977024321}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "8d33d424-0c0c-450e-9c5a-7a3de855066a-attachment.json", "type": "application/json"}], "start": 1777977025322, "stop": 1777977025375}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "8e93ce04-d62e-4667-b7d7-db4e57d49fb7-attachment.json", "type": "application/json"}], "start": 1777977026376, "stop": 1777977026432}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ff1d6ea7-c2c8-4bc1-8770-2828fc9342a6-attachment.json", "type": "application/json"}], "start": 1777977027432, "stop": 1777977027503}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "75c4ef4d-d840-4348-9297-92df1b2ca393-attachment.json", "type": "application/json"}], "start": 1777977028503, "stop": 1777977028563}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5bac7b27-33f9-42ce-b4e4-903be9d15187-attachment.json", "type": "application/json"}], "start": 1777977029564, "stop": 1777977029616}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "2805b4c4-5500-40a1-8cf5-39da7d8686b2-attachment.json", "type": "application/json"}], "start": 1777977030617, "stop": 1777977030670}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "1c2e451b-b52e-426d-8b91-413a10573568-attachment.json", "type": "application/json"}], "start": 1777977031671, "stop": 1777977031745}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "4753b66d-fc96-4542-831e-110acd3171f9-attachment.json", "type": "application/json"}], "start": 1777977032745, "stop": 1777977032799}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "dd3d3db6-0630-4795-ba30-6e42a28e1139-attachment.json", "type": "application/json"}], "start": 1777977033803, "stop": 1777977033881}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "bd6d0c4e-4099-4bc0-b341-2fedcae082f3-attachment.json", "type": "application/json"}], "start": 1777977034882, "stop": 1777977034930}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d13a1806-4f9f-4776-a56b-c5e15bb1707d-attachment.json", "type": "application/json"}], "start": 1777977035930, "stop": 1777977036008}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "6b9ad5c9-43dd-47ad-bb2f-39ec7a7fb567-attachment.json", "type": "application/json"}], "start": 1777977037009, "stop": 1777977037058}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "6b86f61f-6294-4e3e-a057-f53d3bac992d-attachment.json", "type": "application/json"}], "start": 1777977038059, "stop": 1777977038120}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "95084dae-d961-40a8-b857-686e2cec21d6-attachment.json", "type": "application/json"}], "start": 1777977039122, "stop": 1777977039193}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "cf707a7c-b1d9-4a72-8f04-c4b738acb41b-attachment.json", "type": "application/json"}], "start": 1777977040194, "stop": 1777977040245}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "082e8df6-32ca-40f4-847b-887cb1e33a44-attachment.json", "type": "application/json"}], "start": 1777977041245, "stop": 1777977041302}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "8a596b48-0afa-4587-badc-ff49e2d08829-attachment.json", "type": "application/json"}], "start": 1777977042302, "stop": 1777977042356}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b06b192e-db38-47a8-bec0-5a5f780b19cf-attachment.json", "type": "application/json"}], "start": 1777977043357, "stop": 1777977043408}], "start": 1777977004088, "stop": 1777977044411}, {"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": "fb5d7ca1-a4e7-46d7-ba85-e92e45d1ccb5-attachment.txt", "type": "text/plain"}], "start": 1777977044420, "stop": 1777977044523}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777977044532, "stop": 1777977044758}, {"name": "Cleanup: _cleanup_unbind_and_delete_service", "status": "passed", "start": 1777977044758, "stop": 1777977044875}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777977044875, "stop": 1777977045089}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777977045089, "stop": 1777977045310}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777977045310, "stop": 1777977045549}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777977045549, "stop": 1777977045741}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777977045741, "stop": 1777977045832}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777977045832, "stop": 1777977045897}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777977045897, "stop": 1777977045959}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1777977045961, "stop": 1777977045961}, {"name": "When reject pass request with my token", "status": "skipped", "start": 1777977045961, "stop": 1777977045961}, {"name": "And re-query passRequests by created pass_id with my token", "status": "skipped", "start": 1777977045961, "stop": 1777977045961}, {"name": "Then pass request status is not active", "status": "skipped", "start": 1777977045961, "stop": 1777977045961}, {"name": "When approve pass request with new employee token", "status": "skipped", "start": 1777977045961, "stop": 1777977045961}, {"name": "And query passRequests by created pass_id with new employee token", "status": "skipped", "start": 1777977045961, "stop": 1777977045961}, {"name": "Then pass request status is not active", "status": "skipped", "start": 1777977045961, "stop": 1777977045961}], "attachments": [{"name": "Cleanup error", "source": "b46f1bad-c667-46a0-b1c9-dbc5dd2035bb-attachment.txt", "type": "text/plain"}], "start": 1777977000997, "stop": 1777977045961, "uuid": "6605bedf-2d3e-44c8-a868-267b586bac7d", "historyId": "d5214a811b3d7cd98d122456dbf59131", "testCaseId": "e6e5289fd68251094ffad43532c84933", "fullName": "Pass requests: Pass request rejection prevents activation even with second confirmation", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "Pass requests"}, {"name": "framework", "value": "behave"}, {"name": "language", "value": "cpython3"}], "titlePath": ["Pass_request", "features", "Pass requests"]}