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

1 line
15 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"uid":"613b3ef1a7f4f452","name":"Change ticket category and verify employee authorization","fullName":"Ticket GraphQL (category + employee): Change ticket category and verify employee authorization","historyId":"513dbba13eb631355480ef0f7e48bcb6","time":{"start":1778595681544,"stop":1778595683382,"duration":1838},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":7,"retriesStatusChange":true,"beforeStages":[],"testStage":{"status":"passed","steps":[{"name":"When get access token","time":{"start":1778595681545,"stop":1778595681673,"duration":128},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then access token is valid","time":{"start":1778595681674,"stop":1778595681674,"duration":0},"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":1778595681675,"stop":1778595682518,"duration":843},"status":"passed","steps":[{"name":"GraphQL: createPlaceMultiple","time":{"start":1778595681740,"stop":1778595681795,"duration":55},"status":"passed","steps":[],"attachments":[{"uid":"d99a905e8b2aacd6","name":"createPlaceMultiple response","source":"d99a905e8b2aacd6.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createTicketCategory (cat-old)","time":{"start":1778595681795,"stop":1778595681843,"duration":48},"status":"passed","steps":[],"attachments":[{"uid":"204190f12f7e4f35","name":"createTicketCategory response","source":"204190f12f7e4f35.json","type":"application/json","size":233}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createTicket","time":{"start":1778595681843,"stop":1778595681904,"duration":61},"status":"passed","steps":[],"attachments":[{"uid":"759b804e28ed9541","name":"createTicket response","source":"759b804e28ed9541.json","type":"application/json","size":86}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createTicketCategory (cat-in-group-6a0337620ac898d1bfc0e2c6)","time":{"start":1778595681905,"stop":1778595682017,"duration":112},"status":"passed","steps":[],"attachments":[{"uid":"1cc6757986119032","name":"createTicketCategory response","source":"1cc6757986119032.json","type":"application/json","size":263}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createTicketCategory (cat-out-group-6a0337620ac898d1bfc0e2c6)","time":{"start":1778595682017,"stop":1778595682118,"duration":101},"status":"passed","steps":[],"attachments":[{"uid":"469bf94399872a34","name":"createTicketCategory response","source":"469bf94399872a34.json","type":"application/json","size":264}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser","time":{"start":1778595682119,"stop":1778595682183,"duration":64},"status":"passed","steps":[],"attachments":[{"uid":"a2566f0fada616ff","name":"createUser response","source":"a2566f0fada616ff.json","type":"application/json","size":445}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addEmployee","time":{"start":1778595682183,"stop":1778595682303,"duration":120},"status":"passed","steps":[],"attachments":[{"uid":"bcbbbffcde7ea8ae","name":"Skipping employee.status check (API bug)","source":"bcbbbffcde7ea8ae.txt","type":"text/plain","size":248},{"uid":"85889bee563991fc","name":"addEmployee response","source":"85889bee563991fc.json","type":"application/json","size":85}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":2,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createCategoryGroup","time":{"start":1778595682304,"stop":1778595682415,"duration":111},"status":"passed","steps":[],"attachments":[{"uid":"1d3482a3f9586d7e","name":"createCategoryGroup response","source":"1d3482a3f9586d7e.json","type":"application/json","size":93}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createCategoryGroup","time":{"start":1778595682415,"stop":1778595682457,"duration":42},"status":"passed","steps":[],"attachments":[{"uid":"324330a594b62794","name":"createCategoryGroup response","source":"324330a594b62794.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":1778595682519,"stop":1778595682583,"duration":64},"status":"passed","steps":[{"name":"GraphQL: changeTicketCategory (to in_group)","time":{"start":1778595682520,"stop":1778595682583,"duration":63},"status":"passed","steps":[],"attachments":[{"uid":"841e18a2916e9e57","name":"changeTicketCategory response","source":"841e18a2916e9e57.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":1778595682584,"stop":1778595682653,"duration":69},"status":"passed","steps":[{"name":"GraphQL: ticket(filter: place_id)","time":{"start":1778595682584,"stop":1778595682653,"duration":69},"status":"passed","steps":[],"attachments":[{"uid":"3768f28385a46175","name":"ticket response","source":"3768f28385a46175.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":1778595682653,"stop":1778595682655,"duration":2},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And employee is authorized for ticket","time":{"start":1778595682655,"stop":1778595682656,"duration":1},"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":1778595682656,"stop":1778595682719,"duration":63},"status":"passed","steps":[{"name":"GraphQL: changeTicketCategory (to out_group)","time":{"start":1778595682658,"stop":1778595682719,"duration":61},"status":"passed","steps":[],"attachments":[{"uid":"befe18ff5ee76254","name":"changeTicketCategory response","source":"befe18ff5ee76254.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":1778595682720,"stop":1778595682773,"duration":53},"status":"passed","steps":[{"name":"GraphQL: ticket(filter: place_id)","time":{"start":1778595682721,"stop":1778595682773,"duration":52},"status":"passed","steps":[],"attachments":[{"uid":"c9c9eeeb553f15ef","name":"ticket response","source":"c9c9eeeb553f15ef.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":1778595682773,"stop":1778595682775,"duration":2},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _restore_category","time":{"start":1778595682775,"stop":1778595682825,"duration":50},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_group","time":{"start":1778595682825,"stop":1778595682867,"duration":42},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_group","time":{"start":1778595682867,"stop":1778595682930,"duration":63},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1778595682930,"stop":1778595683102,"duration":172},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_category","time":{"start":1778595683102,"stop":1778595683164,"duration":62},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_category","time":{"start":1778595683164,"stop":1778595683222,"duration":58},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_ticket","time":{"start":1778595683222,"stop":1778595683262,"duration":40},"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":"9c92ed4074ec4aa","name":"Forbidden: deleteTicket(mutation)","source":"9c92ed4074ec4aa.txt","type":"text/plain","size":164}],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"Cleanup: _cleanup_delete_category","time":{"start":1778595683266,"stop":1778595683318,"duration":52},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1778595683318,"stop":1778595683381,"duration":63},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[{"uid":"d8e8bfefd87b8f7b","name":"Cleanup error","source":"d8e8bfefd87b8f7b.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":false,"retry":false,"extra":{"severity":"normal","retries":[{"uid":"e2aab827824cd279","status":"passed","time":{"start":1778579153659,"stop":1778579156642,"duration":2983}},{"uid":"e3f2cb55df7b378f","status":"passed","time":{"start":1778579141547,"stop":1778579143333,"duration":1786}},{"uid":"7bcf983a8d5e127b","status":"failed","statusDetails":"AssertionError: assignee должен быть объектом (уполномочен), получено: None\n","time":{"start":1778569941032,"stop":1778569943349,"duration":2317}},{"uid":"3de56fa726beb18c","status":"failed","statusDetails":"AssertionError: assignee должен быть объектом (уполномочен), получено: None\n","time":{"start":1778247221392,"stop":1778247223208,"duration":1816}},{"uid":"ec188d743377d0a4","status":"failed","statusDetails":"AssertionError: Нет доступных tickets для проверки (по умолчанию берём place_id 682733c16773cfa73dc8d0a7) и createTicket запрещён на стенде. Укажите place_id с существующими заявками (поменяйте DEFAULT_TICKETINFO_PLACE_ID в шаге) или дайте права на createTicket. Детали: Forbidden на операции: createTicket(mutation)\n","time":{"start":1778224240314,"stop":1778224240800,"duration":486}},{"uid":"8c28f955ca746a97","status":"broken","statusDetails":"urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Basic Constraints of CA cert not marked critical (_ssl.c:1081)>\n","time":{"start":1777969532793,"stop":1777969532890,"duration":97}},{"uid":"cf5ad59ed02d4916","status":"broken","statusDetails":"urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Basic Constraints of CA cert not marked critical (_ssl.c:1081)>\n","time":{"start":1777969226415,"stop":1777969226590,"duration":175}}],"categories":[],"tags":[]},"source":"613b3ef1a7f4f452.json","parameterValues":[]}