1 line
7.2 KiB
JSON
1 line
7.2 KiB
JSON
{"name": "Assign ticket employee and verify group membership rules", "status": "passed", "steps": [{"name": "When get access token", "status": "passed", "start": 1778579143337, "stop": 1778579143465}, {"name": "Then access token is valid", "status": "passed", "start": 1778579143465, "stop": 1778579143465}, {"name": "When prepare ticket and employees for assign employee test", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "e6130973-6d6b-4acb-959d-7a4fd97c4556-attachment.json", "type": "application/json"}], "start": 1778579143516, "stop": 1778579143575}, {"name": "GraphQL: createTicketCategory", "status": "passed", "attachments": [{"name": "createTicketCategory response", "source": "47e79195-768c-431a-8ba5-4ed3a74515ca-attachment.json", "type": "application/json"}], "start": 1778579143575, "stop": 1778579143620}, {"name": "GraphQL: createTicket", "status": "passed", "attachments": [{"name": "createTicket response", "source": "d58d8e32-9b3e-4217-b2cb-a1ef7b7ce30c-attachment.json", "type": "application/json"}], "start": 1778579143620, "stop": 1778579143686}, {"name": "GraphQL: ticket(pagination:skip:0,limit:25,filter:place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "75147e9f-729d-4e5e-bd02-097bd315bdcb-attachment.json", "type": "application/json"}], "start": 1778579143686, "stop": 1778579143765}, {"name": "GraphQL: createUser", "status": "passed", "attachments": [{"name": "createUser response", "source": "7c4996c3-5891-41cd-9cc8-1a321a37be8f-attachment.json", "type": "application/json"}], "start": 1778579143765, "stop": 1778579143822}, {"name": "GraphQL: addEmployee", "status": "passed", "attachments": [{"name": "Skipping employee.status check (API bug)", "source": "684dffd3-250b-4ee4-89e9-d22ae178f2fc-attachment.txt", "type": "text/plain"}, {"name": "addEmployee response", "source": "a4bd914e-649b-4a60-86c0-f44f878119e7-attachment.json", "type": "application/json"}], "start": 1778579143822, "stop": 1778579143935}, {"name": "GraphQL: createCategoryGroup", "status": "passed", "attachments": [{"name": "createCategoryGroup response", "source": "638f4f1f-fd2b-4cfb-9dbd-6fe4af074645-attachment.json", "type": "application/json"}], "start": 1778579143935, "stop": 1778579143982}, {"name": "GraphQL: createUser", "status": "passed", "attachments": [{"name": "createUser response", "source": "1e4396bb-24a4-48f1-8964-3506257dbff1-attachment.json", "type": "application/json"}], "start": 1778579143982, "stop": 1778579144047}, {"name": "GraphQL: addEmployee", "status": "passed", "attachments": [{"name": "Skipping employee.status check (API bug)", "source": "e221a9c6-5c47-4ec7-95cc-323f62d221c9-attachment.txt", "type": "text/plain"}, {"name": "addEmployee response", "source": "13c4ee59-69e6-4aee-930b-2152181d5ab4-attachment.json", "type": "application/json"}], "start": 1778579144047, "stop": 1778579144162}], "start": 1778579143466, "stop": 1778579144163}, {"name": "And assign ticket to fixed in_group employee", "status": "passed", "start": 1778579144163, "stop": 1778579144231}, {"name": "And query tickets by created place id", "status": "passed", "steps": [{"name": "GraphQL: ticket(filter: place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "21931363-4709-447a-a027-974b332392d2-attachment.json", "type": "application/json"}], "start": 1778579144232, "stop": 1778579144332}], "start": 1778579144231, "stop": 1778579144332}, {"name": "Then ticket assignee is fixed employee", "status": "passed", "start": 1778579144333, "stop": 1778579144333}, {"name": "When assign ticket to new in_group employee", "status": "passed", "start": 1778579144333, "stop": 1778579144404}, {"name": "And query tickets by created place id", "status": "passed", "steps": [{"name": "GraphQL: ticket(filter: place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "0375d7fd-c193-48f6-b77b-2ce33b275402-attachment.json", "type": "application/json"}], "start": 1778579144404, "stop": 1778579144474}], "start": 1778579144404, "stop": 1778579144474}, {"name": "Then ticket assignee is new in_group employee", "status": "passed", "start": 1778579144474, "stop": 1778579144475}, {"name": "When assign ticket to out_group employee (should fail)", "status": "passed", "start": 1778579144475, "stop": 1778579144549}, {"name": "And query tickets by created place id", "status": "passed", "steps": [{"name": "GraphQL: ticket(filter: place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "fbd1e3eb-fbb4-4bc9-92a5-b7526221d42d-attachment.json", "type": "application/json"}], "start": 1778579144550, "stop": 1778579144610}], "start": 1778579144549, "stop": 1778579144610}, {"name": "Then ticket assignee is still new in_group employee", "status": "passed", "start": 1778579144611, "stop": 1778579144612}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778579144612, "stop": 1778579144777}, {"name": "Cleanup: _cleanup_delete_group", "status": "passed", "start": 1778579144777, "stop": 1778579144831}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778579144831, "stop": 1778579144973}, {"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": "53782dee-fc6f-4fab-8eef-291e2ef8322e-attachment.txt", "type": "text/plain"}], "start": 1778579144973, "stop": 1778579145030}, {"name": "Cleanup: _cleanup_delete_category", "status": "passed", "start": 1778579145035, "stop": 1778579145103}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1778579145104, "stop": 1778579145176}], "attachments": [{"name": "Cleanup error", "source": "22e3ecd4-05f8-4d34-b80b-dd3674afe73b-attachment.txt", "type": "text/plain"}], "start": 1778579143335, "stop": 1778579145176, "uuid": "d8378240-47cd-44d3-a3db-b6bc81a96904", "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)"]} |