Noob_test/allure-results/0aa71a3f-e6f5-4083-98ac-215fa3d3016c-result.json

1 line
20 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: Не удалось определить account_id текущего пользователя (tester). Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Cannot query field \\\"profile\\\" on type \\\"Query\\\".\",\"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 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 1354, in create_pass\n user_id = self._get_my_account_id()\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 471, in _get_my_account_id\n raise AssertionError(f\"Не удалось определить account_id текущего пользователя (tester). Последняя ошибка: {last_error}\")\n"}, "steps": [{"name": "When get access token", "status": "passed", "start": 1777904184100, "stop": 1777904184429}, {"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": "b0db67d2-164d-4064-b479-23fe76c6d7cc-attachment.json", "type": "application/json"}], "start": 1777904184431, "stop": 1777904184477}, {"name": "GraphQL: createPlaceMultiple (entrance place)", "status": "passed", "attachments": [{"name": "createPlaceMultiple(entrance) response", "source": "eb9af314-9bef-4222-a0b5-3fb018388298-attachment.json", "type": "application/json"}], "start": 1777904184477, "stop": 1777904184522}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(dto-entrance_id)", "source": "232244fe-391f-468f-8995-209f83a09c0e-attachment.txt", "type": "text/plain"}], "start": 1777904184545, "stop": 1777904184574}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(dto-entrance_ids)", "source": "5dad82a3-e01a-445f-8a37-949547367b9c-attachment.txt", "type": "text/plain"}], "start": 1777904184574, "stop": 1777904184598}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(args-entrance_id)", "source": "568f3335-2f0f-4839-8a7f-c7957e3a4840-attachment.txt", "type": "text/plain"}], "start": 1777904184598, "stop": 1777904184628}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(args-entrance_ids)", "source": "400fdeca-78b9-474e-8dfc-e2ab25c8e5dd-attachment.txt", "type": "text/plain"}], "start": 1777904184628, "stop": 1777904184654}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(dto-entrance_id)", "source": "b89e7e02-0d0b-4fe9-b46f-de36218314a3-attachment.txt", "type": "text/plain"}], "start": 1777904184654, "stop": 1777904184680}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(dto-entrance_ids)", "source": "4bb921e5-e360-43a5-9b80-8260d1f9e063-attachment.txt", "type": "text/plain"}], "start": 1777904184680, "stop": 1777904184710}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(args-entrance_id)", "source": "39329aa1-c548-4cc9-861a-196dbed10aa9-attachment.txt", "type": "text/plain"}], "start": 1777904184710, "stop": 1777904184735}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(args-entrance_ids)", "source": "868092fd-ccfd-4d8a-a2ef-6d117a3ee170-attachment.txt", "type": "text/plain"}], "start": 1777904184735, "stop": 1777904184762}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(dto-entrance_id)", "source": "a90339cd-f578-4451-8b0b-0b0f33584df2-attachment.txt", "type": "text/plain"}], "start": 1777904184762, "stop": 1777904184790}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(dto-entrance_ids)", "source": "12a7b675-9c5d-45a4-b71c-596a360ff442-attachment.txt", "type": "text/plain"}], "start": 1777904184790, "stop": 1777904184818}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(args-entrance_id)", "source": "7e7f72c1-3836-4e66-b8ed-678ec24ffa07-attachment.txt", "type": "text/plain"}], "start": 1777904184818, "stop": 1777904184844}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(args-entrance_ids)", "source": "1e3f1238-d630-4682-af37-1e7be507f5ca-attachment.txt", "type": "text/plain"}], "start": 1777904184844, "stop": 1777904184888}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(dto-entrance_id)", "source": "2f99d807-7ce8-4912-8bf7-328b55991716-attachment.txt", "type": "text/plain"}], "start": 1777904184888, "stop": 1777904184911}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(dto-entrance_ids)", "source": "2c26f5f1-6a5b-4975-be2e-6d03f6280ab7-attachment.txt", "type": "text/plain"}], "start": 1777904184911, "stop": 1777904184946}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(args-entrance_id)", "source": "b24fe856-4e3d-4cd5-94c0-4cbe5059e3f9-attachment.txt", "type": "text/plain"}], "start": 1777904184946, "stop": 1777904184972}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(args-entrance_ids)", "source": "e966ae00-3b56-40fe-b510-4c2c01da16cc-attachment.txt", "type": "text/plain"}], "start": 1777904184972, "stop": 1777904184997}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(dto-entrance_id)", "source": "269116d4-858d-4355-a9c0-32919a9a045d-attachment.txt", "type": "text/plain"}], "start": 1777904184997, "stop": 1777904185029}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(dto-entrance_ids)", "source": "5a51857a-1000-47d4-b810-f0c8e7273454-attachment.txt", "type": "text/plain"}], "start": 1777904185029, "stop": 1777904185053}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(args-entrance_id)", "source": "c4b2a953-f767-4558-b927-b9567bc72e6b-attachment.txt", "type": "text/plain"}], "start": 1777904185053, "stop": 1777904185079}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(args-entrance_ids)", "source": "1358adab-35ca-478a-8663-cc38dfd7a948-attachment.txt", "type": "text/plain"}], "start": 1777904185079, "stop": 1777904185105}, {"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "991a65b7-befe-44b8-9c6f-fbf737f9a832-attachment.json", "type": "application/json"}], "start": 1777904185106, "stop": 1777904185147}, {"name": "GraphQL: addPlaceToService", "status": "passed", "attachments": [{"name": "addPlaceToService response", "source": "aa1b34e1-a033-465f-a41c-2dd30d8cf478-attachment.json", "type": "application/json"}], "start": 1777904185147, "stop": 1777904185185}, {"name": "GraphQL: createUser (for pass target)", "status": "passed", "attachments": [{"name": "createUser response", "source": "0fcf30cb-726d-4577-a2ff-5dbee187840d-attachment.json", "type": "application/json"}], "start": 1777904185185, "stop": 1777904185226}, {"name": "GraphQL: addUserToPlace (attach user to place)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "611a8780-a31c-4de0-be7d-5687a701f3d4-attachment.json", "type": "application/json"}], "start": 1777904185226, "stop": 1777904185323}], "attachments": [{"name": "Entrance link not supported on this stand", "source": "52c69fbb-480e-4645-b778-1c77e58471c4-attachment.txt", "type": "text/plain"}], "start": 1777904184429, "stop": 1777904185323}, {"name": "And create pass for prepared place", "status": "failed", "statusDetails": {"message": "AssertionError: Не удалось определить account_id текущего пользователя (tester). Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Cannot query field \\\"profile\\\" on type \\\"Query\\\".\",\"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 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 1354, in create_pass\n user_id = self._get_my_account_id()\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 471, in _get_my_account_id\n raise AssertionError(f\"Не удалось определить account_id текущего пользователя (tester). Последняя ошибка: {last_error}\")\n"}, "steps": [{"name": "GraphQL: connect entrance to place (addEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(dto-entrance_id)", "source": "636e6946-15b6-4630-b572-49ac1142cbcd-attachment.txt", "type": "text/plain"}], "start": 1777904185325, "stop": 1777904185351}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(dto-entrance_ids)", "source": "5d99d472-a939-4cbd-896a-9d6fc53663e6-attachment.txt", "type": "text/plain"}], "start": 1777904185351, "stop": 1777904185376}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(args-entrance_id)", "source": "da3b60a8-682a-45c0-9599-f83d5d2d3b23-attachment.txt", "type": "text/plain"}], "start": 1777904185376, "stop": 1777904185402}, {"name": "GraphQL: connect entrance to place (addEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addEntranceToPlace(args-entrance_ids)", "source": "ff269d63-f833-43bb-aacb-06d33ba0bcf8-attachment.txt", "type": "text/plain"}], "start": 1777904185402, "stop": 1777904185431}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(dto-entrance_id)", "source": "f7b64f0c-a02e-40fb-a9e7-5e20c29304de-attachment.txt", "type": "text/plain"}], "start": 1777904185431, "stop": 1777904185463}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(dto-entrance_ids)", "source": "5c9cd9c6-3e68-4f39-9a62-a61765ea6fff-attachment.txt", "type": "text/plain"}], "start": 1777904185463, "stop": 1777904185495}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(args-entrance_id)", "source": "fa356a8d-eeb9-4ca0-91fe-9a8f12a2456f-attachment.txt", "type": "text/plain"}], "start": 1777904185495, "stop": 1777904185522}, {"name": "GraphQL: connect entrance to place (attachEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: attachEntranceToPlace(args-entrance_ids)", "source": "51515d19-6675-49d7-aeda-3263cfd24d80-attachment.txt", "type": "text/plain"}], "start": 1777904185522, "stop": 1777904185545}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(dto-entrance_id)", "source": "e13b086c-a982-4977-8715-48807e999b3c-attachment.txt", "type": "text/plain"}], "start": 1777904185545, "stop": 1777904185569}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(dto-entrance_ids)", "source": "921b8bb8-db56-4c96-ae70-6fecfda85df0-attachment.txt", "type": "text/plain"}], "start": 1777904185569, "stop": 1777904185595}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(args-entrance_id)", "source": "8bbc095b-cf39-45d1-bf45-adcde8cd8928-attachment.txt", "type": "text/plain"}], "start": 1777904185595, "stop": 1777904185629}, {"name": "GraphQL: connect entrance to place (setPlaceEntrances/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: setPlaceEntrances(args-entrance_ids)", "source": "ec50318c-63d8-414d-b1f7-92bebf64410f-attachment.txt", "type": "text/plain"}], "start": 1777904185629, "stop": 1777904185653}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(dto-entrance_id)", "source": "5506446a-b970-46ca-b4d5-171b993744a5-attachment.txt", "type": "text/plain"}], "start": 1777904185653, "stop": 1777904185680}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(dto-entrance_ids)", "source": "70cde74e-223a-4b9c-a255-780e8c9df58d-attachment.txt", "type": "text/plain"}], "start": 1777904185680, "stop": 1777904185707}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(args-entrance_id)", "source": "f78aac3b-7dec-4049-8f6b-7278d57e1d51-attachment.txt", "type": "text/plain"}], "start": 1777904185707, "stop": 1777904185732}, {"name": "GraphQL: connect entrance to place (addPlaceEntrance/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: addPlaceEntrance(args-entrance_ids)", "source": "08648996-9247-4960-9ea0-bf7444bf4ab5-attachment.txt", "type": "text/plain"}], "start": 1777904185732, "stop": 1777904185757}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/dto-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(dto-entrance_id)", "source": "fe2d2643-8bce-463b-852f-dfe489722a32-attachment.txt", "type": "text/plain"}], "start": 1777904185757, "stop": 1777904185779}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/dto-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(dto-entrance_ids)", "source": "86b26786-64cf-4009-9fa3-f9c6c11a05e7-attachment.txt", "type": "text/plain"}], "start": 1777904185779, "stop": 1777904185810}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/args-entrance_id)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(args-entrance_id)", "source": "4a03f72d-02ce-4f8f-b3cd-40fbb35a6977-attachment.txt", "type": "text/plain"}], "start": 1777904185810, "stop": 1777904185878}, {"name": "GraphQL: connect entrance to place (connectEntranceToPlace/args-entrance_ids)", "status": "passed", "attachments": [{"name": "RuntimeError: connectEntranceToPlace(args-entrance_ids)", "source": "2a14f0fc-99e8-4489-a3ae-dc0a07524f06-attachment.txt", "type": "text/plain"}], "start": 1777904185878, "stop": 1777904185911}, {"name": "GraphQL: get my account id (me)", "status": "passed", "start": 1777904185912, "stop": 1777904185944}, {"name": "GraphQL: get my account id (account)", "status": "passed", "start": 1777904185944, "stop": 1777904185968}, {"name": "GraphQL: get my account id (viewer)", "status": "passed", "start": 1777904185968, "stop": 1777904185993}, {"name": "GraphQL: get my account id (profile.account)", "status": "passed", "start": 1777904185993, "stop": 1777904186017}], "attachments": [{"name": "Entrance link not supported on this stand", "source": "d0d5756f-0f9c-495a-ab40-38ea2b869373-attachment.txt", "type": "text/plain"}], "start": 1777904185323, "stop": 1777904186020}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777904186020, "stop": 1777904186298}, {"name": "Cleanup: _cleanup_unbind_and_delete_service", "status": "passed", "start": 1777904186298, "stop": 1777904186376}, {"name": "Cleanup: _cleanup_delete_entrance", "status": "passed", "start": 1777904186376, "stop": 1777904186438}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904186438, "stop": 1777904186497}, {"name": "When query passRequests by created pass_id", "status": "skipped", "start": 1777904186499, "stop": 1777904186499}, {"name": "Then passRequests response contains created pass", "status": "skipped", "start": 1777904186499, "stop": 1777904186499}], "start": 1777904184097, "stop": 1777904186499, "uuid": "0feb3ccb-b3cf-4b9e-ba22-e6e98860befc", "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"]}