1 line
19 KiB
JSON
1 line
19 KiB
JSON
{"uid":"7f8a9ca4d31bb737","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":[],"stepsCount":0,"hasContent":false,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":0},{"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":"472a6b6b462fb2a9","name":"createPlaceMultiple response","source":"472a6b6b462fb2a9.json","type":"application/json","size":148}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: createPlaceMultiple (setuserplaces-2, place_type=flat)","time":{"start":1777894661704,"stop":1777894661746,"duration":42},"status":"passed","steps":[],"attachments":[{"uid":"d7c2c1f0fc694710","name":"createPlaceMultiple response","source":"d7c2c1f0fc694710.json","type":"application/json","size":148}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: createPlaceMultiple (setuserplaces-3, place_type=flat)","time":{"start":1777894661746,"stop":1777894661787,"duration":41},"status":"passed","steps":[],"attachments":[{"uid":"f506bf952bbc3469","name":"createPlaceMultiple response","source":"f506bf952bbc3469.json","type":"application/json","size":148}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: createPlaceMultiple (setuserplaces-4, place_type=flat)","time":{"start":1777894661787,"stop":1777894661846,"duration":59},"status":"passed","steps":[],"attachments":[{"uid":"f9a5b11d77476151","name":"createPlaceMultiple response","source":"f9a5b11d77476151.json","type":"application/json","size":148}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: createUser (set user)","time":{"start":1777894661846,"stop":1777894661897,"duration":51},"status":"passed","steps":[],"attachments":[{"uid":"76272a45be317c4e","name":"createUser(generic) response","source":"76272a45be317c4e.json","type":"application/json","size":436}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: createUser (set worker)","time":{"start":1777894661897,"stop":1777894661962,"duration":65},"status":"passed","steps":[],"attachments":[{"uid":"9825091c06e7b98c","name":"createUser(generic) response","source":"9825091c06e7b98c.json","type":"application/json","size":438}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: addEmployee (generic)","time":{"start":1777894661962,"stop":1777894661996,"duration":34},"status":"passed","steps":[],"attachments":[{"uid":"85692f34c77b4766","name":"addEmployee(generic) response","source":"85692f34c77b4766.json","type":"application/json","size":85}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: setUserPlaces (dto-variable)","time":{"start":1777894661996,"stop":1777894662392,"duration":396},"status":"passed","steps":[],"attachments":[{"uid":"e0e8102887c98928","name":"setUserPlaces response","source":"e0e8102887c98928.json","type":"application/json","size":221}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: attach employee to place (addEmployeeToPlace/dto)","time":{"start":1777894662420,"stop":1777894662450,"duration":30},"status":"passed","steps":[],"attachments":[{"uid":"edad895d645c7358","name":"RuntimeError: addEmployeeToPlace","source":"edad895d645c7358.txt","type":"text/plain","size":324}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: attach employee to place (addEmployeeToPlace/args)","time":{"start":1777894662450,"stop":1777894662478,"duration":28},"status":"passed","steps":[],"attachments":[{"uid":"adcd3686255dfcd","name":"RuntimeError: addEmployeeToPlace","source":"adcd3686255dfcd.txt","type":"text/plain","size":324}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: attach employee to place (addEmployeeToPlace/employee_ids)","time":{"start":1777894662478,"stop":1777894662501,"duration":23},"status":"passed","steps":[],"attachments":[{"uid":"73cd80c8cd5aeb80","name":"RuntimeError: addEmployeeToPlace","source":"73cd80c8cd5aeb80.txt","type":"text/plain","size":324}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: attach employee to place (attachEmployeeToPlace/dto)","time":{"start":1777894662502,"stop":1777894662546,"duration":44},"status":"passed","steps":[],"attachments":[{"uid":"b93cef6ffb874220","name":"RuntimeError: attachEmployeeToPlace","source":"b93cef6ffb874220.txt","type":"text/plain","size":257}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: attach employee to place (attachEmployeeToPlace/args)","time":{"start":1777894662546,"stop":1777894662568,"duration":22},"status":"passed","steps":[],"attachments":[{"uid":"b1122b47a135d2f8","name":"RuntimeError: attachEmployeeToPlace","source":"b1122b47a135d2f8.txt","type":"text/plain","size":257}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: attach employee to place (attachEmployeeToPlace/employee_ids)","time":{"start":1777894662568,"stop":1777894662592,"duration":24},"status":"passed","steps":[],"attachments":[{"uid":"2fb0ddbd8fb76592","name":"RuntimeError: attachEmployeeToPlace","source":"2fb0ddbd8fb76592.txt","type":"text/plain","size":257}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: attach employee to place (addEmployeesToPlace/dto)","time":{"start":1777894662592,"stop":1777894662620,"duration":28},"status":"passed","steps":[],"attachments":[{"uid":"c4ef3068e8c260fa","name":"RuntimeError: addEmployeesToPlace","source":"c4ef3068e8c260fa.txt","type":"text/plain","size":307}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: attach employee to place (addEmployeesToPlace/args)","time":{"start":1777894662620,"stop":1777894662645,"duration":25},"status":"passed","steps":[],"attachments":[{"uid":"508a7e2b880cf8ae","name":"RuntimeError: addEmployeesToPlace","source":"508a7e2b880cf8ae.txt","type":"text/plain","size":307}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: attach employee to place (addEmployeesToPlace/employee_ids)","time":{"start":1777894662645,"stop":1777894662672,"duration":27},"status":"passed","steps":[],"attachments":[{"uid":"d34ee63ed9ecaf47","name":"RuntimeError: addEmployeesToPlace","source":"d34ee63ed9ecaf47.txt","type":"text/plain","size":307}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: attach employee to place (addEmployeesToPlaces/dto)","time":{"start":1777894662672,"stop":1777894662703,"duration":31},"status":"passed","steps":[],"attachments":[{"uid":"c77f0c932a1656e9","name":"RuntimeError: addEmployeesToPlaces","source":"c77f0c932a1656e9.txt","type":"text/plain","size":308}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: attach employee to place (addEmployeesToPlaces/args)","time":{"start":1777894662703,"stop":1777894662730,"duration":27},"status":"passed","steps":[],"attachments":[{"uid":"a3b794c5e65a8830","name":"RuntimeError: addEmployeesToPlaces","source":"a3b794c5e65a8830.txt","type":"text/plain","size":308}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1},{"name":"GraphQL: attach employee to place (addEmployeesToPlaces/employee_ids)","time":{"start":1777894662730,"stop":1777894662755,"duration":25},"status":"passed","steps":[],"attachments":[{"uid":"d2ced6f0b6e0d62e","name":"RuntimeError: addEmployeesToPlaces","source":"d2ced6f0b6e0d62e.txt","type":"text/plain","size":308}],"parameters":[],"stepsCount":0,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":1}],"attachments":[],"parameters":[],"stepsCount":20,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":true,"attachmentsCount":20},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777894662758,"stop":1777894662964,"duration":206},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"hasContent":false,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":0},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1777894662964,"stop":1777894663120,"duration":156},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"hasContent":false,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":0},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777894663120,"stop":1777894663273,"duration":153},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"hasContent":false,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":0},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777894663273,"stop":1777894663330,"duration":57},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"hasContent":false,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":0},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777894663330,"stop":1777894663433,"duration":103},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"hasContent":false,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":0},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1777894663433,"stop":1777894663490,"duration":57},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"hasContent":false,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":0},{"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":[],"stepsCount":0,"hasContent":false,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":0},{"name":"And query places by worker member filter","time":{"start":1777894663493,"stop":1777894663493,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"hasContent":false,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":0},{"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":[],"stepsCount":0,"hasContent":false,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":0}],"attachments":[],"parameters":[],"stepsCount":31,"hasContent":true,"attachmentStep":false,"shouldDisplayMessage":false,"attachmentsCount":20},"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":false,"retry":false,"extra":{"severity":"normal","retries":[],"categories":[{"name":"Product defects","matchedStatuses":[]}],"tags":[]},"source":"7f8a9ca4d31bb737.json","parameterValues":[]} |