1 line
9.1 KiB
JSON
1 line
9.1 KiB
JSON
{"name": "addUserToPlace adds trusted member with accepted status", "status": "broken", "statusDetails": {"message": "RuntimeError: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Field \\\"createEntrance\\\" must not have a selection since type \\\"JSONObject!\\\" has no subfields.\",\"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 63, in step_prepare_place_with_owner_and_worker\n td.prepare_members_trusted_flow()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1011, in prepare_members_trusted_flow\n place_id = self.ensure_place()\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 274, in ensure_place\n self.ensure_entrance_connected_to_places(place_ids=[place_id])\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 796, in ensure_entrance_connected_to_places\n return self.create_entrance(place_ids=place_ids)\n ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 782, in create_entrance\n resp = _exec_or_fail(op_name=\"createEntrance\", token=token, query=mutation, variables=variables, company_id=self.company_id)\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 35, 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 206, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n"}, "steps": [{"name": "When get access token", "status": "passed", "start": 1777974960519, "stop": 1777974960676}, {"name": "And prepare place with owner and trusted worker for members query", "status": "broken", "statusDetails": {"message": "RuntimeError: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Field \\\"createEntrance\\\" must not have a selection since type \\\"JSONObject!\\\" has no subfields.\",\"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 63, in step_prepare_place_with_owner_and_worker\n td.prepare_members_trusted_flow()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 1011, in prepare_members_trusted_flow\n place_id = self.ensure_place()\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 274, in ensure_place\n self.ensure_entrance_connected_to_places(place_ids=[place_id])\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 796, in ensure_entrance_connected_to_places\n return self.create_entrance(place_ids=place_ids)\n ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 782, in create_entrance\n resp = _exec_or_fail(op_name=\"createEntrance\", token=token, query=mutation, variables=variables, company_id=self.company_id)\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 35, 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 206, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n"}, "steps": [{"name": "GraphQL: createPlaceMultiple (main place)", "status": "broken", "statusDetails": {"message": "RuntimeError: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Field \\\"createEntrance\\\" must not have a selection since type \\\"JSONObject!\\\" has no subfields.\",\"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 274, in ensure_place\n self.ensure_entrance_connected_to_places(place_ids=[place_id])\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 796, in ensure_entrance_connected_to_places\n return self.create_entrance(place_ids=place_ids)\n ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 782, in create_entrance\n resp = _exec_or_fail(op_name=\"createEntrance\", token=token, query=mutation, variables=variables, company_id=self.company_id)\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 35, 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 206, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n"}, "steps": [{"name": "GraphQL: createEntrance(RegisterEntranceDTO)", "status": "broken", "statusDetails": {"message": "RuntimeError: GraphQL HTTP 400: {\"errors\":[{\"message\":\"Field \\\"createEntrance\\\" must not have a selection since type \\\"JSONObject!\\\" has no subfields.\",\"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 782, in create_entrance\n resp = _exec_or_fail(op_name=\"createEntrance\", token=token, query=mutation, variables=variables, company_id=self.company_id)\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 35, 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 206, in execute_graphql\n raise RuntimeError(f\"GraphQL HTTP {e.code}: {body}\") from e\n"}, "attachments": [{"name": "RuntimeError: createEntrance", "source": "bae2d283-c448-4859-952d-35094c1fc287-attachment.txt", "type": "text/plain"}], "start": 1777974960728, "stop": 1777974960771}], "attachments": [{"name": "createPlaceMultiple(main) response", "source": "712f874b-e9b9-4495-aa7c-909cc7ada0b8-attachment.json", "type": "application/json"}], "start": 1777974960677, "stop": 1777974960773}], "start": 1777974960676, "stop": 1777974960780}, {"name": "When query members for prepared place", "status": "skipped", "start": 1777974960783, "stop": 1777974960783}, {"name": "Then members response contains trusted worker with accepted status", "status": "skipped", "start": 1777974960783, "stop": 1777974960783}], "start": 1777974960516, "stop": 1777974960784, "uuid": "baf01e97-d7c4-42b9-b411-66b2e04a68b6", "historyId": "470bc5c3f04104d6210dad598c3d8b54", "testCaseId": "88d4a632fd4c1dca4b66e061e420a233", "fullName": "Pass requests: addUserToPlace adds trusted member with accepted status", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "Pass requests"}, {"name": "framework", "value": "behave"}, {"name": "language", "value": "cpython3"}], "titlePath": ["Pass_request", "features", "Pass requests"]} |