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

1 line
16 KiB
JSON

{"uid":"1872fd836e1dfe40","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":1777906053357,"stop":1777906055327,"duration":1970},"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 23, in step_create_pass_in_place3\n pass_id = td.create_pass()\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1383, in create_pass\n _ = self.ensure_entrance_connected_to_places(place_ids=[place_id])\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 789, 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 766, 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 737, 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 23, in step_create_pass_in_place3\n pass_id = td.create_pass()\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1383, in create_pass\n _ = self.ensure_entrance_connected_to_places(place_ids=[place_id])\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 789, 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 766, 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 737, in _get_device_ids_for_entrance\n raise AssertionError(\n ...<2 lines>...\n )\n","steps":[{"name":"When get access token","time":{"start":1777906053360,"stop":1777906053489,"duration":129},"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":1777906053489,"stop":1777906054467,"duration":978},"status":"passed","steps":[{"name":"GraphQL: createPlaceMultiple (passreq-place-1, place_type=flat)","time":{"start":1777906053491,"stop":1777906053556,"duration":65},"status":"passed","steps":[],"attachments":[{"uid":"d76257b1cc0350ce","name":"createPlaceMultiple response","source":"d76257b1cc0350ce.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":1777906053556,"stop":1777906053604,"duration":48},"status":"passed","steps":[],"attachments":[{"uid":"92d19febfd8c1fc0","name":"createPlaceMultiple response","source":"92d19febfd8c1fc0.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":1777906053605,"stop":1777906053648,"duration":43},"status":"passed","steps":[],"attachments":[{"uid":"d3c38c702ff3f9e5","name":"createPlaceMultiple response","source":"d3c38c702ff3f9e5.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (place member)","time":{"start":1777906053648,"stop":1777906053691,"duration":43},"status":"passed","steps":[],"attachments":[{"uid":"e4922bafa66abf58","name":"createUser(generic) response","source":"e4922bafa66abf58.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=69f8b185037d44249d0d15ac)","time":{"start":1777906053691,"stop":1777906053788,"duration":97},"status":"passed","steps":[],"attachments":[{"uid":"ad3bd671feb15883","name":"addUserToPlace(generic) response","source":"ad3bd671feb15883.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (place member)","time":{"start":1777906053788,"stop":1777906053831,"duration":43},"status":"passed","steps":[],"attachments":[{"uid":"dcc8111dc0ccf9d2","name":"createUser(generic) response","source":"dcc8111dc0ccf9d2.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=69f8b185037d44249d0d15af)","time":{"start":1777906053831,"stop":1777906053901,"duration":70},"status":"passed","steps":[],"attachments":[{"uid":"a475b053fdfe8404","name":"addUserToPlace(generic) response","source":"a475b053fdfe8404.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (place member)","time":{"start":1777906053901,"stop":1777906053997,"duration":96},"status":"passed","steps":[],"attachments":[{"uid":"75b5a493fe75d3d1","name":"createUser(generic) response","source":"75b5a493fe75d3d1.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=69f8b185037d44249d0d15b2)","time":{"start":1777906053997,"stop":1777906054088,"duration":91},"status":"passed","steps":[],"attachments":[{"uid":"2d5a162c1c084557","name":"addUserToPlace(generic) response","source":"2d5a162c1c084557.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (new approver)","time":{"start":1777906054088,"stop":1777906054257,"duration":169},"status":"passed","steps":[],"attachments":[{"uid":"e8edacda29c958f4","name":"createUser(new approver) response","source":"e8edacda29c958f4.json","type":"application/json","size":444}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"Auth: get access_token for new approver","time":{"start":1777906054257,"stop":1777906054438,"duration":181},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"GraphQL: addEmployee (new approver with passRequests attrs)","time":{"start":1777906054438,"stop":1777906054466,"duration":28},"status":"passed","steps":[],"attachments":[{"uid":"a87a167fd23a3b","name":"addEmployee(new approver) response","source":"a87a167fd23a3b.json","type":"application/json","size":85}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":11,"attachmentStep":false,"stepsCount":12,"hasContent":true},{"name":"And create pass in place #3 for approval flow","time":{"start":1777906054468,"stop":1777906054471,"duration":3},"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 23, in step_create_pass_in_place3\n pass_id = td.create_pass()\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1383, in create_pass\n _ = self.ensure_entrance_connected_to_places(place_ids=[place_id])\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 789, 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 766, 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 737, in _get_device_ids_for_entrance\n raise AssertionError(\n ...<2 lines>...\n )\n","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777906054472,"stop":1777906054651,"duration":179},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777906054651,"stop":1777906054821,"duration":170},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777906054821,"stop":1777906054989,"duration":168},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777906054989,"stop":1777906055154,"duration":165},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777906055154,"stop":1777906055210,"duration":56},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777906055210,"stop":1777906055265,"duration":55},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777906055265,"stop":1777906055324,"duration":59},"status":"passed","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":1777906055327,"stop":1777906055327,"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":1777906055327,"stop":1777906055327,"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":1777906055327,"stop":1777906055327,"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":1777906055327,"stop":1777906055327,"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":1777906055327,"stop":1777906055327,"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":1777906055327,"stop":1777906055327,"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":1777906055327,"stop":1777906055327,"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":1777906055327,"stop":1777906055327,"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":30,"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":"1872fd836e1dfe40.json","parameterValues":[]}