{"uid":"6ce0fd922be0e5b9","name":"Assign and unassign ticket employee","fullName":"Ticket GraphQL (category + employee): Assign and unassign ticket employee","historyId":"bdfe4c839f1131d87bc7e499490887a3","time":{"start":1778595685272,"stop":1778595686791,"duration":1519},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":6,"retriesStatusChange":true,"beforeStages":[],"testStage":{"status":"passed","steps":[{"name":"When get access token","time":{"start":1778595685274,"stop":1778595685426,"duration":152},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then access token is valid","time":{"start":1778595685427,"stop":1778595685428,"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":1778595685428,"stop":1778595685838,"duration":410},"status":"passed","steps":[{"name":"GraphQL: createPlaceMultiple","time":{"start":1778595685475,"stop":1778595685531,"duration":56},"status":"passed","steps":[],"attachments":[{"uid":"80b083adf131331a","name":"createPlaceMultiple response","source":"80b083adf131331a.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createTicketCategory","time":{"start":1778595685531,"stop":1778595685584,"duration":53},"status":"passed","steps":[],"attachments":[{"uid":"4b4991443dd12d7f","name":"createTicketCategory response","source":"4b4991443dd12d7f.json","type":"application/json","size":233}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createTicket","time":{"start":1778595685585,"stop":1778595685639,"duration":54},"status":"passed","steps":[],"attachments":[{"uid":"721364a03c35e0cb","name":"createTicket response","source":"721364a03c35e0cb.json","type":"application/json","size":86}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser","time":{"start":1778595685640,"stop":1778595685698,"duration":58},"status":"passed","steps":[],"attachments":[{"uid":"27ceabda1322bebb","name":"createUser response","source":"27ceabda1322bebb.json","type":"application/json","size":445}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addEmployee","time":{"start":1778595685698,"stop":1778595685791,"duration":93},"status":"passed","steps":[],"attachments":[{"uid":"d8b51e2bfed75c6e","name":"Skipping employee.status check (API bug)","source":"d8b51e2bfed75c6e.txt","type":"text/plain","size":248},{"uid":"53ddd873799bb79c","name":"addEmployee response","source":"53ddd873799bb79c.json","type":"application/json","size":85}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":2,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createCategoryGroup","time":{"start":1778595685791,"stop":1778595685838,"duration":47},"status":"passed","steps":[],"attachments":[{"uid":"a3614eeef22e56fb","name":"createCategoryGroup response","source":"a3614eeef22e56fb.json","type":"application/json","size":93}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":7,"attachmentStep":false,"stepsCount":6,"hasContent":true},{"name":"And assign ticket to new grouped employee","time":{"start":1778595685839,"stop":1778595685919,"duration":80},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And query tickets by created place id","time":{"start":1778595685920,"stop":1778595685985,"duration":65},"status":"passed","steps":[{"name":"GraphQL: ticket(filter: place_id)","time":{"start":1778595685921,"stop":1778595685984,"duration":63},"status":"passed","steps":[],"attachments":[{"uid":"daf1796e25428aa7","name":"ticket response","source":"daf1796e25428aa7.json","type":"application/json","size":613}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":1,"hasContent":true},{"name":"Then ticket assignee is new grouped employee","time":{"start":1778595685985,"stop":1778595685986,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When unassign ticket from new grouped employee","time":{"start":1778595685986,"stop":1778595686057,"duration":71},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And query tickets by created place id","time":{"start":1778595686058,"stop":1778595686115,"duration":57},"status":"passed","steps":[{"name":"GraphQL: ticket(filter: place_id)","time":{"start":1778595686059,"stop":1778595686115,"duration":56},"status":"passed","steps":[],"attachments":[{"uid":"fd80a95002cb4895","name":"ticket response","source":"fd80a95002cb4895.json","type":"application/json","size":298}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":1,"hasContent":true},{"name":"Then ticket assignee is empty","time":{"start":1778595686115,"stop":1778595686116,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_group","time":{"start":1778595686116,"stop":1778595686157,"duration":41},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1778595686157,"stop":1778595686290,"duration":133},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_ticket","time":{"start":1778595686290,"stop":1778595686345,"duration":55},"status":"failed","statusMessage":"AssertionError: Forbidden на операции: deleteTicket(mutation)\n","statusTrace":" File \"Ticket\\features\\environment.py\", line 34, in after_scenario\n fn()\n ~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Ticket\\testdata\\ticket_test_data.py\", line 242, in _cleanup_delete_ticket\n _exec_or_fail(op_name=\"deleteTicket(mutation)\", token=token, query=delete_mutation, variables={\"id\": ticket_id}, company_id=self.company_id)\n ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\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":"f645d003e6dd9cb5","name":"Forbidden: deleteTicket(mutation)","source":"f645d003e6dd9cb5.txt","type":"text/plain","size":164}],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"Cleanup: _cleanup_delete_category","time":{"start":1778595686349,"stop":1778595686715,"duration":366},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1778595686715,"stop":1778595686790,"duration":75},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[{"uid":"9cb796de1039b61d","name":"Cleanup error","source":"9cb796de1039b61d.txt","type":"text/plain","size":1477}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":11,"attachmentStep":false,"stepsCount":22,"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":false,"retry":false,"extra":{"severity":"normal","retries":[{"uid":"edffa2a1a1f18acb","status":"passed","time":{"start":1778579145179,"stop":1778579146511,"duration":1332}},{"uid":"43091a4974f4e714","status":"passed","time":{"start":1778569945795,"stop":1778569947540,"duration":1745}},{"uid":"a5d7ca4c719a2689","status":"passed","time":{"start":1778247225132,"stop":1778247226312,"duration":1180}},{"uid":"d89dc394d90f3723","status":"failed","statusDetails":"AssertionError: Нет доступных tickets для проверки unassignTicketEmployee (по умолчанию берём place_id 682733c16773cfa73dc8d0a7) и createTicket запрещён на стенде. Укажите place_id с существующими заявками (поменяйте DEFAULT_TICKETINFO_PLACE_ID в шаге) или дайте права на createTicket. Детали: Forbidden на операции: createTicket(mutation)\n","time":{"start":1778224241273,"stop":1778224241772,"duration":499}},{"uid":"3dbfb164711528b8","status":"broken","statusDetails":"urllib.error.URLError: \n","time":{"start":1777969533131,"stop":1777969533256,"duration":125}},{"uid":"e43712cf772d589d","status":"broken","statusDetails":"urllib.error.URLError: \n","time":{"start":1777969226840,"stop":1777969227114,"duration":274}}],"categories":[],"tags":[]},"source":"6ce0fd922be0e5b9.json","parameterValues":[]}