{"uid":"4ef7159c1005ccc4","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":1777904194169,"stop":1777904196256,"duration":2087},"status":"failed","statusMessage":"AssertionError: Не удалось выполнить place(filters.*) для worker. Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Field \\\"user_ids\\\" is not defined by type \\\"PlaceFilters\\\".\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"}]}\n\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 94, in step_query_places_for_worker\n context.worker_places_response = td.query_places_for_worker_member_filter()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1299, in query_places_for_worker_member_filter\n raise AssertionError(f\"Не удалось выполнить place(filters.*) для worker. Последняя ошибка: {last_error}\")\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"failed","statusMessage":"AssertionError: Не удалось выполнить place(filters.*) для worker. Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Field \\\"user_ids\\\" is not defined by type \\\"PlaceFilters\\\".\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"}]}\n\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 94, in step_query_places_for_worker\n context.worker_places_response = td.query_places_for_worker_member_filter()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1299, in query_places_for_worker_member_filter\n raise AssertionError(f\"Не удалось выполнить place(filters.*) для worker. Последняя ошибка: {last_error}\")\n","steps":[{"name":"When get access token","time":{"start":1777904194171,"stop":1777904194297,"duration":126},"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":1777904194297,"stop":1777904194912,"duration":615},"status":"passed","steps":[{"name":"GraphQL: createPlaceMultiple (setuserplaces-1, place_type=flat)","time":{"start":1777904194298,"stop":1777904194355,"duration":57},"status":"passed","steps":[],"attachments":[{"uid":"6db4ed3d7a300d4b","name":"createPlaceMultiple response","source":"6db4ed3d7a300d4b.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":1777904194355,"stop":1777904194394,"duration":39},"status":"passed","steps":[],"attachments":[{"uid":"edd5f4d668c1b30f","name":"createPlaceMultiple response","source":"edd5f4d668c1b30f.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":1777904194394,"stop":1777904194431,"duration":37},"status":"passed","steps":[],"attachments":[{"uid":"2394be9ece7c4916","name":"createPlaceMultiple response","source":"2394be9ece7c4916.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":1777904194431,"stop":1777904194486,"duration":55},"status":"passed","steps":[],"attachments":[{"uid":"5984a24fb4ceeca9","name":"createPlaceMultiple response","source":"5984a24fb4ceeca9.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (set user)","time":{"start":1777904194486,"stop":1777904194531,"duration":45},"status":"passed","steps":[],"attachments":[{"uid":"c6337b37a381d051","name":"createUser(generic) response","source":"c6337b37a381d051.json","type":"application/json","size":436}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (set worker)","time":{"start":1777904194532,"stop":1777904194593,"duration":61},"status":"passed","steps":[],"attachments":[{"uid":"1ebb6f36c5283083","name":"createUser(generic) response","source":"1ebb6f36c5283083.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=69f8aa42c15e6311636d83b2)","time":{"start":1777904194593,"stop":1777904194669,"duration":76},"status":"passed","steps":[],"attachments":[{"uid":"9bd23a2eabb81d2f","name":"addUserToPlace(generic) response","source":"9bd23a2eabb81d2f.json","type":"application/json","size":153}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: setUserPlaces (dto-variable)","time":{"start":1777904194669,"stop":1777904194912,"duration":243},"status":"passed","steps":[],"attachments":[{"uid":"6e2db30494adf734","name":"setUserPlaces response","source":"6e2db30494adf734.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":1777904194912,"stop":1777904195322,"duration":410},"status":"passed","steps":[{"name":"GraphQL: setUserPlaces (dto-variable)","time":{"start":1777904194913,"stop":1777904195321,"duration":408},"status":"passed","steps":[],"attachments":[{"uid":"6b02b9fde74c5087","name":"setUserPlaces response","source":"6b02b9fde74c5087.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":1777904195322,"stop":1777904195418,"duration":96},"status":"failed","statusMessage":"AssertionError: Не удалось выполнить place(filters.*) для worker. Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Field \\\"user_ids\\\" is not defined by type \\\"PlaceFilters\\\".\",\"code\":\"Server Error\",\"status\":500,\"description\":\"The server encountered an unexpected condition which prevented it from fulfilling the request\"}]}\n\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 94, in step_query_places_for_worker\n context.worker_places_response = td.query_places_for_worker_member_filter()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1299, in query_places_for_worker_member_filter\n raise AssertionError(f\"Не удалось выполнить place(filters.*) для worker. Последняя ошибка: {last_error}\")\n","steps":[{"name":"GraphQL: place(filters.member_ids)","time":{"start":1777904195323,"stop":1777904195355,"duration":32},"status":"passed","steps":[],"attachments":[{"uid":"6c85f284f5af2cca","name":"RuntimeError: place(member_ids)","source":"6c85f284f5af2cca.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":1777904195355,"stop":1777904195391,"duration":36},"status":"passed","steps":[],"attachments":[{"uid":"66491e4b86f431a0","name":"RuntimeError: place(member_id)","source":"66491e4b86f431a0.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":1777904195391,"stop":1777904195416,"duration":25},"status":"passed","steps":[],"attachments":[{"uid":"d636a8b8fe50ed7f","name":"RuntimeError: place(user_ids)","source":"d636a8b8fe50ed7f.txt","type":"text/plain","size":250}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":3,"attachmentStep":false,"stepsCount":3,"hasContent":true},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777904195418,"stop":1777904195604,"duration":186},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777904195604,"stop":1777904195777,"duration":173},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777904195777,"stop":1777904196007,"duration":230},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777904196007,"stop":1777904196095,"duration":88},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777904196095,"stop":1777904196149,"duration":54},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777904196149,"stop":1777904196254,"duration":105},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then worker is in first three places with accepted trusted and absent in fourth place","time":{"start":1777904196256,"stop":1777904196256,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":12,"attachmentStep":false,"stepsCount":23,"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":"4ef7159c1005ccc4.json","parameterValues":[]}