{"name": "Assign ticket employee and verify group membership rules", "status": "passed", "steps": [{"name": "When get access token", "status": "passed", "start": 1778744995363, "stop": 1778744995528}, {"name": "Then access token is valid", "status": "passed", "start": 1778744995529, "stop": 1778744995530}, {"name": "When prepare ticket and employees for assign employee test", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "17bfbd55-f139-4259-b7bd-938c289947ad-attachment.json", "type": "application/json"}], "start": 1778744995606, "stop": 1778744995758}, {"name": "GraphQL: createTicketCategory", "status": "passed", "attachments": [{"name": "createTicketCategory response", "source": "af762e27-aa0d-4420-8221-8342c55c3e59-attachment.json", "type": "application/json"}], "start": 1778744995758, "stop": 1778744995805}, {"name": "GraphQL: createTicket", "status": "passed", "attachments": [{"name": "createTicket response", "source": "de96cae6-92f3-4e42-a9c8-6ad4e04e76dc-attachment.json", "type": "application/json"}], "start": 1778744995805, "stop": 1778744995880}, {"name": "GraphQL: ticket(pagination:skip:0,limit:25,filter:place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "0db5f13f-a9b6-40ea-90f4-c93d957eccb7-attachment.json", "type": "application/json"}], "start": 1778744995880, "stop": 1778744995986}, {"name": "GraphQL: createUser", "status": "passed", "attachments": [{"name": "createUser response", "source": "9b5a1d86-76fa-449f-8204-b6db4dc6db3b-attachment.json", "type": "application/json"}], "start": 1778744995986, "stop": 1778744996044}, {"name": "GraphQL: addEmployee", "status": "passed", "attachments": [{"name": "Skipping employee.status check (API bug)", "source": "3138374c-76b0-4574-8c18-23194d4741ec-attachment.txt", "type": "text/plain"}, {"name": "addEmployee response", "source": "5167ad96-7cad-4da6-b58d-3a77056e4d93-attachment.json", "type": "application/json"}], "start": 1778744996044, "stop": 1778744996137}, {"name": "GraphQL: createCategoryGroup", "status": "passed", "attachments": [{"name": "createCategoryGroup response", "source": "80dfcf0e-7814-4742-9f71-7ae7d3584fc7-attachment.json", "type": "application/json"}], "start": 1778744996137, "stop": 1778744996185}, {"name": "GraphQL: createUser", "status": "passed", "attachments": [{"name": "createUser response", "source": "f717a6d9-ca5f-4938-b471-262e14cb83e2-attachment.json", "type": "application/json"}], "start": 1778744996185, "stop": 1778744996260}, {"name": "GraphQL: addEmployee", "status": "passed", "attachments": [{"name": "Skipping employee.status check (API bug)", "source": "144cedbe-a9fb-4511-a364-21fdb84cc805-attachment.txt", "type": "text/plain"}, {"name": "addEmployee response", "source": "13abc33a-9481-4b09-8ffb-3ff1c60d33a0-attachment.json", "type": "application/json"}], "start": 1778744996260, "stop": 1778744996365}], "start": 1778744995530, "stop": 1778744996366}, {"name": "And assign ticket to fixed in_group employee", "status": "passed", "start": 1778744996366, "stop": 1778744996420}, {"name": "And query tickets by created place id", "status": "passed", "steps": [{"name": "GraphQL: ticket(filter: place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "210baf06-83d9-40ec-9931-f0807ca08cff-attachment.json", "type": "application/json"}], "start": 1778744996421, "stop": 1778744996494}], "start": 1778744996420, "stop": 1778744996494}, {"name": "Then ticket assignee is fixed employee", "status": "passed", "start": 1778744996495, "stop": 1778744996496}, {"name": "When assign ticket to new in_group employee", "status": "passed", "start": 1778744996496, "stop": 1778744996547}, {"name": "And query tickets by created place id", "status": "passed", "steps": [{"name": "GraphQL: ticket(filter: place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "76e4b2e4-cc7c-47c5-b91e-31c23054bcc3-attachment.json", "type": "application/json"}], "start": 1778744996548, "stop": 1778744996615}], "start": 1778744996547, "stop": 1778744996615}, {"name": "Then ticket assignee is new in_group employee", "status": "passed", "start": 1778744996615, "stop": 1778744996617}, {"name": "When assign ticket to out_group employee (should fail)", "status": "passed", "start": 1778744996617, "stop": 1778744996688}, {"name": "And query tickets by created place id", "status": "passed", "steps": [{"name": "GraphQL: ticket(filter: place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "e8fc3b7a-ade4-42de-a713-641b1b056b8e-attachment.json", "type": "application/json"}], "start": 1778744996689, "stop": 1778744996743}], "start": 1778744996688, "stop": 1778744996743}, {"name": "Then ticket assignee is still new in_group employee", "status": "passed", "start": 1778744996743, "stop": 1778744996745}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778744996745, "stop": 1778744996932}, {"name": "Cleanup: _cleanup_delete_group", "status": "passed", "start": 1778744996932, "stop": 1778744996974}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778744996974, "stop": 1778744997164}, {"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 245, in _cleanup_delete_ticket\n _exec_or_fail(\n ~~~~~~~~~~~~~^\n op_name=\"deleteTicket(mutation)\",\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n ...<3 lines>...\n company_id=self.company_id,\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n )\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": "59b2360a-2efe-4219-857f-d630e8bb11b2-attachment.txt", "type": "text/plain"}], "start": 1778744997164, "stop": 1778744997210}, {"name": "Cleanup: _cleanup_delete_category", "status": "passed", "start": 1778744997216, "stop": 1778744997266}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1778744997266, "stop": 1778744997326}], "attachments": [{"name": "Cleanup error", "source": "d3eeaf51-fd07-4e26-8a30-801d6a0c5c27-attachment.txt", "type": "text/plain"}], "start": 1778744995362, "stop": 1778744997327, "uuid": "5aba07f2-665d-4f70-b68d-69a3e026663e", "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)"]}