Noob_test/allure-results/bf70e355-2343-437a-a6ce-eb4db9bbddb5-result.json

1 line
22 KiB
JSON

{"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 1487, 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": 1777905777943, "stop": 1777905778069}, {"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": "8bb2ed21-5156-450a-a0b0-66afbbf842fd-attachment.json", "type": "application/json"}], "start": 1777905778071, "stop": 1777905778112}, {"name": "GraphQL: createPlaceMultiple (passreq-place-2, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "13c8e969-5aff-43fe-a288-fc01a9d89c9b-attachment.json", "type": "application/json"}], "start": 1777905778112, "stop": 1777905778155}, {"name": "GraphQL: createPlaceMultiple (passreq-place-3, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "c94e65cb-d6b4-45f1-bee0-4dd0e9917393-attachment.json", "type": "application/json"}], "start": 1777905778155, "stop": 1777905778193}, {"name": "GraphQL: createUser (place member)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "d0072528-9af9-4854-bb35-bfa7a47c3718-attachment.json", "type": "application/json"}], "start": 1777905778193, "stop": 1777905778234}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f8b07217bb1e0c5fc4dfad)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "7fe39ea6-1f5e-4774-ba3c-cf548b14f8ed-attachment.json", "type": "application/json"}], "start": 1777905778234, "stop": 1777905778302}, {"name": "GraphQL: createUser (place member)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "0e7ce640-86e6-45c8-98b0-06ed77d04919-attachment.json", "type": "application/json"}], "start": 1777905778302, "stop": 1777905778342}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f8b07232367dfb4b45a672)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "2e059956-7f6c-478b-9cc8-9939b3605243-attachment.json", "type": "application/json"}], "start": 1777905778342, "stop": 1777905778407}, {"name": "GraphQL: createUser (place member)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "a36eda53-ee62-4e05-9eae-b67486326214-attachment.json", "type": "application/json"}], "start": 1777905778407, "stop": 1777905778510}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f8b072037d44249d0d14bc)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "781eb95a-8984-4dc5-9b4d-0ef7f84e0d1c-attachment.json", "type": "application/json"}], "start": 1777905778510, "stop": 1777905778570}, {"name": "GraphQL: createUser (new approver)", "status": "passed", "attachments": [{"name": "createUser(new approver) response", "source": "417dbfd0-7df5-41cc-a013-e49a17bb7d28-attachment.json", "type": "application/json"}], "start": 1777905778570, "stop": 1777905778682}, {"name": "Auth: get access_token for new approver", "status": "passed", "start": 1777905778682, "stop": 1777905778791}, {"name": "GraphQL: addEmployee (new approver with passRequests attrs)", "status": "passed", "attachments": [{"name": "addEmployee(new approver) response", "source": "c7de4dec-4c1e-400e-9946-d3b847d5a729-attachment.json", "type": "application/json"}], "start": 1777905778792, "stop": 1777905778825}], "start": 1777905778069, "stop": 1777905778826}, {"name": "And create pass in place #3 for approval flow", "status": "passed", "steps": [{"name": "GraphQL: createEntrance(RegisterEntranceDTO)", "status": "passed", "attachments": [{"name": "RuntimeError: createEntrance", "source": "6f8b6936-4a43-41b4-9a8f-9942865d99e5-attachment.txt", "type": "text/plain"}, {"name": "createEntrance failed (best-effort)", "source": "82e3fba4-4e33-433e-9e49-132e401791b8-attachment.txt", "type": "text/plain"}], "start": 1777905778828, "stop": 1777905778857}, {"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "4457d581-f472-411a-8179-7fe1c25a0bfa-attachment.json", "type": "application/json"}], "start": 1777905778857, "stop": 1777905778891}, {"name": "GraphQL: addPlaceToService", "status": "passed", "attachments": [{"name": "addPlaceToService response", "source": "18076666-dfeb-45a3-8de9-3b34e5e1e425-attachment.json", "type": "application/json"}], "start": 1777905778891, "stop": 1777905778930}, {"name": "GraphQL: createUser (for pass target)", "status": "passed", "attachments": [{"name": "createUser response", "source": "7678cba0-298e-4ecc-8c0c-5afc712a4bbd-attachment.json", "type": "application/json"}], "start": 1777905778930, "stop": 1777905778970}, {"name": "GraphQL: addUserToPlace (attach user to pass place)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "f6680550-dc48-45fc-a738-05a0088f7395-attachment.json", "type": "application/json"}], "start": 1777905778970, "stop": 1777905779044}, {"name": "GraphQL: createPass (variant 1)", "status": "passed", "attachments": [{"name": "createPass(v1) response", "source": "1df0656b-b34c-44c5-ad2a-ac7e0c5a0756-attachment.json", "type": "application/json"}], "start": 1777905779044, "stop": 1777905779273}], "start": 1777905778827, "stop": 1777905779274}, {"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 1487, 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": "40514547-f966-4aff-9980-d99b1552bb81-attachment.json", "type": "application/json"}], "start": 1777905779275, "stop": 1777905779309}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "13e307d3-8950-4804-94d2-6b83dff0a530-attachment.json", "type": "application/json"}], "start": 1777905780310, "stop": 1777905780356}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "1307b873-6832-40cb-a9cb-e35f277791ba-attachment.json", "type": "application/json"}], "start": 1777905781357, "stop": 1777905781409}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5cbc1e4e-49bc-4fcf-b37e-3b2c423e6402-attachment.json", "type": "application/json"}], "start": 1777905782410, "stop": 1777905782451}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "e1e7acdb-5b5f-4683-bdab-88b91536779d-attachment.json", "type": "application/json"}], "start": 1777905783451, "stop": 1777905783507}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5acb404b-cafb-42c8-b8ed-7ad0292c65a6-attachment.json", "type": "application/json"}], "start": 1777905784508, "stop": 1777905784548}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "61cdfd96-be97-4dad-85b4-ce704af5302b-attachment.json", "type": "application/json"}], "start": 1777905785549, "stop": 1777905785586}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d77a1b67-dee2-439d-ab49-f62b2e8941be-attachment.json", "type": "application/json"}], "start": 1777905786587, "stop": 1777905786644}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d8ea3450-6373-43c3-8055-6fa9ca31b0b8-attachment.json", "type": "application/json"}], "start": 1777905787645, "stop": 1777905787686}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "4963f296-63ae-46c9-b26a-07607eb40abc-attachment.json", "type": "application/json"}], "start": 1777905788687, "stop": 1777905788721}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "0134cfc9-cf71-439d-b2ba-3159ff19116b-attachment.json", "type": "application/json"}], "start": 1777905789721, "stop": 1777905789758}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b29c29c7-0b55-46a5-a7a8-b0353b7969c0-attachment.json", "type": "application/json"}], "start": 1777905790759, "stop": 1777905790794}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ab743c84-3952-410c-9398-b8e5e138c6a4-attachment.json", "type": "application/json"}], "start": 1777905791794, "stop": 1777905791849}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "c64fd5b8-bd4c-4415-b4e8-f4a9e4acb251-attachment.json", "type": "application/json"}], "start": 1777905792851, "stop": 1777905792897}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ccc8aaca-c2ca-4ff8-a63b-581a9f94e771-attachment.json", "type": "application/json"}], "start": 1777905793898, "stop": 1777905793934}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5d978fcd-d59b-468a-87fb-6e31b3b9991e-attachment.json", "type": "application/json"}], "start": 1777905794935, "stop": 1777905794989}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "8508f356-d998-465b-8e19-3005c07aa41c-attachment.json", "type": "application/json"}], "start": 1777905795989, "stop": 1777905796025}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "65f56b2d-a21a-481f-9974-09a573959df7-attachment.json", "type": "application/json"}], "start": 1777905797026, "stop": 1777905797068}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "a17a46c2-c9b9-453f-a944-17a09b99d78d-attachment.json", "type": "application/json"}], "start": 1777905798069, "stop": 1777905798115}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "e202946e-5c2f-49c7-8be4-e857f438f389-attachment.json", "type": "application/json"}], "start": 1777905799115, "stop": 1777905799178}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "f8c0a7ea-beaa-48e7-a78a-c618e073e884-attachment.json", "type": "application/json"}], "start": 1777905800178, "stop": 1777905800217}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "ccbbd8d4-db95-407c-8b14-9302ba0cccb9-attachment.json", "type": "application/json"}], "start": 1777905801217, "stop": 1777905801255}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "e4d92516-fb37-49e7-8b5b-00f22b6605a1-attachment.json", "type": "application/json"}], "start": 1777905802256, "stop": 1777905802314}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "454b60ac-ebe0-48bb-9523-094230cb2e35-attachment.json", "type": "application/json"}], "start": 1777905803314, "stop": 1777905803366}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "8bc9185f-fc7d-4d0d-a160-0e32ba7d21b2-attachment.json", "type": "application/json"}], "start": 1777905804366, "stop": 1777905804402}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "8bc7e1d5-dce6-4ec9-b966-1913bdddef34-attachment.json", "type": "application/json"}], "start": 1777905805402, "stop": 1777905805436}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5d8675c4-7837-433a-949e-dc6feea7950d-attachment.json", "type": "application/json"}], "start": 1777905806437, "stop": 1777905806485}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "181ca2f8-ff97-42df-8eb4-bcaf7f8081fd-attachment.json", "type": "application/json"}], "start": 1777905807486, "stop": 1777905807553}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "6815bc7a-7682-460b-b832-c24bca135136-attachment.json", "type": "application/json"}], "start": 1777905808553, "stop": 1777905808594}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "6a38631d-3eb5-4dee-8ab6-e8ebd6fdeb17-attachment.json", "type": "application/json"}], "start": 1777905809595, "stop": 1777905809652}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "35baa6cd-363b-4d3f-a054-3eee08ea8ea9-attachment.json", "type": "application/json"}], "start": 1777905810653, "stop": 1777905810694}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "0b2b3694-fb17-41ad-8e11-4ef184b8976b-attachment.json", "type": "application/json"}], "start": 1777905811694, "stop": 1777905811752}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "71e2516d-ac6c-4808-bb53-9fad062d8e96-attachment.json", "type": "application/json"}], "start": 1777905812753, "stop": 1777905812820}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "c55c6604-4aab-4940-99f5-fe5f2cf356f4-attachment.json", "type": "application/json"}], "start": 1777905813821, "stop": 1777905813856}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b8e48295-7476-4517-b733-cf58ee6c276e-attachment.json", "type": "application/json"}], "start": 1777905814857, "stop": 1777905814894}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "7e5f6258-37d9-49eb-b2e6-91aaab018979-attachment.json", "type": "application/json"}], "start": 1777905815895, "stop": 1777905815949}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "4dab7da3-2b1b-414e-90b4-59fe6318d053-attachment.json", "type": "application/json"}], "start": 1777905816950, "stop": 1777905816994}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "dbad7ded-ff7c-4c4b-a71d-3c2979250686-attachment.json", "type": "application/json"}], "start": 1777905817995, "stop": 1777905818035}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "e393ff0b-652b-47a8-8a39-7533a1a52d86-attachment.json", "type": "application/json"}], "start": 1777905819035, "stop": 1777905819072}], "start": 1777905779274, "stop": 1777905820074}, {"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 1439, 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": "66adcecb-8b92-47df-8810-91d2e300617d-attachment.txt", "type": "text/plain"}], "start": 1777905820074, "stop": 1777905820101}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777905820106, "stop": 1777905820286}, {"name": "Cleanup: _cleanup_unbind_and_delete_service", "status": "passed", "start": 1777905820287, "stop": 1777905820379}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777905820379, "stop": 1777905820546}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777905820546, "stop": 1777905820708}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777905820708, "stop": 1777905820890}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777905820890, "stop": 1777905821051}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777905821051, "stop": 1777905821106}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777905821106, "stop": 1777905821180}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777905821180, "stop": 1777905821241}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1777905821243, "stop": 1777905821243}, {"name": "When reject pass request with my token", "status": "skipped", "start": 1777905821243, "stop": 1777905821243}, {"name": "And re-query passRequests by created pass_id with my token", "status": "skipped", "start": 1777905821243, "stop": 1777905821243}, {"name": "Then pass request status is not active", "status": "skipped", "start": 1777905821243, "stop": 1777905821243}, {"name": "When approve pass request with new employee token", "status": "skipped", "start": 1777905821243, "stop": 1777905821243}, {"name": "And query passRequests by created pass_id with new employee token", "status": "skipped", "start": 1777905821243, "stop": 1777905821243}, {"name": "Then pass request status is not active", "status": "skipped", "start": 1777905821243, "stop": 1777905821243}], "attachments": [{"name": "Cleanup error", "source": "f6e3573b-da48-4962-a959-9a2d32405f4f-attachment.txt", "type": "text/plain"}], "start": 1777905777942, "stop": 1777905821243, "uuid": "f20da821-c22c-40b7-867f-553ca88a0636", "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"]}