1 line
21 KiB
JSON
1 line
21 KiB
JSON
{"name": "passRequests returns results for created pass", "status": "failed", "statusDetails": {"message": "AssertionError: createPass не удалось ни одним вариантом input. Последняя ошибка: GraphQL errors: [{'message': 'Variable \"$pass_targets\" got invalid value { type: \"account\", user_id: \"95efa9b1-4ac3-474b-b256-f2b3f01b0ee9\" } at \"pass_targets[0]\"; Field \"entrance_ids\" of required type \"[String!]!\" was not provided.', 'code': 'Server Error', 'status': 500, 'description': 'The server encountered an unexpected condition which prevented it from fulfilling the request'}, {'message': 'Variable \"$pass_targets\" got invalid value { type: \"account\", user_id: \"95efa9b1-4ac3-474b-b256-f2b3f01b0ee9\" } at \"pass_targets[0]\"; Field \"user_id\" is not defined by type \"PassTargetInput\".', 'code': 'Server Error', 'status': 500, 'description': 'The server encountered an unexpected condition which prevented it from fulfilling the request'}]\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 22, in step_create_pass\n context.pass_id = td.create_pass()\n ~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1439, in create_pass\n raise AssertionError(f\"createPass не удалось ни одним вариантом input. Последняя ошибка: {last_error}\")\n"}, "steps": [{"name": "When get access token", "status": "passed", "start": 1777904537541, "stop": 1777904537881}, {"name": "And prepare place, entrance, service and user for pass", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (main place)", "status": "passed", "attachments": [{"name": "createPlaceMultiple(main) response", "source": "f5ac0481-83c9-47df-8883-da2dcb0afe5f-attachment.json", "type": "application/json"}], "start": 1777904537883, "stop": 1777904537930}, {"name": "GraphQL: createPlaceMultiple (entrance place, parent_id=69f8ab9a037d44249d0d120a)", "status": "passed", "attachments": [{"name": "RuntimeError: createPlaceMultiple(entrance)", "source": "65e27bde-b6b1-40ec-ab80-d62db22d8101-attachment.txt", "type": "text/plain"}], "start": 1777904537930, "stop": 1777904537959}, {"name": "GraphQL: createPlaceMultiple (entrance place, parent_id=6915dc03462d5aea0adc8cbd)", "status": "passed", "attachments": [{"name": "createPlaceMultiple(entrance) response", "source": "324213ee-8da5-42b5-bfb4-cdfe57be59e1-attachment.json", "type": "application/json"}], "start": 1777904537959, "stop": 1777904537999}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(dto-entrance_id)", "source": "29d0eb1d-9fae-4a94-9a04-db9f2c5368c6-attachment.txt", "type": "text/plain"}], "start": 1777904538022, "stop": 1777904538053}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(dto-entrance_ids)", "source": "231e9643-0f05-45e0-b0d6-8e8b9279e2a0-attachment.txt", "type": "text/plain"}], "start": 1777904538053, "stop": 1777904538082}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(args-entrance_id)", "source": "3befd199-fb21-4294-bdb3-bd97e4eb36d7-attachment.txt", "type": "text/plain"}], "start": 1777904538082, "stop": 1777904538112}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(args-entrance_ids)", "source": "7e7f6465-df08-4e79-99d9-ef13966d7323-attachment.txt", "type": "text/plain"}], "start": 1777904538112, "stop": 1777904538156}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(dto-entrance_id)", "source": "edb3ebf5-925e-43bb-ac97-06c1154634dd-attachment.txt", "type": "text/plain"}], "start": 1777904538156, "stop": 1777904538183}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(dto-entrance_ids)", "source": "64d299db-af76-4290-8960-5ecd69c9e664-attachment.txt", "type": "text/plain"}], "start": 1777904538183, "stop": 1777904538215}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(args-entrance_id)", "source": "3a8a9cf9-66f9-411d-a88f-95daf33e1f54-attachment.txt", "type": "text/plain"}], "start": 1777904538215, "stop": 1777904538248}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(args-entrance_ids)", "source": "9b982d48-3ce9-4c3d-8d24-b6151148e3e8-attachment.txt", "type": "text/plain"}], "start": 1777904538248, "stop": 1777904538274}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(dto-entrance_id)", "source": "23429a36-6bf1-47ef-9927-f28f964e1805-attachment.txt", "type": "text/plain"}], "start": 1777904538274, "stop": 1777904538301}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(dto-entrance_ids)", "source": "d7a7e1b2-d914-4df1-b867-5d56b3fa4040-attachment.txt", "type": "text/plain"}], "start": 1777904538301, "stop": 1777904538330}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(args-entrance_id)", "source": "9b42d622-6e9a-4e4e-8a46-bb5f4fd6f75e-attachment.txt", "type": "text/plain"}], "start": 1777904538330, "stop": 1777904538354}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(args-entrance_ids)", "source": "94b7c6ba-e09e-4e35-b063-2477ddf56e6e-attachment.txt", "type": "text/plain"}], "start": 1777904538354, "stop": 1777904538381}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(dto-entrance_id)", "source": "e0283739-b6d8-4c8c-8478-52b99ba9274e-attachment.txt", "type": "text/plain"}], "start": 1777904538381, "stop": 1777904538418}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(dto-entrance_ids)", "source": "a4454634-17ee-4aa6-b3ec-2c9c929b682e-attachment.txt", "type": "text/plain"}], "start": 1777904538418, "stop": 1777904538447}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(args-entrance_id)", "source": "c30ee1f2-e544-406e-bf68-c8d8cbd3b999-attachment.txt", "type": "text/plain"}], "start": 1777904538447, "stop": 1777904538472}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(args-entrance_ids)", "source": "44cb86e0-022e-4dcb-8e4c-dd3e49d843af-attachment.txt", "type": "text/plain"}], "start": 1777904538472, "stop": 1777904538497}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(dto-entrance_id)", "source": "088d1533-e857-40fd-b50c-3817a1205a06-attachment.txt", "type": "text/plain"}], "start": 1777904538497, "stop": 1777904538530}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(dto-entrance_ids)", "source": "813406b8-e306-4f05-9ac5-240b877325cc-attachment.txt", "type": "text/plain"}], "start": 1777904538531, "stop": 1777904538567}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(args-entrance_id)", "source": "6cb97818-f8bd-4eaf-85b6-feaa2f603a1e-attachment.txt", "type": "text/plain"}], "start": 1777904538567, "stop": 1777904538590}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(args-entrance_ids)", "source": "1bf31f20-1543-4e8c-a197-4153ff6c5ead-attachment.txt", "type": "text/plain"}], "start": 1777904538591, "stop": 1777904538616}, {"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "28e05940-b611-47ac-8497-8f23033cec2c-attachment.json", "type": "application/json"}], "start": 1777904538617, "stop": 1777904538650}, {"name": "GraphQL: addPlaceToService", "status": "passed", "attachments": [{"name": "addPlaceToService response", "source": "ae36c185-2467-4b32-93c2-6c73e251e7b3-attachment.json", "type": "application/json"}], "start": 1777904538650, "stop": 1777904538688}, {"name": "GraphQL: createUser (for pass target)", "status": "passed", "attachments": [{"name": "createUser response", "source": "3cd0520c-472a-429b-b046-93b0cf285c61-attachment.json", "type": "application/json"}], "start": 1777904538688, "stop": 1777904538731}, {"name": "GraphQL: addUserToPlace (attach user to pass place)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "cc172116-9d86-418f-b395-7019f937812f-attachment.json", "type": "application/json"}], "start": 1777904538731, "stop": 1777904538806}], "attachments": [{"name": "Entrance link not supported on this stand", "source": "6e300123-26f9-48db-a280-f47fede516bb-attachment.txt", "type": "text/plain"}], "start": 1777904537882, "stop": 1777904538807}, {"name": "And create pass for prepared place", "status": "failed", "statusDetails": {"message": "AssertionError: createPass не удалось ни одним вариантом input. Последняя ошибка: GraphQL errors: [{'message': 'Variable \"$pass_targets\" got invalid value { type: \"account\", user_id: \"95efa9b1-4ac3-474b-b256-f2b3f01b0ee9\" } at \"pass_targets[0]\"; Field \"entrance_ids\" of required type \"[String!]!\" was not provided.', 'code': 'Server Error', 'status': 500, 'description': 'The server encountered an unexpected condition which prevented it from fulfilling the request'}, {'message': 'Variable \"$pass_targets\" got invalid value { type: \"account\", user_id: \"95efa9b1-4ac3-474b-b256-f2b3f01b0ee9\" } at \"pass_targets[0]\"; Field \"user_id\" is not defined by type \"PassTargetInput\".', 'code': 'Server Error', 'status': 500, 'description': 'The server encountered an unexpected condition which prevented it from fulfilling the request'}]\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 22, in step_create_pass\n context.pass_id = td.create_pass()\n ~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1439, in create_pass\n raise AssertionError(f\"createPass не удалось ни одним вариантом input. Последняя ошибка: {last_error}\")\n"}, "steps": [{"name": "GraphQL: connect entrance to place (addEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(dto-entrance_id)", "source": "8171923f-b7a1-4a1d-bb16-961e6eb94078-attachment.txt", "type": "text/plain"}], "start": 1777904538808, "stop": 1777904538831}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(dto-entrance_ids)", "source": "739c5085-9e45-4998-af23-699beb70e168-attachment.txt", "type": "text/plain"}], "start": 1777904538831, "stop": 1777904538856}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(args-entrance_id)", "source": "dad53adc-e68a-4807-954e-0291ea43832d-attachment.txt", "type": "text/plain"}], "start": 1777904538856, "stop": 1777904538887}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(args-entrance_ids)", "source": "0fa6f5ba-77ad-4170-8e8b-4067d253360d-attachment.txt", "type": "text/plain"}], "start": 1777904538887, "stop": 1777904538911}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(dto-entrance_id)", "source": "c0d9f836-6a5c-4e3b-b8fa-315485a92aa1-attachment.txt", "type": "text/plain"}], "start": 1777904538911, "stop": 1777904538936}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(dto-entrance_ids)", "source": "d9d76cdf-5c91-468d-b000-4d73563290ae-attachment.txt", "type": "text/plain"}], "start": 1777904538937, "stop": 1777904538964}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(args-entrance_id)", "source": "d9e11086-c94f-48e1-b610-2a39505b4208-attachment.txt", "type": "text/plain"}], "start": 1777904538964, "stop": 1777904538994}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(args-entrance_ids)", "source": "5aea3288-0cf5-4b63-847c-5946225f3b47-attachment.txt", "type": "text/plain"}], "start": 1777904538994, "stop": 1777904539019}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(dto-entrance_id)", "source": "11d0bb0e-8fc7-48a6-bc48-58efeaff518a-attachment.txt", "type": "text/plain"}], "start": 1777904539019, "stop": 1777904539045}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(dto-entrance_ids)", "source": "146f78aa-3644-43a5-906b-2629fc074a65-attachment.txt", "type": "text/plain"}], "start": 1777904539045, "stop": 1777904539074}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(args-entrance_id)", "source": "5fbb1798-bd86-4fb4-a2a6-fa159ff0f8a0-attachment.txt", "type": "text/plain"}], "start": 1777904539074, "stop": 1777904539103}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(args-entrance_ids)", "source": "45e54ccd-8bc0-47ae-8a0c-67cc5950916f-attachment.txt", "type": "text/plain"}], "start": 1777904539103, "stop": 1777904539130}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(dto-entrance_id)", "source": "b90141f1-630c-4d12-878f-0beff45c4596-attachment.txt", "type": "text/plain"}], "start": 1777904539130, "stop": 1777904539154}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(dto-entrance_ids)", "source": "f9fbe593-6b7b-4fa6-9a51-932d6400dc37-attachment.txt", "type": "text/plain"}], "start": 1777904539154, "stop": 1777904539178}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(args-entrance_id)", "source": "a8e857af-1fc5-4d18-a47e-853afa2a80f7-attachment.txt", "type": "text/plain"}], "start": 1777904539178, "stop": 1777904539203}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(args-entrance_ids)", "source": "167662d6-a244-4481-b424-acbeff3db187-attachment.txt", "type": "text/plain"}], "start": 1777904539203, "stop": 1777904539224}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(dto-entrance_id)", "source": "4d192eb3-c7d2-4663-ac3b-053b790dbecc-attachment.txt", "type": "text/plain"}], "start": 1777904539224, "stop": 1777904539263}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(dto-entrance_ids)", "source": "e6983bf7-4b8c-4827-a256-481c32cfb528-attachment.txt", "type": "text/plain"}], "start": 1777904539263, "stop": 1777904539290}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(args-entrance_id)", "source": "3c8f3874-0f5a-48ad-91cc-63c31d25f694-attachment.txt", "type": "text/plain"}], "start": 1777904539290, "stop": 1777904539315}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(args-entrance_ids)", "source": "e31a4e6c-dcc8-440e-8593-dd670eff455f-attachment.txt", "type": "text/plain"}], "start": 1777904539315, "stop": 1777904539348}, {"name": "GraphQL: createPass (variant 1)", "status": "passed", "attachments": [{"name": "RuntimeError: createPass(v1)", "source": "d1634603-13ae-4ea2-80e5-4dddf0ccf49f-attachment.txt", "type": "text/plain"}], "start": 1777904539349, "stop": 1777904539391}, {"name": "GraphQL: createPass (variant 2)", "status": "passed", "attachments": [{"name": "RuntimeError: createPass(v2)", "source": "1840a9f1-2ac1-4f40-8870-8e88e49389be-attachment.txt", "type": "text/plain"}], "start": 1777904539391, "stop": 1777904539415}, {"name": "GraphQL: createPass (variant 3)", "status": "passed", "attachments": [{"name": "RuntimeError: createPass(v3)", "source": "11a98755-14a4-4b79-a948-da0e2d60e567-attachment.txt", "type": "text/plain"}], "start": 1777904539415, "stop": 1777904539439}, {"name": "GraphQL: createPass (variant 4)", "status": "passed", "attachments": [{"name": "RuntimeError: createPass(v4)", "source": "c08909f5-90a9-4e15-8218-792201aeed7b-attachment.txt", "type": "text/plain"}], "start": 1777904539439, "stop": 1777904539460}], "attachments": [{"name": "Entrance link not supported on this stand", "source": "d27b052f-bdb3-4c41-ba04-933bb0bd48de-attachment.txt", "type": "text/plain"}], "start": 1777904538807, "stop": 1777904539464}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777904539465, "stop": 1777904539647}, {"name": "Cleanup: _cleanup_unbind_and_delete_service", "status": "passed", "start": 1777904539647, "stop": 1777904539723}, {"name": "Cleanup: _cleanup_delete_entrance", "status": "passed", "start": 1777904539724, "stop": 1777904539796}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904539796, "stop": 1777904539850}, {"name": "When query passRequests by created pass_id", "status": "skipped", "start": 1777904539853, "stop": 1777904539853}, {"name": "Then passRequests response contains created pass", "status": "skipped", "start": 1777904539853, "stop": 1777904539853}], "start": 1777904537539, "stop": 1777904539853, "uuid": "6b716f77-9bba-4805-a42a-2391e77991a3", "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"]} |