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": 1778569943361, "stop": 1778569943543}, {"name": "Then access token is valid", "status": "passed", "start": 1778569943544, "stop": 1778569943546}, {"name": "When prepare ticket and employees for assign employee test", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "f801b37f-ecbd-4717-b7ee-a618fd640d01-attachment.json", "type": "application/json"}], "start": 1778569943634, "stop": 1778569943725}, {"name": "GraphQL: createTicketCategory", "status": "passed", "attachments": [{"name": "createTicketCategory response", "source": "9ef0e7df-b313-46ea-854b-36c9a1e58b16-attachment.json", "type": "application/json"}], "start": 1778569943725, "stop": 1778569943805}, {"name": "GraphQL: createTicket", "status": "passed", "attachments": [{"name": "createTicket response", "source": "05d83e6b-086c-4902-8e4f-dccffd337c60-attachment.json", "type": "application/json"}], "start": 1778569943805, "stop": 1778569943896}, {"name": "GraphQL: ticket(pagination:skip:0,limit:25,filter:place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "ff58d71a-e309-44f6-af1f-f747b640d060-attachment.json", "type": "application/json"}], "start": 1778569943897, "stop": 1778569943990}, {"name": "GraphQL: createUser", "status": "passed", "attachments": [{"name": "createUser response", "source": "53b13e60-344d-4047-b1c0-c4a33888f11c-attachment.json", "type": "application/json"}], "start": 1778569943990, "stop": 1778569944083}, {"name": "GraphQL: addEmployee", "status": "passed", "attachments": [{"name": "Skipping employee.status check (API bug)", "source": "8819ded6-8e33-447a-9e65-1661f6781e93-attachment.txt", "type": "text/plain"}, {"name": "addEmployee response", "source": "29889a20-af8d-4c30-9adb-3546c0b8dcf4-attachment.json", "type": "application/json"}], "start": 1778569944083, "stop": 1778569944242}, {"name": "GraphQL: createCategoryGroup", "status": "passed", "attachments": [{"name": "createCategoryGroup response", "source": "26672222-966f-42e5-9356-d3f1425a0d60-attachment.json", "type": "application/json"}], "start": 1778569944242, "stop": 1778569944326}, {"name": "GraphQL: createUser", "status": "passed", "attachments": [{"name": "createUser response", "source": "306b8bbb-3fdb-44da-aafd-eef209084392-attachment.json", "type": "application/json"}], "start": 1778569944327, "stop": 1778569944419}, {"name": "GraphQL: addEmployee", "status": "passed", "attachments": [{"name": "Skipping employee.status check (API bug)", "source": "3ac97a97-a2c5-486d-a0a3-fb626545e6f3-attachment.txt", "type": "text/plain"}, {"name": "addEmployee response", "source": "0adfdc59-ee19-4cf6-ab79-86b56485b69d-attachment.json", "type": "application/json"}], "start": 1778569944419, "stop": 1778569944594}], "start": 1778569943547, "stop": 1778569944596}, {"name": "And assign ticket to fixed in_group employee", "status": "passed", "start": 1778569944597, "stop": 1778569944677}, {"name": "And query tickets by created place id", "status": "passed", "steps": [{"name": "GraphQL: ticket(filter: place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "e1b59395-5b5f-459c-9ba2-5d05e29a5dab-attachment.json", "type": "application/json"}], "start": 1778569944681, "stop": 1778569944796}], "start": 1778569944678, "stop": 1778569944796}, {"name": "Then ticket assignee is fixed employee", "status": "passed", "start": 1778569944797, "stop": 1778569944799}, {"name": "When assign ticket to new in_group employee", "status": "passed", "start": 1778569944800, "stop": 1778569944886}, {"name": "And query tickets by created place id", "status": "passed", "steps": [{"name": "GraphQL: ticket(filter: place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "c2e6c8b7-62eb-4a1c-9c79-4084af6a7839-attachment.json", "type": "application/json"}], "start": 1778569944890, "stop": 1778569944992}], "start": 1778569944887, "stop": 1778569944992}, {"name": "Then ticket assignee is new in_group employee", "status": "passed", "start": 1778569944993, "stop": 1778569944996}, {"name": "When assign ticket to out_group employee (should fail)", "status": "passed", "start": 1778569944996, "stop": 1778569945082}, {"name": "And query tickets by created place id", "status": "passed", "steps": [{"name": "GraphQL: ticket(filter: place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "549b6db0-58d9-4f02-9ecd-f1ac4399139c-attachment.json", "type": "application/json"}], "start": 1778569945086, "stop": 1778569945171}], "start": 1778569945083, "stop": 1778569945171}, {"name": "Then ticket assignee is still new in_group employee", "status": "passed", "start": 1778569945172, "stop": 1778569945174}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778569945175, "stop": 1778569945330}, {"name": "Cleanup: _cleanup_delete_group", "status": "passed", "start": 1778569945330, "stop": 1778569945395}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778569945395, "stop": 1778569945536}, {"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": "0ec733ad-cbcc-4c46-a223-d86269320c30-attachment.txt", "type": "text/plain"}], "start": 1778569945536, "stop": 1778569945613}, {"name": "Cleanup: _cleanup_delete_category", "status": "passed", "start": 1778569945622, "stop": 1778569945695}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1778569945695, "stop": 1778569945788}], "attachments": [{"name": "Cleanup error", "source": "2238f518-5645-4f8a-a984-23dcea63cbbb-attachment.txt", "type": "text/plain"}], "start": 1778569943355, "stop": 1778569945789, "uuid": "f58a8db6-5db1-404f-97c3-8cde3609b571", "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)"]} |