Noob_test/allure-results/52774a30-c973-45e7-b7db-9862021bb343-result.json

1 line
13 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"name": "passRequests returns results for created pass", "status": "failed", "statusDetails": {"message": "AssertionError: Не удалось связать entrance с place. entrance_id='69f8a97a037d44249d0d0f04', place_id='69f8a97a17bb1e0c5fc4d96b'. Попробовали: ['addEntranceToPlace/dto-entrance_id', 'addEntranceToPlace/dto-entrance_ids', 'addEntranceToPlace/args-entrance_id', 'addEntranceToPlace/args-entrance_ids', 'attachEntranceToPlace/dto-entrance_id', 'attachEntranceToPlace/dto-entrance_ids', 'attachEntranceToPlace/args-entrance_id', 'attachEntranceToPlace/args-entrance_ids', 'setPlaceEntrances/dto-entrance_id', 'setPlaceEntrances/dto-entrance_ids', 'setPlaceEntrances/args-entrance_id', 'setPlaceEntrances/args-entrance_ids', 'addPlaceEntrance/dto-entrance_id', 'addPlaceEntrance/dto-entrance_ids', 'addPlaceEntrance/args-entrance_id', 'addPlaceEntrance/args-entrance_ids', 'connectEntranceToPlace/dto-entrance_id', 'connectEntranceToPlace/dto-entrance_ids', 'connectEntranceToPlace/args-entrance_id', 'connectEntranceToPlace/args-entrance_ids']. Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Cannot query field \\\"connectEntranceToPlace\\\" on type \\\"Mutation\\\".\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"}]}\n\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 14, in step_prepare_pass_prereqs\n td.ensure_entrance_connected_to_places(place_ids=[td.place_id] if td.place_id else [])\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 431, in ensure_entrance_connected_to_places\n self._connect_entrance_to_place(entrance_id=entrance_id, place_id=pid)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 422, in _connect_entrance_to_place\n raise AssertionError(\n ...<2 lines>...\n )\n"}, "steps": [{"name": "When get access token", "status": "passed", "start": 1777903994096, "stop": 1777903994420}, {"name": "And prepare place, entrance, service and user for pass", "status": "failed", "statusDetails": {"message": "AssertionError: Не удалось связать entrance с place. entrance_id='69f8a97a037d44249d0d0f04', place_id='69f8a97a17bb1e0c5fc4d96b'. Попробовали: ['addEntranceToPlace/dto-entrance_id', 'addEntranceToPlace/dto-entrance_ids', 'addEntranceToPlace/args-entrance_id', 'addEntranceToPlace/args-entrance_ids', 'attachEntranceToPlace/dto-entrance_id', 'attachEntranceToPlace/dto-entrance_ids', 'attachEntranceToPlace/args-entrance_id', 'attachEntranceToPlace/args-entrance_ids', 'setPlaceEntrances/dto-entrance_id', 'setPlaceEntrances/dto-entrance_ids', 'setPlaceEntrances/args-entrance_id', 'setPlaceEntrances/args-entrance_ids', 'addPlaceEntrance/dto-entrance_id', 'addPlaceEntrance/dto-entrance_ids', 'addPlaceEntrance/args-entrance_id', 'addPlaceEntrance/args-entrance_ids', 'connectEntranceToPlace/dto-entrance_id', 'connectEntranceToPlace/dto-entrance_ids', 'connectEntranceToPlace/args-entrance_id', 'connectEntranceToPlace/args-entrance_ids']. Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Cannot query field \\\"connectEntranceToPlace\\\" on type \\\"Mutation\\\".\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"}]}\n\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 14, in step_prepare_pass_prereqs\n td.ensure_entrance_connected_to_places(place_ids=[td.place_id] if td.place_id else [])\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 431, in ensure_entrance_connected_to_places\n self._connect_entrance_to_place(entrance_id=entrance_id, place_id=pid)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 422, in _connect_entrance_to_place\n raise AssertionError(\n ...<2 lines>...\n )\n"}, "steps": [{"name": "GraphQL: createPlaceMultiple (main place)", "status": "passed", "attachments": [{"name": "createPlaceMultiple(main) response", "source": "785beae2-d85e-4c3e-bd07-5c1e64029615-attachment.json", "type": "application/json"}], "start": 1777903994422, "stop": 1777903994488}, {"name": "GraphQL: createPlaceMultiple (entrance place)", "status": "passed", "attachments": [{"name": "createPlaceMultiple(entrance) response", "source": "f60b9275-fd9d-4c01-b5d5-fdff56d8b202-attachment.json", "type": "application/json"}], "start": 1777903994488, "stop": 1777903994532}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(dto-entrance_id)", "source": "3fa564b7-95aa-41a5-a7a7-7b96d7ed5653-attachment.txt", "type": "text/plain"}], "start": 1777903994557, "stop": 1777903994584}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(dto-entrance_ids)", "source": "eacad7d7-77a4-4b47-989b-39966dd13982-attachment.txt", "type": "text/plain"}], "start": 1777903994584, "stop": 1777903994619}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(args-entrance_id)", "source": "67744626-3514-4229-ac0d-5c7c55037b68-attachment.txt", "type": "text/plain"}], "start": 1777903994619, "stop": 1777903994647}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(args-entrance_ids)", "source": "2133faed-b13d-45c1-b550-d254a4ca747a-attachment.txt", "type": "text/plain"}], "start": 1777903994647, "stop": 1777903994680}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(dto-entrance_id)", "source": "8a7e438f-a587-45ce-8dcb-375e062fb901-attachment.txt", "type": "text/plain"}], "start": 1777903994680, "stop": 1777903994709}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(dto-entrance_ids)", "source": "cd9ee913-ef9d-4f42-8917-3ff41b10a319-attachment.txt", "type": "text/plain"}], "start": 1777903994709, "stop": 1777903994731}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(args-entrance_id)", "source": "da85e783-fb78-4a07-8406-3068de67c603-attachment.txt", "type": "text/plain"}], "start": 1777903994731, "stop": 1777903994755}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(args-entrance_ids)", "source": "00ddb035-4fdb-4c78-8c73-19b024e81c6b-attachment.txt", "type": "text/plain"}], "start": 1777903994755, "stop": 1777903994780}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(dto-entrance_id)", "source": "3662fbb5-0108-458a-b021-240b3b8b69fc-attachment.txt", "type": "text/plain"}], "start": 1777903994780, "stop": 1777903994804}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(dto-entrance_ids)", "source": "96e254a7-28a1-4184-992b-09cca1d9d3ee-attachment.txt", "type": "text/plain"}], "start": 1777903994804, "stop": 1777903994829}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(args-entrance_id)", "source": "6a8867d5-14c9-4a5a-8f87-ebadbd69c997-attachment.txt", "type": "text/plain"}], "start": 1777903994829, "stop": 1777903994854}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(args-entrance_ids)", "source": "cce78e97-3b11-4f29-972d-f9da5857e78d-attachment.txt", "type": "text/plain"}], "start": 1777903994854, "stop": 1777903994875}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(dto-entrance_id)", "source": "996d6416-055a-4ce3-9542-3c7583a4a428-attachment.txt", "type": "text/plain"}], "start": 1777903994875, "stop": 1777903994896}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(dto-entrance_ids)", "source": "697a69ab-54f7-49b9-9701-d812bb6d6d15-attachment.txt", "type": "text/plain"}], "start": 1777903994896, "stop": 1777903994923}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(args-entrance_id)", "source": "6a665874-261d-4374-9980-3e68f0248464-attachment.txt", "type": "text/plain"}], "start": 1777903994923, "stop": 1777903994949}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(args-entrance_ids)", "source": "630d8c57-9ae6-4dbe-aa1f-a08c0641d4a2-attachment.txt", "type": "text/plain"}], "start": 1777903994949, "stop": 1777903994975}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(dto-entrance_id)", "source": "a7cec491-cf1f-4e8f-95a0-a34917186932-attachment.txt", "type": "text/plain"}], "start": 1777903994975, "stop": 1777903995004}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(dto-entrance_ids)", "source": "93057fa5-29c1-47c6-9064-84c9dcb23332-attachment.txt", "type": "text/plain"}], "start": 1777903995004, "stop": 1777903995030}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(args-entrance_id)", "source": "76d6520a-bf4c-4675-9f12-0f48f2880ef3-attachment.txt", "type": "text/plain"}], "start": 1777903995030, "stop": 1777903995057}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(args-entrance_ids)", "source": "62cb78bf-a3d2-4637-bd71-44c5af22efe2-attachment.txt", "type": "text/plain"}], "start": 1777903995057, "stop": 1777903995081}], "start": 1777903994420, "stop": 1777903995085}, {"name": "Cleanup: _cleanup_delete_entrance", "status": "passed", "start": 1777903995085, "stop": 1777903995164}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777903995164, "stop": 1777903995244}, {"name": "And create pass for prepared place", "status": "skipped", "start": 1777903995247, "stop": 1777903995247}, {"name": "When query passRequests by created pass_id", "status": "skipped", "start": 1777903995247, "stop": 1777903995247}, {"name": "Then passRequests response contains created pass", "status": "skipped", "start": 1777903995247, "stop": 1777903995247}], "start": 1777903994094, "stop": 1777903995247, "uuid": "e8e135e8-c7b4-4ca0-8cf2-4a250567e2ee", "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"]}