{"uid":"1c1ce55abbfebd7a","name":"setUserPlaces moves worker to first three places with trusted privilege","fullName":"Pass requests: setUserPlaces moves worker to first three places with trusted privilege","historyId":"30c7842eb5c842b406c44d94a2de3901","time":{"start":1777975335050,"stop":1777975335217,"duration":167},"status":"failed","statusMessage":"AssertionError: Не найдено место 'place_7506525268c6' в place(filters.member_ids).\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_requests_steps.py\", line 103, in step_assert_set_user_places_result\n td.assert_set_user_places_result(resp)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1371, in assert_set_user_places_result\n assert isinstance(place_row, dict), f\"Не найдено место {pid!r} в place(filters.member_ids).\"\n ~~~~~~~~~~^^^^^^^^^^^^^^^^^\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"failed","statusMessage":"AssertionError: Не найдено место 'place_7506525268c6' в place(filters.member_ids).\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_requests_steps.py\", line 103, in step_assert_set_user_places_result\n td.assert_set_user_places_result(resp)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1371, in assert_set_user_places_result\n assert isinstance(place_row, dict), f\"Не найдено место {pid!r} в place(filters.member_ids).\"\n ~~~~~~~~~~^^^^^^^^^^^^^^^^^\n","steps":[{"name":"When get access token","time":{"start":1777975335051,"stop":1777975335199,"duration":148},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And prepare four places and worker for setUserPlaces flow","time":{"start":1777975335199,"stop":1777975335206,"duration":7},"status":"passed","steps":[{"name":"GraphQL: createPlaceMultiple (setuserplaces-1, place_type=flat)","time":{"start":1777975335200,"stop":1777975335201,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"59c3327cc4372eed","name":"createPlaceMultiple response","source":"59c3327cc4372eed.json","type":"application/json","size":136}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createPlaceMultiple (setuserplaces-2, place_type=flat)","time":{"start":1777975335201,"stop":1777975335202,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"5acdbbc327d79cf","name":"createPlaceMultiple response","source":"5acdbbc327d79cf.json","type":"application/json","size":136}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createPlaceMultiple (setuserplaces-3, place_type=flat)","time":{"start":1777975335202,"stop":1777975335203,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"a1b27c474d225219","name":"createPlaceMultiple response","source":"a1b27c474d225219.json","type":"application/json","size":136}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createPlaceMultiple (setuserplaces-4, place_type=flat)","time":{"start":1777975335203,"stop":1777975335203,"duration":0},"status":"passed","steps":[],"attachments":[{"uid":"85604e7d6b54f404","name":"createPlaceMultiple response","source":"85604e7d6b54f404.json","type":"application/json","size":136}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (set user)","time":{"start":1777975335204,"stop":1777975335205,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"56891cbd14dcb002","name":"createUser(generic) response","source":"56891cbd14dcb002.json","type":"application/json","size":57}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (set worker)","time":{"start":1777975335205,"stop":1777975335206,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"77ac8fc469f45249","name":"createUser(generic) response","source":"77ac8fc469f45249.json","type":"application/json","size":57}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: setUserPlaces (dto-variable)","time":{"start":1777975335206,"stop":1777975335206,"duration":0},"status":"passed","steps":[],"attachments":[{"uid":"6e895d188e5f3b0b","name":"setUserPlaces response","source":"6e895d188e5f3b0b.json","type":"application/json","size":65}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":7,"attachmentStep":false,"stepsCount":7,"hasContent":true},{"name":"When apply setUserPlaces for worker to first three places with trusted privilege","time":{"start":1777975335207,"stop":1777975335209,"duration":2},"status":"passed","steps":[{"name":"GraphQL: setUserPlaces (dto-variable)","time":{"start":1777975335207,"stop":1777975335208,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"5d124f24b4db6733","name":"setUserPlaces response","source":"5d124f24b4db6733.json","type":"application/json","size":65}],"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 places by worker member filter","time":{"start":1777975335209,"stop":1777975335212,"duration":3},"status":"passed","steps":[{"name":"GraphQL: place(filters.member_ids)","time":{"start":1777975335210,"stop":1777975335211,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"dbab8384c7b78bd5","name":"place(filters.member_ids) response","source":"dbab8384c7b78bd5.json","type":"application/json","size":62}],"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 worker is in first three places with accepted trusted and absent in fourth place","time":{"start":1777975335212,"stop":1777975335215,"duration":3},"status":"failed","statusMessage":"AssertionError: Не найдено место 'place_7506525268c6' в place(filters.member_ids).\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_requests_steps.py\", line 103, in step_assert_set_user_places_result\n td.assert_set_user_places_result(resp)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1371, in assert_set_user_places_result\n assert isinstance(place_row, dict), f\"Не найдено место {pid!r} в place(filters.member_ids).\"\n ~~~~~~~~~~^^^^^^^^^^^^^^^^^\n","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777975335215,"stop":1777975335215,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777975335215,"stop":1777975335215,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777975335215,"stop":1777975335215,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777975335215,"stop":1777975335215,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777975335215,"stop":1777975335215,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777975335215,"stop":1777975335215,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":9,"attachmentStep":false,"stepsCount":20,"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":"1c1ce55abbfebd7a.json","parameterValues":[]}