1 line
9.3 KiB
JSON
1 line
9.3 KiB
JSON
{"name": "setUserPlaces moves worker to first three places with trusted privilege", "status": "broken", "statusDetails": {"message": "RuntimeError: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Field \\\"member_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", "trace": " 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 1253, in query_places_for_worker_member_filter\n resp = _exec_or_fail(\n op_name=\"place(member_ids)\",\n ...<3 lines>...\n company_id=self.company_id,\n )\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 30, in _exec_or_fail\n return execute_graphql(\n query=query,\n ...<2 lines>...\n access_token=token,\n )\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\worklib\\graphql_client.py\", line 180, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n"}, "steps": [{"name": "When get access token", "status": "passed", "start": 1777904080004, "stop": 1777904080133}, {"name": "And prepare four places and worker for setUserPlaces flow", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (setuserplaces-1, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "075f0880-86fa-4833-9392-d57d564429b9-attachment.json", "type": "application/json"}], "start": 1777904080134, "stop": 1777904080179}, {"name": "GraphQL: createPlaceMultiple (setuserplaces-2, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "5a3c1799-4445-43c2-b485-bbd130ef0efd-attachment.json", "type": "application/json"}], "start": 1777904080179, "stop": 1777904080218}, {"name": "GraphQL: createPlaceMultiple (setuserplaces-3, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "a4d756f7-0af5-477c-a850-8210e2db12e3-attachment.json", "type": "application/json"}], "start": 1777904080218, "stop": 1777904080251}, {"name": "GraphQL: createPlaceMultiple (setuserplaces-4, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "a2e3742a-e7da-4c17-a32a-89c72013b72c-attachment.json", "type": "application/json"}], "start": 1777904080251, "stop": 1777904080291}, {"name": "GraphQL: createUser (set user)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "9c73503c-25e1-453d-be72-be344c5fb74a-attachment.json", "type": "application/json"}], "start": 1777904080291, "stop": 1777904080340}, {"name": "GraphQL: createUser (set worker)", "status": "passed", "attachments": [{"name": "createUser(generic) response", "source": "2bce3080-57ea-4884-a2a8-378e866807bb-attachment.json", "type": "application/json"}], "start": 1777904080340, "stop": 1777904080376}, {"name": "GraphQL: addUserToPlace (AddUserToPlaceDTO/dto-input, place_id=69f8a9d0037d44249d0d0f48)", "status": "passed", "attachments": [{"name": "addUserToPlace(generic) response", "source": "cd90f8f8-9be4-4b59-9d2b-9ebba9070597-attachment.json", "type": "application/json"}], "start": 1777904080376, "stop": 1777904080474}, {"name": "GraphQL: setUserPlaces (dto-variable)", "status": "passed", "attachments": [{"name": "setUserPlaces response", "source": "357400b2-6d9b-4fb1-8ccf-84591e1148dd-attachment.json", "type": "application/json"}], "start": 1777904080474, "stop": 1777904080718}], "start": 1777904080134, "stop": 1777904080718}, {"name": "When apply setUserPlaces for worker to first three places with trusted privilege", "status": "passed", "steps": [{"name": "GraphQL: setUserPlaces (dto-variable)", "status": "passed", "attachments": [{"name": "setUserPlaces response", "source": "d3bbb7a7-e123-4e68-85ab-00f9ff5cebe2-attachment.json", "type": "application/json"}], "start": 1777904080719, "stop": 1777904081100}], "start": 1777904080718, "stop": 1777904081101}, {"name": "And query places by worker member filter", "status": "broken", "statusDetails": {"message": "RuntimeError: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Field \\\"member_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", "trace": " 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 1253, in query_places_for_worker_member_filter\n resp = _exec_or_fail(\n op_name=\"place(member_ids)\",\n ...<3 lines>...\n company_id=self.company_id,\n )\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 30, in _exec_or_fail\n return execute_graphql(\n query=query,\n ...<2 lines>...\n access_token=token,\n )\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\worklib\\graphql_client.py\", line 180, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n"}, "steps": [{"name": "GraphQL: place(filters.member_ids)", "status": "broken", "statusDetails": {"message": "RuntimeError: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Field \\\"member_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", "trace": " File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1253, in query_places_for_worker_member_filter\n resp = _exec_or_fail(\n op_name=\"place(member_ids)\",\n ...<3 lines>...\n company_id=self.company_id,\n )\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 30, in _exec_or_fail\n return execute_graphql(\n query=query,\n ...<2 lines>...\n access_token=token,\n )\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\worklib\\graphql_client.py\", line 180, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n"}, "attachments": [{"name": "RuntimeError: place(member_ids)", "source": "562ec49e-33dc-471e-8821-2c173010f48e-attachment.txt", "type": "text/plain"}], "start": 1777904081102, "stop": 1777904081130}], "start": 1777904081101, "stop": 1777904081245}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777904081245, "stop": 1777904081420}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777904081420, "stop": 1777904081578}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904081578, "stop": 1777904081709}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904081710, "stop": 1777904081903}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904081903, "stop": 1777904081963}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777904081963, "stop": 1777904082018}, {"name": "Then worker is in first three places with accepted trusted and absent in fourth place", "status": "skipped", "start": 1777904082021, "stop": 1777904082021}], "start": 1777904080003, "stop": 1777904082021, "uuid": "6e5001aa-b46d-4bbd-8e2f-e660db6a724e", "historyId": "30c7842eb5c842b406c44d94a2de3901", "testCaseId": "91cd5bec79e35c6aeb792e72df094e86", "fullName": "Pass requests: setUserPlaces moves worker to first three places with trusted privilege", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "Pass requests"}, {"name": "framework", "value": "behave"}, {"name": "language", "value": "cpython3"}], "titlePath": ["Pass_request", "features", "Pass requests"]} |