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": 1777881982309, "stop": 1777881982438}, {"name": "Then access token is valid", "status": "passed", "start": 1777881982439, "stop": 1777881982440}, {"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": "c21c4770-4f28-4c5a-b299-93ce0cc13d07-attachment.json", "type": "application/json"}], "start": 1777881982502, "stop": 1777881982544}, {"name": "GraphQL: createTicketCategory (cat-old)", "status": "passed", "attachments": [{"name": "createTicketCategory response", "source": "b2b697e4-02fc-4716-9141-2a81dba4c1f2-attachment.json", "type": "application/json"}], "start": 1777881982544, "stop": 1777881982575}, {"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": "70860fa5-602f-4dee-923d-0869567fa257-attachment.txt", "type": "text/plain"}], "start": 1777881982575, "stop": 1777881982601}], "start": 1777881982440, "stop": 1777881982607}, {"name": "Cleanup: _cleanup_delete_category", "status": "passed", "start": 1777881982608, "stop": 1777881982646}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777881982646, "stop": 1777881982697}, {"name": "And change ticket category to in_group category", "status": "skipped", "start": 1777881982700, "stop": 1777881982700}, {"name": "And query tickets by created place id", "status": "skipped", "start": 1777881982701, "stop": 1777881982701}, {"name": "Then ticket category changed from old to in_group", "status": "skipped", "start": 1777881982701, "stop": 1777881982701}, {"name": "And employee is authorized for ticket", "status": "skipped", "start": 1777881982701, "stop": 1777881982701}, {"name": "When change ticket category to out_group category", "status": "skipped", "start": 1777881982701, "stop": 1777881982701}, {"name": "And query tickets by created place id", "status": "skipped", "start": 1777881982701, "stop": 1777881982701}, {"name": "Then employee is NOT authorized for ticket", "status": "skipped", "start": 1777881982701, "stop": 1777881982701}], "start": 1777881982308, "stop": 1777881982701, "uuid": "95be411c-605a-49c4-9f1f-62482b440cfb", "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)"]} |