{"name": "Assign ticket employee and verify group membership rules", "status": "passed", "steps": [{"name": "When get access token", "status": "passed", "start": 1778595683386, "stop": 1778595683513}, {"name": "Then access token is valid", "status": "passed", "start": 1778595683514, "stop": 1778595683515}, {"name": "When prepare ticket and employees for assign employee test", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "9ab3e02c-3dc2-411f-afad-1ab8e45fbf77-attachment.json", "type": "application/json"}], "start": 1778595683562, "stop": 1778595683620}, {"name": "GraphQL: createTicketCategory", "status": "passed", "attachments": [{"name": "createTicketCategory response", "source": "79a6bf73-6295-408d-bca3-a087bcfa86d5-attachment.json", "type": "application/json"}], "start": 1778595683620, "stop": 1778595683671}, {"name": "GraphQL: createTicket", "status": "passed", "attachments": [{"name": "createTicket response", "source": "2b27cc68-d121-4042-aa6a-c6528e851f39-attachment.json", "type": "application/json"}], "start": 1778595683671, "stop": 1778595683734}, {"name": "GraphQL: ticket(pagination:skip:0,limit:25,filter:place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "53d1b4bd-d892-422d-b091-1d28ff755f2f-attachment.json", "type": "application/json"}], "start": 1778595683734, "stop": 1778595684023}, {"name": "GraphQL: createUser", "status": "passed", "attachments": [{"name": "createUser response", "source": "6865631b-7bd4-4d05-8ce1-e17072afeeff-attachment.json", "type": "application/json"}], "start": 1778595684023, "stop": 1778595684085}, {"name": "GraphQL: addEmployee", "status": "passed", "attachments": [{"name": "Skipping employee.status check (API bug)", "source": "3f3ef444-b0fa-417b-bc88-a9690569b929-attachment.txt", "type": "text/plain"}, {"name": "addEmployee response", "source": "7503b2c8-5856-4cbf-abaa-d7a2b618d103-attachment.json", "type": "application/json"}], "start": 1778595684085, "stop": 1778595684176}, {"name": "GraphQL: createCategoryGroup", "status": "passed", "attachments": [{"name": "createCategoryGroup response", "source": "c2f73e03-3608-4a5d-b40a-fa007f1d1e6a-attachment.json", "type": "application/json"}], "start": 1778595684176, "stop": 1778595684248}, {"name": "GraphQL: createUser", "status": "passed", "attachments": [{"name": "createUser response", "source": "1974bca0-9932-45b3-9716-efe24e983d3b-attachment.json", "type": "application/json"}], "start": 1778595684248, "stop": 1778595684321}, {"name": "GraphQL: addEmployee", "status": "passed", "attachments": [{"name": "Skipping employee.status check (API bug)", "source": "b2607929-43b2-44a5-885b-2e7306a55f2f-attachment.txt", "type": "text/plain"}, {"name": "addEmployee response", "source": "90fdf2cb-b5bf-48eb-bd5a-2a10a994fc5c-attachment.json", "type": "application/json"}], "start": 1778595684321, "stop": 1778595684425}], "start": 1778595683515, "stop": 1778595684426}, {"name": "And assign ticket to fixed in_group employee", "status": "passed", "start": 1778595684427, "stop": 1778595684477}, {"name": "And query tickets by created place id", "status": "passed", "steps": [{"name": "GraphQL: ticket(filter: place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "73367e81-24bb-4514-b144-aeaac9c18b2b-attachment.json", "type": "application/json"}], "start": 1778595684478, "stop": 1778595684563}], "start": 1778595684477, "stop": 1778595684564}, {"name": "Then ticket assignee is fixed employee", "status": "passed", "start": 1778595684564, "stop": 1778595684565}, {"name": "When assign ticket to new in_group employee", "status": "passed", "start": 1778595684565, "stop": 1778595684616}, {"name": "And query tickets by created place id", "status": "passed", "steps": [{"name": "GraphQL: ticket(filter: place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "e26205cf-1a0e-4d95-b205-db7c640f6f41-attachment.json", "type": "application/json"}], "start": 1778595684617, "stop": 1778595684679}], "start": 1778595684616, "stop": 1778595684679}, {"name": "Then ticket assignee is new in_group employee", "status": "passed", "start": 1778595684679, "stop": 1778595684680}, {"name": "When assign ticket to out_group employee (should fail)", "status": "passed", "start": 1778595684681, "stop": 1778595684733}, {"name": "And query tickets by created place id", "status": "passed", "steps": [{"name": "GraphQL: ticket(filter: place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "473adc8e-c5f4-44b3-845d-48e8d84c03fb-attachment.json", "type": "application/json"}], "start": 1778595684734, "stop": 1778595684784}], "start": 1778595684733, "stop": 1778595684784}, {"name": "Then ticket assignee is still new in_group employee", "status": "passed", "start": 1778595684784, "stop": 1778595684785}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778595684785, "stop": 1778595684932}, {"name": "Cleanup: _cleanup_delete_group", "status": "passed", "start": 1778595684932, "stop": 1778595684972}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778595684972, "stop": 1778595685103}, {"name": "Cleanup: _cleanup_delete_ticket", "status": "failed", "statusDetails": {"message": "AssertionError: Forbidden на операции: deleteTicket(mutation)\n", "trace": " 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"}, "attachments": [{"name": "Forbidden: deleteTicket(mutation)", "source": "fc7239ab-3282-4b45-94f4-f3f2757e8d90-attachment.txt", "type": "text/plain"}], "start": 1778595685103, "stop": 1778595685143}, {"name": "Cleanup: _cleanup_delete_category", "status": "passed", "start": 1778595685147, "stop": 1778595685202}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1778595685202, "stop": 1778595685269}], "attachments": [{"name": "Cleanup error", "source": "bddf4f35-7642-4f4f-9a39-9d82120e9e63-attachment.txt", "type": "text/plain"}], "start": 1778595683384, "stop": 1778595685270, "uuid": "942f6c91-88e1-49cc-93bc-0aa864004422", "historyId": "0f73103730167da9d7eda0d689eb8caf", "testCaseId": "8997c44147241e31845d7f0f749e5337", "fullName": "Ticket GraphQL (category + employee): Assign ticket employee and verify group membership rules", "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)"]}