Noob_test/allure-report/data/test-cases/e3f2cb55df7b378f.json
2026-05-15 11:34:24 +03:00

1 line
13 KiB
JSON

{"uid":"e3f2cb55df7b378f","name":"Change ticket category and verify employee authorization","fullName":"Ticket GraphQL (category + employee): Change ticket category and verify employee authorization","historyId":"513dbba13eb631355480ef0f7e48bcb6","time":{"start":1778579141547,"stop":1778579143333,"duration":1786},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"passed","steps":[{"name":"When get access token","time":{"start":1778579141548,"stop":1778579141674,"duration":126},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then access token is valid","time":{"start":1778579141674,"stop":1778579141675,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When prepare ticket and categories for category change test","time":{"start":1778579141676,"stop":1778579142438,"duration":762},"status":"passed","steps":[{"name":"GraphQL: createPlaceMultiple","time":{"start":1778579141740,"stop":1778579141797,"duration":57},"status":"passed","steps":[],"attachments":[{"uid":"8eb9150f0e6279a4","name":"createPlaceMultiple response","source":"8eb9150f0e6279a4.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createTicketCategory (cat-old)","time":{"start":1778579141797,"stop":1778579141834,"duration":37},"status":"passed","steps":[],"attachments":[{"uid":"e65876f937a9af79","name":"createTicketCategory response","source":"e65876f937a9af79.json","type":"application/json","size":233}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createTicket","time":{"start":1778579141834,"stop":1778579141918,"duration":84},"status":"passed","steps":[],"attachments":[{"uid":"62e707d200649858","name":"createTicket response","source":"62e707d200649858.json","type":"application/json","size":86}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createTicketCategory (cat-in-group-6a02f6c59e04d08097dedf66)","time":{"start":1778579141919,"stop":1778579142058,"duration":139},"status":"passed","steps":[],"attachments":[{"uid":"d3177f453a6a0a97","name":"createTicketCategory response","source":"d3177f453a6a0a97.json","type":"application/json","size":263}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createTicketCategory (cat-out-group-6a02f6c59e04d08097dedf66)","time":{"start":1778579142058,"stop":1778579142100,"duration":42},"status":"passed","steps":[],"attachments":[{"uid":"da239bde976ea90a","name":"createTicketCategory response","source":"da239bde976ea90a.json","type":"application/json","size":264}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser","time":{"start":1778579142100,"stop":1778579142166,"duration":66},"status":"passed","steps":[],"attachments":[{"uid":"aa9678bf5d88f60a","name":"createUser response","source":"aa9678bf5d88f60a.json","type":"application/json","size":445}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addEmployee","time":{"start":1778579142167,"stop":1778579142279,"duration":112},"status":"passed","steps":[],"attachments":[{"uid":"f16c69ae80d8847d","name":"Skipping employee.status check (API bug)","source":"f16c69ae80d8847d.txt","type":"text/plain","size":248},{"uid":"103eb4b78f651b54","name":"addEmployee response","source":"103eb4b78f651b54.json","type":"application/json","size":85}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":2,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createCategoryGroup","time":{"start":1778579142280,"stop":1778579142328,"duration":48},"status":"passed","steps":[],"attachments":[{"uid":"9bc4f8e5bcd7d6b8","name":"createCategoryGroup response","source":"9bc4f8e5bcd7d6b8.json","type":"application/json","size":93}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createCategoryGroup","time":{"start":1778579142328,"stop":1778579142379,"duration":51},"status":"passed","steps":[],"attachments":[{"uid":"4103b94e9e8beaf7","name":"createCategoryGroup response","source":"4103b94e9e8beaf7.json","type":"application/json","size":93}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":10,"attachmentStep":false,"stepsCount":9,"hasContent":true},{"name":"And change ticket category to in_group category","time":{"start":1778579142438,"stop":1778579142497,"duration":59},"status":"passed","steps":[{"name":"GraphQL: changeTicketCategory (to in_group)","time":{"start":1778579142439,"stop":1778579142497,"duration":58},"status":"passed","steps":[],"attachments":[{"uid":"710c464a0b32b0be","name":"changeTicketCategory response","source":"710c464a0b32b0be.json","type":"application/json","size":52}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":1,"hasContent":true},{"name":"And query tickets by created place id","time":{"start":1778579142497,"stop":1778579142561,"duration":64},"status":"passed","steps":[{"name":"GraphQL: ticket(filter: place_id)","time":{"start":1778579142498,"stop":1778579142561,"duration":63},"status":"passed","steps":[],"attachments":[{"uid":"b81fc135359966a0","name":"ticket response","source":"b81fc135359966a0.json","type":"application/json","size":643}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":1,"hasContent":true},{"name":"Then ticket category changed from old to in_group","time":{"start":1778579142561,"stop":1778579142561,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And employee is authorized for ticket","time":{"start":1778579142562,"stop":1778579142562,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When change ticket category to out_group category","time":{"start":1778579142562,"stop":1778579142615,"duration":53},"status":"passed","steps":[{"name":"GraphQL: changeTicketCategory (to out_group)","time":{"start":1778579142564,"stop":1778579142615,"duration":51},"status":"passed","steps":[],"attachments":[{"uid":"8260a6abf2021b8","name":"changeTicketCategory response","source":"8260a6abf2021b8.json","type":"application/json","size":52}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":1,"hasContent":true},{"name":"And query tickets by created place id","time":{"start":1778579142615,"stop":1778579142667,"duration":52},"status":"passed","steps":[{"name":"GraphQL: ticket(filter: place_id)","time":{"start":1778579142616,"stop":1778579142666,"duration":50},"status":"passed","steps":[],"attachments":[{"uid":"44b8d5fe82fbb42a","name":"ticket response","source":"44b8d5fe82fbb42a.json","type":"application/json","size":329}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":1,"hasContent":true},{"name":"Then employee is NOT authorized for ticket","time":{"start":1778579142667,"stop":1778579142667,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _restore_category","time":{"start":1778579142667,"stop":1778579142720,"duration":53},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_group","time":{"start":1778579142720,"stop":1778579142764,"duration":44},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_group","time":{"start":1778579142764,"stop":1778579142803,"duration":39},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1778579142803,"stop":1778579142971,"duration":168},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_category","time":{"start":1778579142971,"stop":1778579143022,"duration":51},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_category","time":{"start":1778579143022,"stop":1778579143092,"duration":70},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_ticket","time":{"start":1778579143092,"stop":1778579143162,"duration":70},"status":"failed","statusMessage":"AssertionError: Forbidden на операции: deleteTicket(mutation)\n","statusTrace":" 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","steps":[],"attachments":[{"uid":"d1f886cee68ee2d9","name":"Forbidden: deleteTicket(mutation)","source":"d1f886cee68ee2d9.txt","type":"text/plain","size":164}],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"Cleanup: _cleanup_delete_category","time":{"start":1778579143166,"stop":1778579143259,"duration":93},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1778579143259,"stop":1778579143333,"duration":74},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[{"uid":"9a1e75bd748bd325","name":"Cleanup error","source":"9a1e75bd748bd325.txt","type":"text/plain","size":1477}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":16,"attachmentStep":false,"stepsCount":32,"hasContent":true},"afterStages":[],"labels":[{"name":"severity","value":"normal"},{"name":"feature","value":"Ticket GraphQL (category + employee)"},{"name":"framework","value":"behave"},{"name":"language","value":"cpython3"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"e3f2cb55df7b378f.json","parameterValues":[]}