Noob_test/allure-results/312afd82-9933-4d5e-b660-f0a173c5ff75-result.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: \"24bab897-3c77-40bb-9bd5-d25309cd830e\" } 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: \"24bab897-3c77-40bb-9bd5-d25309cd830e\" } 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 1438, in create_pass\n raise AssertionError(f\"createPass не удалось ни одним вариантом input. Последняя ошибка: {last_error}\")\n"}, "steps": [{"name": "When get access token", "status": "passed", "start": 1777904421182, "stop": 1777904421507}, {"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": "a40fdec0-656a-4a5d-b9c8-d74efe3c5c3d-attachment.json", "type": "application/json"}], "start": 1777904421509, "stop": 1777904421571}, {"name": "GraphQL: createPlaceMultiple (entrance place, parent_id=69f8ab25037d44249d0d1096)", "status": "passed", "attachments": [{"name": "RuntimeError: createPlaceMultiple(entrance)", "source": "4d0111de-6361-4476-8448-299810af7c9e-attachment.txt", "type": "text/plain"}], "start": 1777904421571, "stop": 1777904421603}, {"name": "GraphQL: createPlaceMultiple (entrance place, parent_id=6915dc03462d5aea0adc8cbd)", "status": "passed", "attachments": [{"name": "createPlaceMultiple(entrance) response", "source": "ef927f55-a1e6-4946-9709-884ae71479b8-attachment.json", "type": "application/json"}], "start": 1777904421603, "stop": 1777904421646}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(dto-entrance_id)", "source": "489cee87-e145-49f8-bd23-d04e2f556147-attachment.txt", "type": "text/plain"}], "start": 1777904421679, "stop": 1777904421713}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(dto-entrance_ids)", "source": "9f926408-f4b9-4989-a8f7-4a4f9138ac9e-attachment.txt", "type": "text/plain"}], "start": 1777904421713, "stop": 1777904421753}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(args-entrance_id)", "source": "e43d00a0-37ba-4798-a7c7-144e9c460e9b-attachment.txt", "type": "text/plain"}], "start": 1777904421753, "stop": 1777904421792}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(args-entrance_ids)", "source": "ef03b7b3-907c-46e7-b7e1-206e2feb61ad-attachment.txt", "type": "text/plain"}], "start": 1777904421792, "stop": 1777904421817}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(dto-entrance_id)", "source": "3c8ff3f4-3ea5-4791-8d5b-3ea165df904a-attachment.txt", "type": "text/plain"}], "start": 1777904421817, "stop": 1777904421845}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(dto-entrance_ids)", "source": "920ca07c-9eda-45ef-b1af-26f434ba76fc-attachment.txt", "type": "text/plain"}], "start": 1777904421845, "stop": 1777904421873}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(args-entrance_id)", "source": "fc52d09b-c5de-4b75-a2a2-3c09d70d1886-attachment.txt", "type": "text/plain"}], "start": 1777904421873, "stop": 1777904421897}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(args-entrance_ids)", "source": "2fec0d67-f9e0-4771-81b6-62b5acd9ed93-attachment.txt", "type": "text/plain"}], "start": 1777904421897, "stop": 1777904421930}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(dto-entrance_id)", "source": "3af90cf3-4c65-4e0c-9fea-f14a5ea59922-attachment.txt", "type": "text/plain"}], "start": 1777904421930, "stop": 1777904421961}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(dto-entrance_ids)", "source": "8443d00d-1630-46b8-8aec-0485fd1e38e5-attachment.txt", "type": "text/plain"}], "start": 1777904421961, "stop": 1777904421989}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(args-entrance_id)", "source": "b786588e-fb4b-4f14-ba70-0b369211d7f7-attachment.txt", "type": "text/plain"}], "start": 1777904421989, "stop": 1777904422014}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(args-entrance_ids)", "source": "db12c274-ecf0-4697-b5de-ffc99dcb172d-attachment.txt", "type": "text/plain"}], "start": 1777904422014, "stop": 1777904422041}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(dto-entrance_id)", "source": "bd897ecc-5239-49ff-99f6-075363eb51db-attachment.txt", "type": "text/plain"}], "start": 1777904422041, "stop": 1777904422067}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(dto-entrance_ids)", "source": "16e3e413-e687-47a9-9d86-0a4236f4ae91-attachment.txt", "type": "text/plain"}], "start": 1777904422067, "stop": 1777904422091}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(args-entrance_id)", "source": "b506de63-e755-4158-8f1e-b8b1dde0f015-attachment.txt", "type": "text/plain"}], "start": 1777904422091, "stop": 1777904422116}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(args-entrance_ids)", "source": "4512e89e-e293-4e16-861c-1da8e99331f7-attachment.txt", "type": "text/plain"}], "start": 1777904422116, "stop": 1777904422145}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(dto-entrance_id)", "source": "aaccb027-79af-4dad-90a5-1bd6682cc063-attachment.txt", "type": "text/plain"}], "start": 1777904422145, "stop": 1777904422170}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(dto-entrance_ids)", "source": "227738e4-5558-43e8-838f-b4051093cd0f-attachment.txt", "type": "text/plain"}], "start": 1777904422170, "stop": 1777904422196}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(args-entrance_id)", "source": "42ce38e3-b596-4d42-b111-c30c007f91f0-attachment.txt", "type": "text/plain"}], "start": 1777904422196, "stop": 1777904422238}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(args-entrance_ids)", "source": "575af3f2-2cbd-4446-b383-80e0c0afd3a7-attachment.txt", "type": "text/plain"}], "start": 1777904422239, "stop": 1777904422266}, {"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "ce0006d3-5403-4ff0-8eb8-9f899c62335d-attachment.json", "type": "application/json"}], "start": 1777904422268, "stop": 1777904422305}, {"name": "GraphQL: addPlaceToService", "status": "passed", "attachments": [{"name": "addPlaceToService response", "source": "35279175-be02-416f-bb8b-931f0597fcee-attachment.json", "type": "application/json"}], "start": 1777904422305, "stop": 1777904422338}, {"name": "GraphQL: createUser (for pass target)", "status": "passed", "attachments": [{"name": "createUser response", "source": "c752ca1e-e0d0-48f0-93cb-99cf6b73a32c-attachment.json", "type": "application/json"}], "start": 1777904422338, "stop": 1777904422387}, {"name": "GraphQL: addUserToPlace (attach user to pass place)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "8b4cd06f-52ee-4d2b-ac83-8ce73970c6e4-attachment.json", "type": "application/json"}], "start": 1777904422387, "stop": 1777904422465}], "attachments": [{"name": "Entrance link not supported on this stand", "source": "f1db01c2-3716-4e7b-85e0-fd306d7e50a1-attachment.txt", "type": "text/plain"}], "start": 1777904421507, "stop": 1777904422465}, {"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: \"24bab897-3c77-40bb-9bd5-d25309cd830e\" } 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: \"24bab897-3c77-40bb-9bd5-d25309cd830e\" } 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 1438, 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": "2f5038bb-2ef8-477c-837f-44b72c827f6e-attachment.txt", "type": "text/plain"}], "start": 1777904422466, "stop": 1777904422489}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(dto-entrance_ids)", "source": "49ad353d-2f77-4852-923e-15a36c6f6dc5-attachment.txt", "type": "text/plain"}], "start": 1777904422489, "stop": 1777904422513}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(args-entrance_id)", "source": "5fe6e595-37a9-4176-a7eb-d60ab8dac585-attachment.txt", "type": "text/plain"}], "start": 1777904422513, "stop": 1777904422542}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(args-entrance_ids)", "source": "3562a470-7047-4209-be66-89267ca96bc8-attachment.txt", "type": "text/plain"}], "start": 1777904422542, "stop": 1777904422566}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(dto-entrance_id)", "source": "f6d7ce3a-9bec-4c1c-bb5b-02a72d8bd90f-attachment.txt", "type": "text/plain"}], "start": 1777904422566, "stop": 1777904422590}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(dto-entrance_ids)", "source": "8df5dc97-4fc5-46a7-95f8-ccee09ae8cdb-attachment.txt", "type": "text/plain"}], "start": 1777904422590, "stop": 1777904422616}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(args-entrance_id)", "source": "33b161ec-c7ca-42cf-8055-9e0de3479c5b-attachment.txt", "type": "text/plain"}], "start": 1777904422616, "stop": 1777904422637}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(args-entrance_ids)", "source": "e2b66b15-f633-4d18-b6c7-475c1ae08e70-attachment.txt", "type": "text/plain"}], "start": 1777904422637, "stop": 1777904422672}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(dto-entrance_id)", "source": "d2d7d300-b5b3-482d-81be-6552bbadfd5c-attachment.txt", "type": "text/plain"}], "start": 1777904422672, "stop": 1777904422702}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(dto-entrance_ids)", "source": "862f3a18-5d1d-4cb1-b212-260af8e570b8-attachment.txt", "type": "text/plain"}], "start": 1777904422702, "stop": 1777904422724}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(args-entrance_id)", "source": "f69ec7b4-b907-4d50-9000-6cfc355ce9cb-attachment.txt", "type": "text/plain"}], "start": 1777904422724, "stop": 1777904422761}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(args-entrance_ids)", "source": "0ef0e898-436d-47c6-8240-5a4aa2b6da65-attachment.txt", "type": "text/plain"}], "start": 1777904422761, "stop": 1777904422794}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(dto-entrance_id)", "source": "ffe79d06-09d5-4938-8b8f-7c67f0b8f40f-attachment.txt", "type": "text/plain"}], "start": 1777904422794, "stop": 1777904422819}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(dto-entrance_ids)", "source": "81db046c-1505-4d1e-a563-f98bf77d6e6f-attachment.txt", "type": "text/plain"}], "start": 1777904422820, "stop": 1777904422847}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(args-entrance_id)", "source": "815d979a-22fb-4e59-af0c-cd795787f121-attachment.txt", "type": "text/plain"}], "start": 1777904422847, "stop": 1777904422874}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(args-entrance_ids)", "source": "b8c94d9c-640f-448f-95ac-1173962ee80e-attachment.txt", "type": "text/plain"}], "start": 1777904422874, "stop": 1777904422898}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(dto-entrance_id)", "source": "c6a22809-285c-4e28-96a5-2bedc31e0d8d-attachment.txt", "type": "text/plain"}], "start": 1777904422898, "stop": 1777904422921}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(dto-entrance_ids)", "source": "ee39f277-9f16-42df-838f-efc8188ad32c-attachment.txt", "type": "text/plain"}], "start": 1777904422921, "stop": 1777904422956}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(args-entrance_id)", "source": "a9cb7a26-4839-4913-a5b7-1815f894f9e2-attachment.txt", "type": "text/plain"}], "start": 1777904422956, "stop": 1777904422981}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(args-entrance_ids)", "source": "0db505aa-b910-494d-a9b7-776eeff3b30d-attachment.txt", "type": "text/plain"}], "start": 1777904422981, "stop": 1777904423022}, {"name": "GraphQL: createPass (variant 1)", "status": "passed", "attachments": [{"name": "RuntimeError: createPass(v1)", "source": "bed634cb-3546-4942-ad47-9d1de3f22057-attachment.txt", "type": "text/plain"}], "start": 1777904423023, "stop": 1777904423065}, {"name": "GraphQL: createPass (variant 2)", "status": "passed", "attachments": [{"name": "RuntimeError: createPass(v2)", "source": "6e96600f-4952-4e08-9db4-bb825d22a133-attachment.txt", "type": "text/plain"}], "start": 1777904423065, "stop": 1777904423121}, {"name": "GraphQL: createPass (variant 3)", "status": "passed", "attachments": [{"name": "RuntimeError: createPass(v3)", "source": "a746e2ba-3965-45f5-977f-cb30e7e1770e-attachment.txt", "type": "text/plain"}], "start": 1777904423121, "stop": 1777904423180}, {"name": "GraphQL: createPass (variant 4)", "status": "passed", "attachments": [{"name": "RuntimeError: createPass(v4)", "source": "71b8ef05-64d2-4f1d-9dbb-173865d1cf69-attachment.txt", "type": "text/plain"}], "start": 1777904423180, "stop": 1777904423217}], "attachments": [{"name": "Entrance link not supported on this stand", "source": "8dbac9ee-5c64-480a-9a73-f845804aafa4-attachment.txt", "type": "text/plain"}], "start": 1777904422465, "stop": 1777904423223}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777904423223, "stop": 1777904423514}, {"name": "Cleanup: _cleanup_unbind_and_delete_service", "status": "passed", "start": 1777904423514, "stop": 1777904423608}, {"name": "Cleanup: _cleanup_delete_entrance", "status": "passed", "start": 1777904423608, "stop": 1777904423663}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904423664, "stop": 1777904423709}, {"name": "When query passRequests by created pass_id", "status": "skipped", "start": 1777904423711, "stop": 1777904423711}, {"name": "Then passRequests response contains created pass", "status": "skipped", "start": 1777904423711, "stop": 1777904423711}], "start": 1777904421180, "stop": 1777904423711, "uuid": "e5545630-983e-4fa3-ab23-deffb9b357e7", "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"]}