{"uid":"1d4ff28ed307534f","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":1777894661514,"stop":1777894663493,"duration":1979},"status":"failed","statusMessage":"AssertionError: Не удалось прикрепить employee к place. Попробовали: ['addEmployeeToPlace/dto', 'addEmployeeToPlace/args', 'addEmployeeToPlace/employee_ids', 'attachEmployeeToPlace/dto', 'attachEmployeeToPlace/args', 'attachEmployeeToPlace/employee_ids', 'addEmployeesToPlace/dto', 'addEmployeesToPlace/args', 'addEmployeesToPlace/employee_ids', 'addEmployeesToPlaces/dto', 'addEmployeesToPlaces/args', 'addEmployeesToPlaces/employee_ids']. Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Cannot query field \\\"addEmployeesToPlaces\\\" on type \\\"Mutation\\\". Did you mean \\\"addEmployee\\\" or \\\"addUserToPlace\\\"?\",\"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 72, in step_prepare_set_user_places_flow\n td.prepare_set_user_places_flow()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 959, in prepare_set_user_places_flow\n self._attach_employee_to_place(employee_id=worker_employee_id, place_id=p4)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 493, in _attach_employee_to_place\n raise AssertionError(f\"Не удалось прикрепить employee к place. Попробовали: {attempts}. Последняя ошибка: {last_error}\")\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"failed","statusMessage":"AssertionError: Не удалось прикрепить employee к place. Попробовали: ['addEmployeeToPlace/dto', 'addEmployeeToPlace/args', 'addEmployeeToPlace/employee_ids', 'attachEmployeeToPlace/dto', 'attachEmployeeToPlace/args', 'attachEmployeeToPlace/employee_ids', 'addEmployeesToPlace/dto', 'addEmployeesToPlace/args', 'addEmployeesToPlace/employee_ids', 'addEmployeesToPlaces/dto', 'addEmployeesToPlaces/args', 'addEmployeesToPlaces/employee_ids']. Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Cannot query field \\\"addEmployeesToPlaces\\\" on type \\\"Mutation\\\". Did you mean \\\"addEmployee\\\" or \\\"addUserToPlace\\\"?\",\"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 72, in step_prepare_set_user_places_flow\n td.prepare_set_user_places_flow()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 959, in prepare_set_user_places_flow\n self._attach_employee_to_place(employee_id=worker_employee_id, place_id=p4)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 493, in _attach_employee_to_place\n raise AssertionError(f\"Не удалось прикрепить employee к place. Попробовали: {attempts}. Последняя ошибка: {last_error}\")\n","steps":[{"name":"When get access token","time":{"start":1777894661516,"stop":1777894661659,"duration":143},"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":1777894661659,"stop":1777894662757,"duration":1098},"status":"failed","statusMessage":"AssertionError: Не удалось прикрепить employee к place. Попробовали: ['addEmployeeToPlace/dto', 'addEmployeeToPlace/args', 'addEmployeeToPlace/employee_ids', 'attachEmployeeToPlace/dto', 'attachEmployeeToPlace/args', 'attachEmployeeToPlace/employee_ids', 'addEmployeesToPlace/dto', 'addEmployeesToPlace/args', 'addEmployeesToPlace/employee_ids', 'addEmployeesToPlaces/dto', 'addEmployeesToPlaces/args', 'addEmployeesToPlaces/employee_ids']. Последняя ошибка: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Cannot query field \\\"addEmployeesToPlaces\\\" on type \\\"Mutation\\\". Did you mean \\\"addEmployee\\\" or \\\"addUserToPlace\\\"?\",\"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 72, in step_prepare_set_user_places_flow\n td.prepare_set_user_places_flow()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 959, in prepare_set_user_places_flow\n self._attach_employee_to_place(employee_id=worker_employee_id, place_id=p4)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 493, in _attach_employee_to_place\n raise AssertionError(f\"Не удалось прикрепить employee к place. Попробовали: {attempts}. Последняя ошибка: {last_error}\")\n","steps":[{"name":"GraphQL: createPlaceMultiple (setuserplaces-1, place_type=flat)","time":{"start":1777894661661,"stop":1777894661704,"duration":43},"status":"passed","steps":[],"attachments":[{"uid":"25486b7288f4f60a","name":"createPlaceMultiple response","source":"25486b7288f4f60a.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":1777894661704,"stop":1777894661746,"duration":42},"status":"passed","steps":[],"attachments":[{"uid":"1f66a7f4b9fd2ad3","name":"createPlaceMultiple response","source":"1f66a7f4b9fd2ad3.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":1777894661746,"stop":1777894661787,"duration":41},"status":"passed","steps":[],"attachments":[{"uid":"97c367e861c2b07f","name":"createPlaceMultiple response","source":"97c367e861c2b07f.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":1777894661787,"stop":1777894661846,"duration":59},"status":"passed","steps":[],"attachments":[{"uid":"a911a83251e8d2d2","name":"createPlaceMultiple response","source":"a911a83251e8d2d2.json","type":"application/json","size":148}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (set user)","time":{"start":1777894661846,"stop":1777894661897,"duration":51},"status":"passed","steps":[],"attachments":[{"uid":"f8c4496664fb5cac","name":"createUser(generic) response","source":"f8c4496664fb5cac.json","type":"application/json","size":436}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: createUser (set worker)","time":{"start":1777894661897,"stop":1777894661962,"duration":65},"status":"passed","steps":[],"attachments":[{"uid":"e72716951e812204","name":"createUser(generic) response","source":"e72716951e812204.json","type":"application/json","size":438}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: addEmployee (generic)","time":{"start":1777894661962,"stop":1777894661996,"duration":34},"status":"passed","steps":[],"attachments":[{"uid":"a4e6506aa4f3c561","name":"addEmployee(generic) response","source":"a4e6506aa4f3c561.json","type":"application/json","size":85}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: setUserPlaces (dto-variable)","time":{"start":1777894661996,"stop":1777894662392,"duration":396},"status":"passed","steps":[],"attachments":[{"uid":"ba91dc762a986ea4","name":"setUserPlaces response","source":"ba91dc762a986ea4.json","type":"application/json","size":221}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeeToPlace/dto)","time":{"start":1777894662420,"stop":1777894662450,"duration":30},"status":"passed","steps":[],"attachments":[{"uid":"f989688e68a0b052","name":"RuntimeError: addEmployeeToPlace","source":"f989688e68a0b052.txt","type":"text/plain","size":324}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeeToPlace/args)","time":{"start":1777894662450,"stop":1777894662478,"duration":28},"status":"passed","steps":[],"attachments":[{"uid":"61094ef0e5dda0b2","name":"RuntimeError: addEmployeeToPlace","source":"61094ef0e5dda0b2.txt","type":"text/plain","size":324}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeeToPlace/employee_ids)","time":{"start":1777894662478,"stop":1777894662501,"duration":23},"status":"passed","steps":[],"attachments":[{"uid":"2336e3863f85f204","name":"RuntimeError: addEmployeeToPlace","source":"2336e3863f85f204.txt","type":"text/plain","size":324}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (attachEmployeeToPlace/dto)","time":{"start":1777894662502,"stop":1777894662546,"duration":44},"status":"passed","steps":[],"attachments":[{"uid":"d8ec6bfd7acf7a3f","name":"RuntimeError: attachEmployeeToPlace","source":"d8ec6bfd7acf7a3f.txt","type":"text/plain","size":257}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (attachEmployeeToPlace/args)","time":{"start":1777894662546,"stop":1777894662568,"duration":22},"status":"passed","steps":[],"attachments":[{"uid":"e7e5a33ad99739c","name":"RuntimeError: attachEmployeeToPlace","source":"e7e5a33ad99739c.txt","type":"text/plain","size":257}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (attachEmployeeToPlace/employee_ids)","time":{"start":1777894662568,"stop":1777894662592,"duration":24},"status":"passed","steps":[],"attachments":[{"uid":"c9337e0cde33cfb8","name":"RuntimeError: attachEmployeeToPlace","source":"c9337e0cde33cfb8.txt","type":"text/plain","size":257}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeesToPlace/dto)","time":{"start":1777894662592,"stop":1777894662620,"duration":28},"status":"passed","steps":[],"attachments":[{"uid":"79f6b07834015b0d","name":"RuntimeError: addEmployeesToPlace","source":"79f6b07834015b0d.txt","type":"text/plain","size":307}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeesToPlace/args)","time":{"start":1777894662620,"stop":1777894662645,"duration":25},"status":"passed","steps":[],"attachments":[{"uid":"7fd9afcd1aa311c2","name":"RuntimeError: addEmployeesToPlace","source":"7fd9afcd1aa311c2.txt","type":"text/plain","size":307}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeesToPlace/employee_ids)","time":{"start":1777894662645,"stop":1777894662672,"duration":27},"status":"passed","steps":[],"attachments":[{"uid":"e17c10b0100f2e73","name":"RuntimeError: addEmployeesToPlace","source":"e17c10b0100f2e73.txt","type":"text/plain","size":307}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeesToPlaces/dto)","time":{"start":1777894662672,"stop":1777894662703,"duration":31},"status":"passed","steps":[],"attachments":[{"uid":"42f4b9c32f11033f","name":"RuntimeError: addEmployeesToPlaces","source":"42f4b9c32f11033f.txt","type":"text/plain","size":308}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeesToPlaces/args)","time":{"start":1777894662703,"stop":1777894662730,"duration":27},"status":"passed","steps":[],"attachments":[{"uid":"f81d51f6afeafeaf","name":"RuntimeError: addEmployeesToPlaces","source":"f81d51f6afeafeaf.txt","type":"text/plain","size":308}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"GraphQL: attach employee to place (addEmployeesToPlaces/employee_ids)","time":{"start":1777894662730,"stop":1777894662755,"duration":25},"status":"passed","steps":[],"attachments":[{"uid":"10f6db056c914430","name":"RuntimeError: addEmployeesToPlaces","source":"10f6db056c914430.txt","type":"text/plain","size":308}],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":20,"attachmentStep":false,"stepsCount":20,"hasContent":true},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777894662758,"stop":1777894662964,"duration":206},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777894662964,"stop":1777894663120,"duration":156},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777894663120,"stop":1777894663273,"duration":153},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777894663273,"stop":1777894663330,"duration":57},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777894663330,"stop":1777894663433,"duration":103},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777894663433,"stop":1777894663490,"duration":57},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When apply setUserPlaces for worker to first three places with trusted privilege","time":{"start":1777894663493,"stop":1777894663493,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And query places by worker member filter","time":{"start":1777894663493,"stop":1777894663493,"duration":0},"status":"skipped","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":1777894663493,"stop":1777894663493,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":20,"attachmentStep":false,"stepsCount":31,"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":"1d4ff28ed307534f.json","parameterValues":[]}