{"uid":"9f1b6096270eb206","name":"Pass request approval requires two confirmations","fullName":"Pass requests: Pass request approval requires two confirmations","historyId":"34532a485fee47211dd0b378a7dc503c","time":{"start":1777905344205,"stop":1777905345999,"duration":1794},"status":"failed","statusMessage":"AssertionError: Для createEntrance нужен хотя бы один device id. Укажи ENTRANCE_DEVICE_IDS (через запятую) или ENTRANCE_DEVICE_ID в окружении запуска тестов.\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 711, 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 786, in ensure_entrance_connected_to_places\n return self.create_entrance(place_ids=place_ids)\n ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 764, in create_entrance\n \"devices\": self._get_device_ids_for_entrance(),\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 734, in _get_device_ids_for_entrance\n raise AssertionError(\n ...<2 lines>...\n )\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"failed","statusMessage":"AssertionError: Для createEntrance нужен хотя бы один device id. Укажи ENTRANCE_DEVICE_IDS (через запятую) или ENTRANCE_DEVICE_ID в окружении запуска тестов.\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 711, 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 786, in ensure_entrance_connected_to_places\n return self.create_entrance(place_ids=place_ids)\n ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 764, in create_entrance\n \"devices\": self._get_device_ids_for_entrance(),\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 734, in _get_device_ids_for_entrance\n raise AssertionError(\n ...<2 lines>...\n )\n","steps":[{"name":"When get access token","time":{"start":1777905344206,"stop":1777905344353,"duration":147},"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":1777905344353,"stop":1777905345202,"duration":849},"status":"failed","statusMessage":"AssertionError: Для createEntrance нужен хотя бы один device id. Укажи ENTRANCE_DEVICE_IDS (через запятую) или ENTRANCE_DEVICE_ID в окружении запуска тестов.\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 711, 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 786, in ensure_entrance_connected_to_places\n return self.create_entrance(place_ids=place_ids)\n ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 764, in create_entrance\n \"devices\": self._get_device_ids_for_entrance(),\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 734, in _get_device_ids_for_entrance\n raise AssertionError(\n ...<2 lines>...\n )\n","steps":[{"name":"GraphQL: createPlaceMultiple (passreq-place-1, place_type=flat)","time":{"start":1777905344354,"stop":1777905344398,"duration":44},"status":"passed","steps":[],"attachments":[{"uid":"95d0caadff2cff93","name":"createPlaceMultiple response","source":"95d0caadff2cff93.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":1777905344398,"stop":1777905344436,"duration":38},"status":"passed","steps":[],"attachments":[{"uid":"1b7f5603d2f7364c","name":"createPlaceMultiple response","source":"1b7f5603d2f7364c.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":1777905344436,"stop":1777905344472,"duration":36},"status":"passed","steps":[],"attachments":[{"uid":"b8b6153fbb0b3572","name":"createPlaceMultiple response","source":"b8b6153fbb0b3572.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (place member)","time":{"start":1777905344473,"stop":1777905344534,"duration":61},"status":"passed","steps":[],"attachments":[{"uid":"aa0bdd3f8240fec","name":"createUser(generic) response","source":"aa0bdd3f8240fec.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=69f8aec0c15e6311636d86dc)","time":{"start":1777905344534,"stop":1777905344611,"duration":77},"status":"passed","steps":[],"attachments":[{"uid":"3baf18c1c2578902","name":"addUserToPlace(generic) response","source":"3baf18c1c2578902.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (place member)","time":{"start":1777905344611,"stop":1777905344652,"duration":41},"status":"passed","steps":[],"attachments":[{"uid":"6700769b4fb6322b","name":"createUser(generic) response","source":"6700769b4fb6322b.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=69f8aec032367dfb4b45a437)","time":{"start":1777905344652,"stop":1777905344800,"duration":148},"status":"passed","steps":[],"attachments":[{"uid":"7393d2f2292a1e8","name":"addUserToPlace(generic) response","source":"7393d2f2292a1e8.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (place member)","time":{"start":1777905344800,"stop":1777905344853,"duration":53},"status":"passed","steps":[],"attachments":[{"uid":"1d7dc13961250183","name":"createUser(generic) response","source":"1d7dc13961250183.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=69f8aec0037d44249d0d12d8)","time":{"start":1777905344853,"stop":1777905345200,"duration":347},"status":"passed","steps":[],"attachments":[{"uid":"d7f78d5ace824874","name":"addUserToPlace(generic) response","source":"d7f78d5ace824874.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":9,"attachmentStep":false,"stepsCount":9,"hasContent":true},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777905345203,"stop":1777905345469,"duration":266},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777905345469,"stop":1777905345648,"duration":179},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777905345648,"stop":1777905345821,"duration":173},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777905345822,"stop":1777905345887,"duration":65},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777905345887,"stop":1777905345943,"duration":56},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777905345943,"stop":1777905345996,"duration":53},"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":1777905345999,"stop":1777905345999,"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":1777905345999,"stop":1777905345999,"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":1777905345999,"stop":1777905345999,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When approve pass request with my token","time":{"start":1777905345999,"stop":1777905345999,"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":1777905345999,"stop":1777905345999,"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":1777905345999,"stop":1777905345999,"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":1777905345999,"stop":1777905345999,"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":1777905345999,"stop":1777905345999,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then pass request status is active","time":{"start":1777905345999,"stop":1777905345999,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":9,"attachmentStep":false,"stepsCount":26,"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":"9f1b6096270eb206.json","parameterValues":[]}