Noob_test/allure-results/e3facce8-fcfa-4aeb-b03b-cd29494ac3a0-result.json

1 line
9.4 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: В results нет записи с pass_id='69f8af165bf357cd11710b1e'. 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_requests_steps.py\", line 50, in step_assert_pass_requests\n assert isinstance(matched, dict), f\"В results нет записи с pass_id={pass_id!r}. results={results!r}\"\n ~~~~~~~~~~^^^^^^^^^^^^^^^\n"}, "steps": [{"name": "When get access token", "status": "passed", "start": 1777905430123, "stop": 1777905430444}, {"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": "cb5b962f-8bc0-4512-b4d3-20b2f7a1af7b-attachment.json", "type": "application/json"}], "start": 1777905430446, "stop": 1777905430493}, {"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "1b1e2ce4-2710-45b2-9af1-5e18a58fda82-attachment.json", "type": "application/json"}], "start": 1777905430493, "stop": 1777905430527}, {"name": "GraphQL: addPlaceToService", "status": "passed", "attachments": [{"name": "addPlaceToService response", "source": "a3c41039-a220-4678-9269-62aeb42006ad-attachment.json", "type": "application/json"}], "start": 1777905430527, "stop": 1777905430556}, {"name": "GraphQL: createUser (for pass target)", "status": "passed", "attachments": [{"name": "createUser response", "source": "4d5fb563-36cd-4814-ba16-124122f9424e-attachment.json", "type": "application/json"}], "start": 1777905430556, "stop": 1777905430597}, {"name": "GraphQL: addUserToPlace (attach user to pass place)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "7d33e835-444e-4df6-9106-12384f2ad3bb-attachment.json", "type": "application/json"}], "start": 1777905430597, "stop": 1777905430673}], "start": 1777905430444, "stop": 1777905430673}, {"name": "And create pass for prepared place", "status": "passed", "steps": [{"name": "GraphQL: createPass (variant 1)", "status": "passed", "attachments": [{"name": "createPass(v1) response", "source": "19bd55fa-865b-4aa7-a54a-12daed4c5760-attachment.json", "type": "application/json"}], "start": 1777905430675, "stop": 1777905430942}], "start": 1777905430674, "stop": 1777905430943}, {"name": "When query passRequests by created pass_id", "status": "passed", "steps": [{"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "941f8bda-585f-4b17-9c19-7489784c54f6-attachment.json", "type": "application/json"}], "start": 1777905430944, "stop": 1777905430981}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "93df5064-5b67-4660-bdc2-6ca59acec7a6-attachment.json", "type": "application/json"}], "start": 1777905431681, "stop": 1777905431735}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "5df11656-e26b-4537-9630-5fa92f23c212-attachment.json", "type": "application/json"}], "start": 1777905432435, "stop": 1777905432479}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "de910622-8203-4895-9324-94350e408e20-attachment.json", "type": "application/json"}], "start": 1777905433179, "stop": 1777905433226}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "500e05ed-4f36-4d4a-bb2a-2ae674b52b3c-attachment.json", "type": "application/json"}], "start": 1777905433926, "stop": 1777905433971}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "c97b50b7-2a79-4341-93c0-30cdf2578334-attachment.json", "type": "application/json"}], "start": 1777905434671, "stop": 1777905434715}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "a9b257dc-ba35-4ffb-8576-611cd1e1aa5d-attachment.json", "type": "application/json"}], "start": 1777905435415, "stop": 1777905435481}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "82f0ad59-80e7-4d2d-ae7f-9a2e2160f2ee-attachment.json", "type": "application/json"}], "start": 1777905436181, "stop": 1777905436215}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "58dd9e8d-03d4-4790-9208-bcb8c2520961-attachment.json", "type": "application/json"}], "start": 1777905436915, "stop": 1777905436960}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "610e82bc-7ae3-4290-8a7c-ba189b4d29d0-attachment.json", "type": "application/json"}], "start": 1777905437660, "stop": 1777905437699}, {"name": "GraphQL: passRequests (by pass_id)", "status": "passed", "attachments": [{"name": "passRequests response", "source": "b1f734ab-f07b-4a44-984c-843111a06278-attachment.json", "type": "application/json"}], "start": 1777905438399, "stop": 1777905438441}], "start": 1777905430943, "stop": 1777905439142}, {"name": "Then passRequests response contains created pass", "status": "failed", "statusDetails": {"message": "AssertionError: В results нет записи с pass_id='69f8af165bf357cd11710b1e'. 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_requests_steps.py\", line 50, in step_assert_pass_requests\n assert isinstance(matched, dict), f\"В results нет записи с pass_id={pass_id!r}. results={results!r}\"\n ~~~~~~~~~~^^^^^^^^^^^^^^^\n"}, "start": 1777905439142, "stop": 1777905439145}, {"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 49, in after_scenario\n fn()\n ~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1440, 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 30, 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 180, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n"}, "attachments": [{"name": "RuntimeError: deletePass", "source": "4c5da8bb-4b5b-4c85-afc8-86cfe1b42795-attachment.txt", "type": "text/plain"}], "start": 1777905439145, "stop": 1777905439171}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777905439177, "stop": 1777905439415}, {"name": "Cleanup: _cleanup_unbind_and_delete_service", "status": "passed", "start": 1777905439415, "stop": 1777905439487}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777905439487, "stop": 1777905439538}], "attachments": [{"name": "Cleanup error", "source": "dfc22411-ec49-40c9-8246-5122c7dcb3cd-attachment.txt", "type": "text/plain"}], "start": 1777905430118, "stop": 1777905439539, "uuid": "b70c56c3-b016-49ae-85d5-ce7f61afe7b7", "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"]}