{"uid":"998e6854b530c462","name":"Pass request rejection prevents activation even with second confirmation","fullName":"Pass requests: Pass request rejection prevents activation even with second confirmation","historyId":"d5214a811b3d7cd98d122456dbf59131","time":{"start":1777904506617,"stop":1777904508524,"duration":1907},"status":"failed","statusMessage":"AssertionError: Не удалось создать entrance place под place_id='69f8ab7b32367dfb4b45a2fe'. Последняя ошибка: GraphQL errors: [{'message': 'Bad Request', 'code': 'Client Error', 'status': 400, 'description': 'The request could not be understood by the server due to malformed syntax'}]\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 \"Pass_request\\features\\steps\\pass_request_approval_steps.py\", line 13, in step_prepare_nested_places_and_employees\n td.prepare_pass_request_approval_flow()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 715, in prepare_pass_request_approval_flow\n _ = self.ensure_entrance_connected_to_places(place_ids=[p1, p2, p3])\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 435, in ensure_entrance_connected_to_places\n entrance_id = self.ensure_entrance_place()\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 770, in ensure_entrance_place\n raise AssertionError(f\"Не удалось создать entrance place под place_id={preferred_parent_id!r}. Последняя ошибка: {last_error}\")\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"failed","statusMessage":"AssertionError: Не удалось создать entrance place под place_id='69f8ab7b32367dfb4b45a2fe'. Последняя ошибка: GraphQL errors: [{'message': 'Bad Request', 'code': 'Client Error', 'status': 400, 'description': 'The request could not be understood by the server due to malformed syntax'}]\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 \"Pass_request\\features\\steps\\pass_request_approval_steps.py\", line 13, in step_prepare_nested_places_and_employees\n td.prepare_pass_request_approval_flow()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 715, in prepare_pass_request_approval_flow\n _ = self.ensure_entrance_connected_to_places(place_ids=[p1, p2, p3])\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 435, in ensure_entrance_connected_to_places\n entrance_id = self.ensure_entrance_place()\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 770, in ensure_entrance_place\n raise AssertionError(f\"Не удалось создать entrance place под place_id={preferred_parent_id!r}. Последняя ошибка: {last_error}\")\n","steps":[{"name":"When get access token","time":{"start":1777904506619,"stop":1777904506745,"duration":126},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And prepare nested places and employees for pass request approval flow","time":{"start":1777904506745,"stop":1777904507633,"duration":888},"status":"failed","statusMessage":"AssertionError: Не удалось создать entrance place под place_id='69f8ab7b32367dfb4b45a2fe'. Последняя ошибка: GraphQL errors: [{'message': 'Bad Request', 'code': 'Client Error', 'status': 400, 'description': 'The request could not be understood by the server due to malformed syntax'}]\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 \"Pass_request\\features\\steps\\pass_request_approval_steps.py\", line 13, in step_prepare_nested_places_and_employees\n td.prepare_pass_request_approval_flow()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 715, in prepare_pass_request_approval_flow\n _ = self.ensure_entrance_connected_to_places(place_ids=[p1, p2, p3])\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 435, in ensure_entrance_connected_to_places\n entrance_id = self.ensure_entrance_place()\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 770, in ensure_entrance_place\n raise AssertionError(f\"Не удалось создать entrance place под place_id={preferred_parent_id!r}. Последняя ошибка: {last_error}\")\n","steps":[{"name":"GraphQL: createPlaceMultiple (passreq-place-1, place_type=flat)","time":{"start":1777904506746,"stop":1777904506790,"duration":44},"status":"passed","steps":[],"attachments":[{"uid":"e7a9f5539b71b23b","name":"createPlaceMultiple response","source":"e7a9f5539b71b23b.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createPlaceMultiple (passreq-place-2, place_type=flat)","time":{"start":1777904506790,"stop":1777904506846,"duration":56},"status":"passed","steps":[],"attachments":[{"uid":"d9698d07a4fd3134","name":"createPlaceMultiple response","source":"d9698d07a4fd3134.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createPlaceMultiple (passreq-place-3, place_type=flat)","time":{"start":1777904506846,"stop":1777904506912,"duration":66},"status":"passed","steps":[],"attachments":[{"uid":"a52968fc3573fd0e","name":"createPlaceMultiple response","source":"a52968fc3573fd0e.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (place member)","time":{"start":1777904506912,"stop":1777904506965,"duration":53},"status":"passed","steps":[],"attachments":[{"uid":"db6944a87a6a7253","name":"createUser(generic) response","source":"db6944a87a6a7253.json","type":"application/json","size":440}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f8ab7ac15e6311636d858f)","time":{"start":1777904506965,"stop":1777904507056,"duration":91},"status":"passed","steps":[],"attachments":[{"uid":"3fd1bf4a22490916","name":"addUserToPlace(generic) response","source":"3fd1bf4a22490916.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (place member)","time":{"start":1777904507057,"stop":1777904507105,"duration":48},"status":"passed","steps":[],"attachments":[{"uid":"2c31960ebddb815e","name":"createUser(generic) response","source":"2c31960ebddb815e.json","type":"application/json","size":440}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f8ab7b037d44249d0d115a)","time":{"start":1777904507105,"stop":1777904507431,"duration":326},"status":"passed","steps":[],"attachments":[{"uid":"35448e9a710ad0c6","name":"addUserToPlace(generic) response","source":"35448e9a710ad0c6.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (place member)","time":{"start":1777904507431,"stop":1777904507489,"duration":58},"status":"passed","steps":[],"attachments":[{"uid":"c03a100f7e48f033","name":"createUser(generic) response","source":"c03a100f7e48f033.json","type":"application/json","size":440}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f8ab7b17bb1e0c5fc4dbe4)","time":{"start":1777904507489,"stop":1777904507554,"duration":65},"status":"passed","steps":[],"attachments":[{"uid":"cd3725d305ba57e0","name":"addUserToPlace(generic) response","source":"cd3725d305ba57e0.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createPlaceMultiple (main place)","time":{"start":1777904507554,"stop":1777904507598,"duration":44},"status":"passed","steps":[],"attachments":[{"uid":"63491a869dbb2612","name":"createPlaceMultiple(main) response","source":"63491a869dbb2612.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createPlaceMultiple (entrance place, parent_id=69f8ab7b32367dfb4b45a2fe)","time":{"start":1777904507598,"stop":1777904507631,"duration":33},"status":"passed","steps":[],"attachments":[{"uid":"a6fc51a88cd0d1","name":"RuntimeError: createPlaceMultiple(entrance)","source":"a6fc51a88cd0d1.txt","type":"text/plain","size":175}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":11,"attachmentStep":false,"stepsCount":11,"hasContent":true},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777904507634,"stop":1777904507684,"duration":50},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777904507684,"stop":1777904507889,"duration":205},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777904507889,"stop":1777904508065,"duration":176},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777904508065,"stop":1777904508294,"duration":229},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777904508294,"stop":1777904508406,"duration":112},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777904508406,"stop":1777904508465,"duration":59},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777904508465,"stop":1777904508521,"duration":56},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And create pass in place #3 for approval flow","time":{"start":1777904508523,"stop":1777904508523,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When query passRequests by created pass_id with my token","time":{"start":1777904508523,"stop":1777904508523,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then pass request status is pending","time":{"start":1777904508523,"stop":1777904508523,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When reject pass request with my token","time":{"start":1777904508523,"stop":1777904508523,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And re-query passRequests by created pass_id with my token","time":{"start":1777904508523,"stop":1777904508523,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then pass request status is not active","time":{"start":1777904508523,"stop":1777904508523,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When approve pass request with new employee token","time":{"start":1777904508523,"stop":1777904508523,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And query passRequests by created pass_id with new employee token","time":{"start":1777904508523,"stop":1777904508523,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then pass request status is not active","time":{"start":1777904508524,"stop":1777904508524,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":11,"attachmentStep":false,"stepsCount":29,"hasContent":true},"afterStages":[],"labels":[{"name":"severity","value":"normal"},{"name":"feature","value":"Pass requests"},{"name":"framework","value":"behave"},{"name":"language","value":"cpython3"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"998e6854b530c462.json","parameterValues":[]}