{"uid":"c156fb9d1ee648f","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":1777904438272,"stop":1777904440324,"duration":2052},"status":"failed","statusMessage":"AssertionError: worker должен быть удален из 4-го места '69f8ab36c15e6311636d84f4', но место найдено в выдаче.\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 102, 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 1355, in assert_set_user_places_result\n assert p4 not in by_place, f\"worker должен быть удален из 4-го места {p4!r}, но место найдено в выдаче.\"\n ^^^^^^^^^^^^^^^^^^\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"failed","statusMessage":"AssertionError: worker должен быть удален из 4-го места '69f8ab36c15e6311636d84f4', но место найдено в выдаче.\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 102, 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 1355, in assert_set_user_places_result\n assert p4 not in by_place, f\"worker должен быть удален из 4-го места {p4!r}, но место найдено в выдаче.\"\n ^^^^^^^^^^^^^^^^^^\n","steps":[{"name":"When get access token","time":{"start":1777904438273,"stop":1777904438401,"duration":128},"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":1777904438402,"stop":1777904439021,"duration":619},"status":"passed","steps":[{"name":"GraphQL: createPlaceMultiple (setuserplaces-1, place_type=flat)","time":{"start":1777904438404,"stop":1777904438472,"duration":68},"status":"passed","steps":[],"attachments":[{"uid":"cc83e2fb84f71e0e","name":"createPlaceMultiple response","source":"cc83e2fb84f71e0e.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createPlaceMultiple (setuserplaces-2, place_type=flat)","time":{"start":1777904438472,"stop":1777904438512,"duration":40},"status":"passed","steps":[],"attachments":[{"uid":"4b2e46cebd7f01d2","name":"createPlaceMultiple response","source":"4b2e46cebd7f01d2.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createPlaceMultiple (setuserplaces-3, place_type=flat)","time":{"start":1777904438512,"stop":1777904438554,"duration":42},"status":"passed","steps":[],"attachments":[{"uid":"cdc9dbb2df6c9881","name":"createPlaceMultiple response","source":"cdc9dbb2df6c9881.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createPlaceMultiple (setuserplaces-4, place_type=flat)","time":{"start":1777904438554,"stop":1777904438603,"duration":49},"status":"passed","steps":[],"attachments":[{"uid":"5b6a8bf2a64d0cc6","name":"createPlaceMultiple response","source":"5b6a8bf2a64d0cc6.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (set user)","time":{"start":1777904438603,"stop":1777904438646,"duration":43},"status":"passed","steps":[],"attachments":[{"uid":"b0be03e7346e6578","name":"createUser(generic) response","source":"b0be03e7346e6578.json","type":"application/json","size":436}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (set worker)","time":{"start":1777904438646,"stop":1777904438689,"duration":43},"status":"passed","steps":[],"attachments":[{"uid":"cd6c448c2ced6543","name":"createUser(generic) response","source":"cd6c448c2ced6543.json","type":"application/json","size":438}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f8ab36c15e6311636d84f4)","time":{"start":1777904438689,"stop":1777904438773,"duration":84},"status":"passed","steps":[],"attachments":[{"uid":"b4ffd30db0a5cc7f","name":"addUserToPlace(generic) response","source":"b4ffd30db0a5cc7f.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: setUserPlaces (dto-variable)","time":{"start":1777904438773,"stop":1777904439021,"duration":248},"status":"passed","steps":[],"attachments":[{"uid":"64e8b72dfa0037fc","name":"setUserPlaces response","source":"64e8b72dfa0037fc.json","type":"application/json","size":221}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":8,"attachmentStep":false,"stepsCount":8,"hasContent":true},{"name":"When apply setUserPlaces for worker to first three places with trusted privilege","time":{"start":1777904439021,"stop":1777904439320,"duration":299},"status":"passed","steps":[{"name":"GraphQL: setUserPlaces (dto-variable)","time":{"start":1777904439022,"stop":1777904439318,"duration":296},"status":"passed","steps":[],"attachments":[{"uid":"323d2634f1dfac3c","name":"setUserPlaces response","source":"323d2634f1dfac3c.json","type":"application/json","size":221}],"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":1777904439320,"stop":1777904439560,"duration":240},"status":"passed","steps":[{"name":"GraphQL: place(filters.member_ids)","time":{"start":1777904439321,"stop":1777904439348,"duration":27},"status":"passed","steps":[],"attachments":[{"uid":"aed3eac9898a6582","name":"RuntimeError: place(member_ids)","source":"aed3eac9898a6582.txt","type":"text/plain","size":252}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: place(filters.member_id)","time":{"start":1777904439348,"stop":1777904439374,"duration":26},"status":"passed","steps":[],"attachments":[{"uid":"b40efb67b6208db1","name":"RuntimeError: place(member_id)","source":"b40efb67b6208db1.txt","type":"text/plain","size":251}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: place(filters.user_ids)","time":{"start":1777904439374,"stop":1777904439405,"duration":31},"status":"passed","steps":[],"attachments":[{"uid":"725eceff54031d5b","name":"RuntimeError: place(user_ids)","source":"725eceff54031d5b.txt","type":"text/plain","size":250}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: members(filters.place_id)","time":{"start":1777904439406,"stop":1777904439449,"duration":43},"status":"passed","steps":[],"attachments":[{"uid":"83dc46b3657a6358","name":"members response","source":"83dc46b3657a6358.json","type":"application/json","size":524}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: members(filters.place_id)","time":{"start":1777904439449,"stop":1777904439485,"duration":36},"status":"passed","steps":[],"attachments":[{"uid":"362ac6f1461d485","name":"members response","source":"362ac6f1461d485.json","type":"application/json","size":524}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: members(filters.place_id)","time":{"start":1777904439485,"stop":1777904439526,"duration":41},"status":"passed","steps":[],"attachments":[{"uid":"1bd7e556f034cf22","name":"members response","source":"1bd7e556f034cf22.json","type":"application/json","size":524}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: members(filters.place_id)","time":{"start":1777904439526,"stop":1777904439559,"duration":33},"status":"passed","steps":[],"attachments":[{"uid":"d859d5cbd60a5128","name":"members response","source":"d859d5cbd60a5128.json","type":"application/json","size":62}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[{"uid":"c01561585f9a60dc","name":"place(filters.*) fallback synthetic response","source":"c01561585f9a60dc.json","type":"application/json","size":2012}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":8,"attachmentStep":false,"stepsCount":7,"hasContent":true},{"name":"Then worker is in first three places with accepted trusted and absent in fourth place","time":{"start":1777904439560,"stop":1777904439562,"duration":2},"status":"failed","statusMessage":"AssertionError: worker должен быть удален из 4-го места '69f8ab36c15e6311636d84f4', но место найдено в выдаче.\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 102, 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 1355, in assert_set_user_places_result\n assert p4 not in by_place, f\"worker должен быть удален из 4-го места {p4!r}, но место найдено в выдаче.\"\n ^^^^^^^^^^^^^^^^^^\n","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777904439562,"stop":1777904439733,"duration":171},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777904439733,"stop":1777904439899,"duration":166},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777904439899,"stop":1777904440097,"duration":198},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777904440097,"stop":1777904440207,"duration":110},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777904440207,"stop":1777904440264,"duration":57},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777904440264,"stop":1777904440322,"duration":58},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":17,"attachmentStep":false,"stepsCount":27,"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":"c156fb9d1ee648f.json","parameterValues":[]}