1 line
5.6 KiB
JSON
1 line
5.6 KiB
JSON
{"name": "Change ticket category and verify employee authorization", "status": "failed", "statusDetails": {"message": "AssertionError: Нет доступных tickets для проверки (по умолчанию берём place_id 682733c16773cfa73dc8d0a7) и createTicket запрещён на стенде. Укажите place_id с существующими заявками (поменяйте DEFAULT_TICKETINFO_PLACE_ID в шаге) или дайте права на createTicket. Детали: Forbidden на операции: createTicket(mutation)\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 \"Ticket\\features\\steps\\ticket_category_change_testdata_steps.py\", line 67, in step_prepare_ticket_and_categories\n raise AssertionError(\n ...<5 lines>...\n )\n"}, "steps": [{"name": "When get access token", "status": "passed", "start": 1778224240315, "stop": 1778224240446}, {"name": "Then access token is valid", "status": "passed", "start": 1778224240447, "stop": 1778224240448}, {"name": "When prepare ticket and categories for category change test", "status": "failed", "statusDetails": {"message": "AssertionError: Нет доступных tickets для проверки (по умолчанию берём place_id 682733c16773cfa73dc8d0a7) и createTicket запрещён на стенде. Укажите place_id с существующими заявками (поменяйте DEFAULT_TICKETINFO_PLACE_ID в шаге) или дайте права на createTicket. Детали: Forbidden на операции: createTicket(mutation)\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 \"Ticket\\features\\steps\\ticket_category_change_testdata_steps.py\", line 67, in step_prepare_ticket_and_categories\n raise AssertionError(\n ...<5 lines>...\n )\n"}, "steps": [{"name": "GraphQL: createPlaceMultiple", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "166f5d4d-42a1-478b-9e77-cb7cec4ed50b-attachment.json", "type": "application/json"}], "start": 1778224240517, "stop": 1778224240575}, {"name": "GraphQL: createTicketCategory (cat-old)", "status": "passed", "attachments": [{"name": "createTicketCategory response", "source": "134546d5-b4a0-47d0-a304-deba954d68ed-attachment.json", "type": "application/json"}], "start": 1778224240575, "stop": 1778224240625}, {"name": "GraphQL: createTicket", "status": "failed", "statusDetails": {"message": "AssertionError: Forbidden на операции: createTicket(mutation)\n", "trace": " File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Ticket\\testdata\\ticket_test_data.py\", line 234, in create_ticket_with_category\n resp = _exec_or_fail(op_name=\"createTicket(mutation)\", token=token, query=mutation, variables=variables, company_id=self.company_id)\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Ticket\\testdata\\ticket_test_data.py\", line 35, in _exec_or_fail\n raise AssertionError(f\"Forbidden на операции: {op_name}\") from e\n"}, "attachments": [{"name": "Forbidden: createTicket(mutation)", "source": "4332617f-531e-4d43-83e4-ce586416e122-attachment.txt", "type": "text/plain"}], "start": 1778224240625, "stop": 1778224240668}], "start": 1778224240448, "stop": 1778224240675}, {"name": "Cleanup: _cleanup_delete_category", "status": "passed", "start": 1778224240676, "stop": 1778224240729}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1778224240729, "stop": 1778224240797}, {"name": "And change ticket category to in_group category", "status": "skipped", "start": 1778224240800, "stop": 1778224240800}, {"name": "And query tickets by created place id", "status": "skipped", "start": 1778224240800, "stop": 1778224240800}, {"name": "Then ticket category changed from old to in_group", "status": "skipped", "start": 1778224240800, "stop": 1778224240800}, {"name": "And employee is authorized for ticket", "status": "skipped", "start": 1778224240800, "stop": 1778224240800}, {"name": "When change ticket category to out_group category", "status": "skipped", "start": 1778224240800, "stop": 1778224240800}, {"name": "And query tickets by created place id", "status": "skipped", "start": 1778224240800, "stop": 1778224240800}, {"name": "Then employee is NOT authorized for ticket", "status": "skipped", "start": 1778224240800, "stop": 1778224240800}], "start": 1778224240314, "stop": 1778224240800, "uuid": "70ee6d26-7386-4670-aad4-ad713250f5b6", "historyId": "513dbba13eb631355480ef0f7e48bcb6", "testCaseId": "4228e196788221990cfaf3dff527dbff", "fullName": "Ticket GraphQL (category + employee): Change ticket category and verify employee authorization", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "Ticket GraphQL (category + employee)"}, {"name": "framework", "value": "behave"}, {"name": "language", "value": "cpython3"}], "titlePath": ["Ticket", "features", "Ticket GraphQL (category + employee)"]} |