Noob_test/allure-results/d063165d-250d-42de-aa02-fc064e3415bd-result.json
2026-05-15 11:34:24 +03:00

1 line
7.5 KiB
JSON

{"name": "Change ticket category and verify employee authorization", "status": "passed", "steps": [{"name": "When get access token", "status": "passed", "start": 1778579141548, "stop": 1778579141674}, {"name": "Then access token is valid", "status": "passed", "start": 1778579141674, "stop": 1778579141675}, {"name": "When prepare ticket and categories for category change test", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "b657505f-6d9c-4e8f-9fe1-4964884bb341-attachment.json", "type": "application/json"}], "start": 1778579141740, "stop": 1778579141797}, {"name": "GraphQL: createTicketCategory (cat-old)", "status": "passed", "attachments": [{"name": "createTicketCategory response", "source": "9731b966-9733-4cef-b859-006e2f75edc8-attachment.json", "type": "application/json"}], "start": 1778579141797, "stop": 1778579141834}, {"name": "GraphQL: createTicket", "status": "passed", "attachments": [{"name": "createTicket response", "source": "2a6510d9-0a06-4c0a-a366-550ca8d0ad7f-attachment.json", "type": "application/json"}], "start": 1778579141834, "stop": 1778579141918}, {"name": "GraphQL: createTicketCategory (cat-in-group-6a02f6c59e04d08097dedf66)", "status": "passed", "attachments": [{"name": "createTicketCategory response", "source": "f746b015-2ede-4a3d-bd85-1985c4afe79b-attachment.json", "type": "application/json"}], "start": 1778579141919, "stop": 1778579142058}, {"name": "GraphQL: createTicketCategory (cat-out-group-6a02f6c59e04d08097dedf66)", "status": "passed", "attachments": [{"name": "createTicketCategory response", "source": "06dec0d6-ad54-4f36-9932-49cb94e233f7-attachment.json", "type": "application/json"}], "start": 1778579142058, "stop": 1778579142100}, {"name": "GraphQL: createUser", "status": "passed", "attachments": [{"name": "createUser response", "source": "43fe52e4-d097-4a9b-9dfa-8d5163a0075e-attachment.json", "type": "application/json"}], "start": 1778579142100, "stop": 1778579142166}, {"name": "GraphQL: addEmployee", "status": "passed", "attachments": [{"name": "Skipping employee.status check (API bug)", "source": "9c68f92e-87d1-4dc0-abcf-2767c7c4f6ef-attachment.txt", "type": "text/plain"}, {"name": "addEmployee response", "source": "df010f18-0952-4c3b-aff9-2f03529de155-attachment.json", "type": "application/json"}], "start": 1778579142167, "stop": 1778579142279}, {"name": "GraphQL: createCategoryGroup", "status": "passed", "attachments": [{"name": "createCategoryGroup response", "source": "63402b1f-8804-455a-bd08-e56ee7321d8a-attachment.json", "type": "application/json"}], "start": 1778579142280, "stop": 1778579142328}, {"name": "GraphQL: createCategoryGroup", "status": "passed", "attachments": [{"name": "createCategoryGroup response", "source": "50d1f2d1-73d1-48b9-ba03-c57050b954cf-attachment.json", "type": "application/json"}], "start": 1778579142328, "stop": 1778579142379}], "start": 1778579141676, "stop": 1778579142438}, {"name": "And change ticket category to in_group category", "status": "passed", "steps": [{"name": "GraphQL: changeTicketCategory (to in_group)", "status": "passed", "attachments": [{"name": "changeTicketCategory response", "source": "ba12741f-3c69-4e24-aac3-566d982d3a8c-attachment.json", "type": "application/json"}], "start": 1778579142439, "stop": 1778579142497}], "start": 1778579142438, "stop": 1778579142497}, {"name": "And query tickets by created place id", "status": "passed", "steps": [{"name": "GraphQL: ticket(filter: place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "28d4f92a-a0f1-4bb6-9e85-116b55e455ef-attachment.json", "type": "application/json"}], "start": 1778579142498, "stop": 1778579142561}], "start": 1778579142497, "stop": 1778579142561}, {"name": "Then ticket category changed from old to in_group", "status": "passed", "start": 1778579142561, "stop": 1778579142561}, {"name": "And employee is authorized for ticket", "status": "passed", "start": 1778579142562, "stop": 1778579142562}, {"name": "When change ticket category to out_group category", "status": "passed", "steps": [{"name": "GraphQL: changeTicketCategory (to out_group)", "status": "passed", "attachments": [{"name": "changeTicketCategory response", "source": "710c1062-9db9-4619-98a4-87eff0e7e66a-attachment.json", "type": "application/json"}], "start": 1778579142564, "stop": 1778579142615}], "start": 1778579142562, "stop": 1778579142615}, {"name": "And query tickets by created place id", "status": "passed", "steps": [{"name": "GraphQL: ticket(filter: place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "1b1b370e-075f-4905-b2d4-db7061b8f1f0-attachment.json", "type": "application/json"}], "start": 1778579142616, "stop": 1778579142666}], "start": 1778579142615, "stop": 1778579142667}, {"name": "Then employee is NOT authorized for ticket", "status": "passed", "start": 1778579142667, "stop": 1778579142667}, {"name": "Cleanup: _restore_category", "status": "passed", "start": 1778579142667, "stop": 1778579142720}, {"name": "Cleanup: _cleanup_delete_group", "status": "passed", "start": 1778579142720, "stop": 1778579142764}, {"name": "Cleanup: _cleanup_delete_group", "status": "passed", "start": 1778579142764, "stop": 1778579142803}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778579142803, "stop": 1778579142971}, {"name": "Cleanup: _cleanup_delete_category", "status": "passed", "start": 1778579142971, "stop": 1778579143022}, {"name": "Cleanup: _cleanup_delete_category", "status": "passed", "start": 1778579143022, "stop": 1778579143092}, {"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": "b5c18935-90f8-4b46-aed3-703e378f34ea-attachment.txt", "type": "text/plain"}], "start": 1778579143092, "stop": 1778579143162}, {"name": "Cleanup: _cleanup_delete_category", "status": "passed", "start": 1778579143166, "stop": 1778579143259}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1778579143259, "stop": 1778579143333}], "attachments": [{"name": "Cleanup error", "source": "89bedc46-1879-4bc6-9e25-718be0929376-attachment.txt", "type": "text/plain"}], "start": 1778579141547, "stop": 1778579143333, "uuid": "f9c6d9e2-ed94-43c4-a314-74c0f5fb67a6", "historyId": "513dbba13eb631355480ef0f7e48bcb6", "testCaseId": "4228e196788221990cfaf3dff527dbff", "fullName": "Ticket GraphQL (category + employee): Change ticket category and verify employee authorization", "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)"]}