1 line
9.0 KiB
JSON
1 line
9.0 KiB
JSON
{"uid":"d89dc394d90f3723","name":"Assign and unassign ticket employee","fullName":"Ticket GraphQL (category + employee): Assign and unassign ticket employee","historyId":"bdfe4c839f1131d87bc7e499490887a3","time":{"start":1778224241273,"stop":1778224241772,"duration":499},"status":"failed","statusMessage":"AssertionError: Нет доступных tickets для проверки unassignTicketEmployee (по умолчанию берём place_id 682733c16773cfa73dc8d0a7) и createTicket запрещён на стенде. Укажите place_id с существующими заявками (поменяйте DEFAULT_TICKETINFO_PLACE_ID в шаге) или дайте права на createTicket. Детали: Forbidden на операции: createTicket(mutation)\n","statusTrace":" 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_employee_steps.py\", line 215, in step_prepare_ticket_and_employees_for_unassign\n raise AssertionError(\n ...<5 lines>...\n )\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"failed","statusMessage":"AssertionError: Нет доступных tickets для проверки unassignTicketEmployee (по умолчанию берём place_id 682733c16773cfa73dc8d0a7) и createTicket запрещён на стенде. Укажите place_id с существующими заявками (поменяйте DEFAULT_TICKETINFO_PLACE_ID в шаге) или дайте права на createTicket. Детали: Forbidden на операции: createTicket(mutation)\n","statusTrace":" 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_employee_steps.py\", line 215, in step_prepare_ticket_and_employees_for_unassign\n raise AssertionError(\n ...<5 lines>...\n )\n","steps":[{"name":"When get access token","time":{"start":1778224241276,"stop":1778224241447,"duration":171},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then access token is valid","time":{"start":1778224241448,"stop":1778224241449,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When prepare ticket and employees for unassign employee test","time":{"start":1778224241449,"stop":1778224241646,"duration":197},"status":"failed","statusMessage":"AssertionError: Нет доступных tickets для проверки unassignTicketEmployee (по умолчанию берём place_id 682733c16773cfa73dc8d0a7) и createTicket запрещён на стенде. Укажите place_id с существующими заявками (поменяйте DEFAULT_TICKETINFO_PLACE_ID в шаге) или дайте права на createTicket. Детали: Forbidden на операции: createTicket(mutation)\n","statusTrace":" 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_employee_steps.py\", line 215, in step_prepare_ticket_and_employees_for_unassign\n raise AssertionError(\n ...<5 lines>...\n )\n","steps":[{"name":"GraphQL: createPlaceMultiple","time":{"start":1778224241504,"stop":1778224241560,"duration":56},"status":"passed","steps":[],"attachments":[{"uid":"60ded28a49ac1afb","name":"createPlaceMultiple response","source":"60ded28a49ac1afb.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createTicketCategory","time":{"start":1778224241560,"stop":1778224241602,"duration":42},"status":"passed","steps":[],"attachments":[{"uid":"94c7fb0b052f4150","name":"createTicketCategory response","source":"94c7fb0b052f4150.json","type":"application/json","size":233}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createTicket","time":{"start":1778224241602,"stop":1778224241642,"duration":40},"status":"failed","statusMessage":"AssertionError: Forbidden на операции: createTicket(mutation)\n","statusTrace":" 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","steps":[],"attachments":[{"uid":"7ec139c97a106e68","name":"Forbidden: createTicket(mutation)","source":"7ec139c97a106e68.txt","type":"text/plain","size":164}],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":3,"attachmentStep":false,"stepsCount":3,"hasContent":true},{"name":"Cleanup: _cleanup_delete_category","time":{"start":1778224241646,"stop":1778224241696,"duration":50},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1778224241696,"stop":1778224241770,"duration":74},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And assign ticket to new grouped employee","time":{"start":1778224241772,"stop":1778224241772,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And query tickets by created place id","time":{"start":1778224241772,"stop":1778224241772,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then ticket assignee is new grouped employee","time":{"start":1778224241772,"stop":1778224241772,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When unassign ticket from new grouped employee","time":{"start":1778224241772,"stop":1778224241772,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And query tickets by created place id","time":{"start":1778224241772,"stop":1778224241772,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then ticket assignee is empty","time":{"start":1778224241772,"stop":1778224241772,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":3,"attachmentStep":false,"stepsCount":14,"hasContent":true},"afterStages":[],"labels":[{"name":"severity","value":"normal"},{"name":"feature","value":"Ticket GraphQL (category + employee)"},{"name":"framework","value":"behave"},{"name":"language","value":"cpython3"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"d89dc394d90f3723.json","parameterValues":[]} |