Noob_test/allure-results/3b96f615-d755-4279-982e-c6b34bc051d3-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": 1778579153662, "stop": 1778579153831}, {"name": "Then access token is valid", "status": "passed", "start": 1778579153831, "stop": 1778579153832}, {"name": "When prepare ticket and categories for category change test", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "43e1a463-471b-4c7a-8565-26531e10f8ab-attachment.json", "type": "application/json"}], "start": 1778579153960, "stop": 1778579154021}, {"name": "GraphQL: createTicketCategory (cat-old)", "status": "passed", "attachments": [{"name": "createTicketCategory response", "source": "74fe06f5-0712-4a46-965f-4b9969f8100d-attachment.json", "type": "application/json"}], "start": 1778579154021, "stop": 1778579154560}, {"name": "GraphQL: createTicket", "status": "passed", "attachments": [{"name": "createTicket response", "source": "5cd9f9a2-38d3-49dd-9738-31a12453492a-attachment.json", "type": "application/json"}], "start": 1778579154560, "stop": 1778579155257}, {"name": "GraphQL: createTicketCategory (cat-in-group-6a02f6d39e04d08097dedf7e)", "status": "passed", "attachments": [{"name": "createTicketCategory response", "source": "7110715b-d01f-49ff-80d0-d5a3edc0e30f-attachment.json", "type": "application/json"}], "start": 1778579155258, "stop": 1778579155360}, {"name": "GraphQL: createTicketCategory (cat-out-group-6a02f6d39e04d08097dedf7e)", "status": "passed", "attachments": [{"name": "createTicketCategory response", "source": "c9ad3dd8-6c18-4300-91be-70a9fd8d4e02-attachment.json", "type": "application/json"}], "start": 1778579155360, "stop": 1778579155459}, {"name": "GraphQL: createUser", "status": "passed", "attachments": [{"name": "createUser response", "source": "9996a901-78bf-4835-86fa-d3c06896f5b5-attachment.json", "type": "application/json"}], "start": 1778579155460, "stop": 1778579155561}, {"name": "GraphQL: addEmployee", "status": "passed", "attachments": [{"name": "Skipping employee.status check (API bug)", "source": "5f14e4bf-cbd3-45cf-8345-ca69f41a8bb1-attachment.txt", "type": "text/plain"}, {"name": "addEmployee response", "source": "41a1b1c3-8e3e-4a19-a8be-671611dd9188-attachment.json", "type": "application/json"}], "start": 1778579155561, "stop": 1778579155677}, {"name": "GraphQL: createCategoryGroup", "status": "passed", "attachments": [{"name": "createCategoryGroup response", "source": "2383b334-a204-428b-96f8-3845e5e5860f-attachment.json", "type": "application/json"}], "start": 1778579155677, "stop": 1778579155722}, {"name": "GraphQL: createCategoryGroup", "status": "passed", "attachments": [{"name": "createCategoryGroup response", "source": "3ab6f6aa-2145-486c-bb2a-61bdcec55a3d-attachment.json", "type": "application/json"}], "start": 1778579155723, "stop": 1778579155777}], "start": 1778579153832, "stop": 1778579155847}, {"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": "a3107c32-9878-4e20-9eea-6180cd9c3974-attachment.json", "type": "application/json"}], "start": 1778579155848, "stop": 1778579155903}], "start": 1778579155847, "stop": 1778579155903}, {"name": "And query tickets by created place id", "status": "passed", "steps": [{"name": "GraphQL: ticket(filter: place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "97438a37-909f-4f27-bedc-a4d9270b043a-attachment.json", "type": "application/json"}], "start": 1778579155904, "stop": 1778579155970}], "start": 1778579155903, "stop": 1778579155970}, {"name": "Then ticket category changed from old to in_group", "status": "passed", "start": 1778579155970, "stop": 1778579155971}, {"name": "And employee is authorized for ticket", "status": "passed", "start": 1778579155971, "stop": 1778579155972}, {"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": "e472d58c-b624-4ed8-b566-b2f062dba886-attachment.json", "type": "application/json"}], "start": 1778579155974, "stop": 1778579156026}], "start": 1778579155973, "stop": 1778579156027}, {"name": "And query tickets by created place id", "status": "passed", "steps": [{"name": "GraphQL: ticket(filter: place_id)", "status": "passed", "attachments": [{"name": "ticket response", "source": "59240d1a-0607-4f8a-991d-d1c98cc0cbab-attachment.json", "type": "application/json"}], "start": 1778579156027, "stop": 1778579156079}], "start": 1778579156027, "stop": 1778579156079}, {"name": "Then employee is NOT authorized for ticket", "status": "passed", "start": 1778579156080, "stop": 1778579156080}, {"name": "Cleanup: _restore_category", "status": "passed", "start": 1778579156080, "stop": 1778579156132}, {"name": "Cleanup: _cleanup_delete_group", "status": "passed", "start": 1778579156132, "stop": 1778579156174}, {"name": "Cleanup: _cleanup_delete_group", "status": "passed", "start": 1778579156175, "stop": 1778579156214}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778579156214, "stop": 1778579156344}, {"name": "Cleanup: _cleanup_delete_category", "status": "passed", "start": 1778579156344, "stop": 1778579156393}, {"name": "Cleanup: _cleanup_delete_category", "status": "passed", "start": 1778579156393, "stop": 1778579156460}, {"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": "3cf84ebe-005c-4ba5-94a2-86610114eb8e-attachment.txt", "type": "text/plain"}], "start": 1778579156460, "stop": 1778579156497}, {"name": "Cleanup: _cleanup_delete_category", "status": "passed", "start": 1778579156501, "stop": 1778579156556}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1778579156557, "stop": 1778579156641}], "attachments": [{"name": "Cleanup error", "source": "1af59241-f339-442f-a31c-8d958b2ee98f-attachment.txt", "type": "text/plain"}], "start": 1778579153659, "stop": 1778579156642, "uuid": "38d898b2-abad-4ec7-8256-fd89b2587f26", "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)"]}