1 line
9.9 KiB
JSON
1 line
9.9 KiB
JSON
{"uid":"5eddf3ecd9f55526","name":"Assign ticket employee and verify group membership rules","fullName":"Ticket GraphQL (category + employee): Assign ticket employee and verify group membership rules","historyId":"0f73103730167da9d7eda0d689eb8caf","time":{"start":1778224240801,"stop":1778224241272,"duration":471},"status":"failed","statusMessage":"AssertionError: Нет доступных tickets для проверки assignTicketEmployee (по умолчанию берём place_id 682733c16773cfa73dc8d0a7) и createTicket запрещён на стенде. Укажите place_id с существующими заявками (поменяйте DEFAULT_TICKETINFO_PLACE_ID в шаге) или дайте права на createTicket. Детали: Forbidden на операции: createTicket(mutation)\n","statusTrace":" File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\model.py\", line 1991, in run\n match.run(runner.context)\n ~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\matchers.py\", line 105, in run\n self.func(context, *args, **kwargs)\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"Ticket\\features\\steps\\ticket_employee_steps.py\", line 96, in step_prepare_ticket_and_employees_for_assign\n raise AssertionError(\n ...<5 lines>...\n )\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"failed","statusMessage":"AssertionError: Нет доступных tickets для проверки assignTicketEmployee (по умолчанию берём place_id 682733c16773cfa73dc8d0a7) и createTicket запрещён на стенде. Укажите place_id с существующими заявками (поменяйте DEFAULT_TICKETINFO_PLACE_ID в шаге) или дайте права на createTicket. Детали: Forbidden на операции: createTicket(mutation)\n","statusTrace":" File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\model.py\", line 1991, in run\n match.run(runner.context)\n ~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\matchers.py\", line 105, in run\n self.func(context, *args, **kwargs)\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"Ticket\\features\\steps\\ticket_employee_steps.py\", line 96, in step_prepare_ticket_and_employees_for_assign\n raise AssertionError(\n ...<5 lines>...\n )\n","steps":[{"name":"When get access token","time":{"start":1778224240804,"stop":1778224240941,"duration":137},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then access token is valid","time":{"start":1778224240941,"stop":1778224240942,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When prepare ticket and employees for assign employee test","time":{"start":1778224240943,"stop":1778224241142,"duration":199},"status":"failed","statusMessage":"AssertionError: Нет доступных tickets для проверки assignTicketEmployee (по умолчанию берём place_id 682733c16773cfa73dc8d0a7) и createTicket запрещён на стенде. Укажите place_id с существующими заявками (поменяйте DEFAULT_TICKETINFO_PLACE_ID в шаге) или дайте права на createTicket. Детали: Forbidden на операции: createTicket(mutation)\n","statusTrace":" File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\model.py\", line 1991, in run\n match.run(runner.context)\n ~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\matchers.py\", line 105, in run\n self.func(context, *args, **kwargs)\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"Ticket\\features\\steps\\ticket_employee_steps.py\", line 96, in step_prepare_ticket_and_employees_for_assign\n raise AssertionError(\n ...<5 lines>...\n )\n","steps":[{"name":"GraphQL: createPlaceMultiple","time":{"start":1778224240995,"stop":1778224241047,"duration":52},"status":"passed","steps":[],"attachments":[{"uid":"3d8f6b6061fc4917","name":"createPlaceMultiple response","source":"3d8f6b6061fc4917.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createTicketCategory","time":{"start":1778224241047,"stop":1778224241094,"duration":47},"status":"passed","steps":[],"attachments":[{"uid":"18f479e60635d1cf","name":"createTicketCategory response","source":"18f479e60635d1cf.json","type":"application/json","size":233}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createTicket","time":{"start":1778224241094,"stop":1778224241139,"duration":45},"status":"failed","statusMessage":"AssertionError: Forbidden на операции: createTicket(mutation)\n","statusTrace":" File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Ticket\\testdata\\ticket_test_data.py\", line 234, in create_ticket_with_category\n resp = _exec_or_fail(op_name=\"createTicket(mutation)\", token=token, query=mutation, variables=variables, company_id=self.company_id)\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":"bb03d45d9dfae6d7","name":"Forbidden: createTicket(mutation)","source":"bb03d45d9dfae6d7.txt","type":"text/plain","size":164}],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":3,"attachmentStep":false,"stepsCount":3,"hasContent":true},{"name":"Cleanup: _cleanup_delete_category","time":{"start":1778224241144,"stop":1778224241198,"duration":54},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1778224241198,"stop":1778224241269,"duration":71},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And assign ticket to fixed in_group employee","time":{"start":1778224241271,"stop":1778224241271,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And query tickets by created place id","time":{"start":1778224241271,"stop":1778224241271,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then ticket assignee is fixed employee","time":{"start":1778224241272,"stop":1778224241272,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When assign ticket to new in_group employee","time":{"start":1778224241272,"stop":1778224241272,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And query tickets by created place id","time":{"start":1778224241272,"stop":1778224241272,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then ticket assignee is new in_group employee","time":{"start":1778224241272,"stop":1778224241272,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When assign ticket to out_group employee (should fail)","time":{"start":1778224241272,"stop":1778224241272,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And query tickets by created place id","time":{"start":1778224241272,"stop":1778224241272,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then ticket assignee is still new in_group employee","time":{"start":1778224241272,"stop":1778224241272,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":3,"attachmentStep":false,"stepsCount":17,"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":"5eddf3ecd9f55526.json","parameterValues":[]} |