Noob_test/allure-results/6657923e-fb86-4ee4-b876-bfe39d3edecf-result.json
2026-05-15 11:34:24 +03:00

1 line
22 KiB
JSON

{"name": "Pass request approval requires two confirmations", "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": 1777976955619, "stop": 1777976955787}, {"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": "ef50a864-8862-4997-ab9b-5d1833eee41d-attachment.json", "type": "application/json"}], "start": 1777976955789, "stop": 1777976955841}, {"name": "GraphQL: createPlaceMultiple (passreq-place-2, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "9e5cd119-2e7a-4d23-b8fb-af5a9faa4fea-attachment.json", "type": "application/json"}], "start": 1777976955841, "stop": 1777976955891}, {"name": "GraphQL: createPlaceMultiple (passreq-place-3, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "1aadca92-8a0d-4192-8faf-243c8f32575c-attachment.json", "type": "application/json"}], "start": 1777976955891, "stop": 1777976955944}, {"name": "GraphQL: createEntrance(RegisterEntranceDTO)", "status": "passed", "attachments": [{"name": "createEntrance response", "source": "d26b1b5b-cbf3-4ebc-89a7-2567de11afdc-attachment.json", "type": "application/json"}], "start": 1777976955944, "stop": 1777976956010}, {"name": "GraphQL: createUser (place member)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "8fd94c37-56f2-4490-8506-935bfee6c00e-attachment.json", "type": "application/json"}], "start": 1777976956010, "stop": 1777976956070}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f9c67b17bb1e0c5fc4e280)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "f98bb716-ba78-431e-8222-ed190d60c709-attachment.json", "type": "application/json"}], "start": 1777976956070, "stop": 1777976956146}, {"name": "GraphQL: createUser (place member)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "0c8e4fa7-4e3c-4fae-bd1f-c6ddf2cad595-attachment.json", "type": "application/json"}], "start": 1777976956146, "stop": 1777976956204}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f9c67b037d44249d0d1780)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "f25f0251-e3b9-4bac-9460-9d6c6f2eebe7-attachment.json", "type": "application/json"}], "start": 1777976956204, "stop": 1777976956285}, {"name": "GraphQL: createUser (place member)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "483ea805-6396-433d-9f60-80c7835a32a4-attachment.json", "type": "application/json"}], "start": 1777976956285, "stop": 1777976956337}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f9c67cc15e6311636d8d2b)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "eb2d6d3b-421a-4ab9-9d93-dc74685d9c4f-attachment.json", "type": "application/json"}], "start": 1777976956337, "stop": 1777976956666}, {"name": "GraphQL: createUser (new approver)", "status": "passed", "attachments": [{"name": "createUser(new approver) response", "source": "8fdc9595-2ac7-4a1c-a24a-6fbb972a810b-attachment.json", "type": "application/json"}], "start": 1777976956666, "stop": 1777976956871}, {"name": "Auth: get access_token for new approver", "status": "passed", "start": 1777976956871, "stop": 1777976957019}, {"name": "GraphQL: addEmployee (new approver with passRequests attrs)", "status": "passed", "attachments": [{"name": "addEmployee(new approver) response", "source": "295b2955-2b27-41aa-bf40-86c8005d5c5a-attachment.json", "type": "application/json"}], "start": 1777976957019, "stop": 1777976957060}], "start": 1777976955788, "stop": 1777976957062}, {"name": "And create pass in place #3 for approval flow", "status": "passed", "steps": [{"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "fb1e8a06-ad4d-4bbb-9264-bdb01ee82cf6-attachment.json", "type": "application/json"}], "start": 1777976957063, "stop": 1777976957107}, {"name": "GraphQL: addPlaceToService", "status": "passed", "attachments": [{"name": "addPlaceToService response", "source": "5d6d2aad-3199-423c-94c1-6912f219d3e5-attachment.json", "type": "application/json"}], "start": 1777976957107, "stop": 1777976957154}, {"name": "GraphQL: createUser (for pass target)", "status": "passed", "attachments": [{"name": "createUser response", "source": "e00ced4a-5846-4043-80a8-ef7fc6875e8b-attachment.json", "type": "application/json"}], "start": 1777976957154, "stop": 1777976958638}, {"name": "GraphQL: addUserToPlace (attach user to pass place)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "c2d06ef2-ca1b-42a7-84f8-491cf6a00467-attachment.json", "type": "application/json"}], "start": 1777976958638, "stop": 1777976958756}, {"name": "GraphQL: createPass (variant 1)", "status": "passed", "attachments": [{"name": "createPass(v1) response", "source": "e1a0e1b3-33c4-46e5-8c43-875944f9bbde-attachment.json", "type": "application/json"}], "start": 1777976958756, "stop": 1777976958989}], "start": 1777976957062, "stop": 1777976958989}, {"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": "24dfd8b7-b6c5-42f4-ae88-706f5d137f41-attachment.json", "type": "application/json"}], "start": 1777976958990, "stop": 1777976959040}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "f4ad1cc9-3fe7-49b5-88b4-9b6cf9826c66-attachment.json", "type": "application/json"}], "start": 1777976960040, "stop": 1777976960090}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "da532976-2311-4254-9fed-33383ee4172a-attachment.json", "type": "application/json"}], "start": 1777976961091, "stop": 1777976961252}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "fbc4322f-b298-442c-b7c4-cad8b4c23dbb-attachment.json", "type": "application/json"}], "start": 1777976962253, "stop": 1777976962322}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "c81eb02f-074c-4aef-a04c-19f0942d281d-attachment.json", "type": "application/json"}], "start": 1777976963322, "stop": 1777976963386}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "c73a8aad-8106-4215-8f0f-381d20788041-attachment.json", "type": "application/json"}], "start": 1777976964386, "stop": 1777976964445}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "acdb4f04-7e7e-4fd6-84f7-8dba2c43b839-attachment.json", "type": "application/json"}], "start": 1777976965448, "stop": 1777976965530}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "cba681d3-2468-4f6d-a0dc-08cf0b7976e0-attachment.json", "type": "application/json"}], "start": 1777976966531, "stop": 1777976966594}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "d11ca473-87d7-47d3-8819-4878333a0f0c-attachment.json", "type": "application/json"}], "start": 1777976967595, "stop": 1777976967649}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "95d00b7f-b473-43da-9ee6-f42af6aa51bb-attachment.json", "type": "application/json"}], "start": 1777976968650, "stop": 1777976968698}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "cfb4cc5c-7691-46de-aa97-2a164d366150-attachment.json", "type": "application/json"}], "start": 1777976969698, "stop": 1777976969805}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "7cec1f6c-e41f-4a5a-a329-dae26293ffcb-attachment.json", "type": "application/json"}], "start": 1777976970805, "stop": 1777976970856}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5f7515f2-8ee2-4c38-a6d2-6a8109d611df-attachment.json", "type": "application/json"}], "start": 1777976971856, "stop": 1777976971907}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5871464c-5da2-400d-9c29-39c59459a841-attachment.json", "type": "application/json"}], "start": 1777976972908, "stop": 1777976972958}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "8dcbe100-8880-44a5-bee5-8efa94b7b708-attachment.json", "type": "application/json"}], "start": 1777976973959, "stop": 1777976974033}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "91ba941c-0385-4e10-a621-dac50338f7a8-attachment.json", "type": "application/json"}], "start": 1777976975034, "stop": 1777976975094}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "e3c6d231-f335-4ad2-b85b-b8fe67430072-attachment.json", "type": "application/json"}], "start": 1777976976095, "stop": 1777976976174}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "bc3946b1-c2c4-40ea-9fcb-8a4cb7ba3505-attachment.json", "type": "application/json"}], "start": 1777976977174, "stop": 1777976977238}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "9401e3a1-444d-4dd8-869a-cb4d08cb480a-attachment.json", "type": "application/json"}], "start": 1777976978239, "stop": 1777976978300}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "9c6c077b-2b61-4b98-adbe-568cc8c4015f-attachment.json", "type": "application/json"}], "start": 1777976979300, "stop": 1777976979361}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "06d2e259-3f08-4901-8434-31fab85e13df-attachment.json", "type": "application/json"}], "start": 1777976980361, "stop": 1777976980421}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "15d5013b-da0c-429d-9742-8de38d455554-attachment.json", "type": "application/json"}], "start": 1777976981422, "stop": 1777976981494}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "2b65d919-07f0-4174-9914-1c4dd31958ad-attachment.json", "type": "application/json"}], "start": 1777976982495, "stop": 1777976982546}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "6fc1cdb0-d3f5-4c84-b62b-d2d480ec854c-attachment.json", "type": "application/json"}], "start": 1777976983547, "stop": 1777976983597}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "1e653052-ef95-4a65-abdf-ec3edd65e8bb-attachment.json", "type": "application/json"}], "start": 1777976984597, "stop": 1777976984647}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "669e2386-e19c-4bd4-b3d2-0de3b160ba6f-attachment.json", "type": "application/json"}], "start": 1777976985647, "stop": 1777976985707}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "8b9ff57c-316f-4538-89ce-3d151881c23a-attachment.json", "type": "application/json"}], "start": 1777976986709, "stop": 1777976986767}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "e5bda8af-a844-4b4d-96db-eef8e5f459ae-attachment.json", "type": "application/json"}], "start": 1777976987767, "stop": 1777976987831}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "4674ce00-212b-49eb-bbce-89ca6069b8d3-attachment.json", "type": "application/json"}], "start": 1777976988831, "stop": 1777976988892}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "30511308-4b58-42ff-b532-55fe0ddfeb1a-attachment.json", "type": "application/json"}], "start": 1777976989892, "stop": 1777976989945}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "c369ed90-ec45-4416-a8de-ad455a91e202-attachment.json", "type": "application/json"}], "start": 1777976990946, "stop": 1777976990995}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "7f985d68-d3d9-4734-b629-6efa7628eb5b-attachment.json", "type": "application/json"}], "start": 1777976991995, "stop": 1777976992075}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "2f0fb9e9-ddca-4984-8c35-a78ee5cf743e-attachment.json", "type": "application/json"}], "start": 1777976993077, "stop": 1777976993126}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b870ebc7-a846-4a3b-a549-4ad0ade6db17-attachment.json", "type": "application/json"}], "start": 1777976994127, "stop": 1777976994177}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "f7761ef3-c656-4743-85a4-d98ff8de9994-attachment.json", "type": "application/json"}], "start": 1777976995178, "stop": 1777976995254}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "223371fb-3ec4-413a-9762-fc8857a0ffd7-attachment.json", "type": "application/json"}], "start": 1777976996254, "stop": 1777976996305}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "f8ac4b15-cd80-4329-bc43-e1063baf25bf-attachment.json", "type": "application/json"}], "start": 1777976997306, "stop": 1777976997400}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "6e1829c5-a2db-4195-ba1c-e3599c6e67a2-attachment.json", "type": "application/json"}], "start": 1777976998400, "stop": 1777976998451}], "start": 1777976958989, "stop": 1777976999453}, {"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": "42fccd83-9db5-4591-95a9-562003ae8687-attachment.txt", "type": "text/plain"}], "start": 1777976999455, "stop": 1777976999495}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777976999500, "stop": 1777976999747}, {"name": "Cleanup: _cleanup_unbind_and_delete_service", "status": "passed", "start": 1777976999747, "stop": 1777976999893}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777976999893, "stop": 1777977000116}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777977000116, "stop": 1777977000332}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777977000332, "stop": 1777977000552}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777977000552, "stop": 1777977000762}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777977000762, "stop": 1777977000832}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777977000832, "stop": 1777977000899}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777977000899, "stop": 1777977000992}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1777977000994, "stop": 1777977000994}, {"name": "When approve pass request with my token", "status": "skipped", "start": 1777977000994, "stop": 1777977000994}, {"name": "And re-query passRequests by created pass_id with my token", "status": "skipped", "start": 1777977000994, "stop": 1777977000994}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1777977000994, "stop": 1777977000994}, {"name": "When approve pass request with new employee token", "status": "skipped", "start": 1777977000994, "stop": 1777977000994}, {"name": "And query passRequests by created pass_id with new employee token", "status": "skipped", "start": 1777977000994, "stop": 1777977000994}, {"name": "Then pass request status is active", "status": "skipped", "start": 1777977000994, "stop": 1777977000994}], "attachments": [{"name": "Cleanup error", "source": "8fba8a27-6d63-4f70-ac4d-b5abfac5df5a-attachment.txt", "type": "text/plain"}], "start": 1777976955617, "stop": 1777977000994, "uuid": "0c270684-8bfa-4135-9cac-f81bdad4355d", "historyId": "34532a485fee47211dd0b378a7dc503c", "testCaseId": "a55790f192c201485f73bc55e15e278d", "fullName": "Pass requests: Pass request approval requires two confirmations", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "Pass requests"}, {"name": "framework", "value": "behave"}, {"name": "language", "value": "cpython3"}], "titlePath": ["Pass_request", "features", "Pass requests"]}