1 line
9.5 KiB
JSON
1 line
9.5 KiB
JSON
{"name": "Pass request approval requires two confirmations", "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_request_approval_steps.py\", line 13, in step_prepare_nested_places_and_employees\n td.prepare_pass_request_approval_flow()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 720, in prepare_pass_request_approval_flow\n p1, p2, p3 = self.ensure_three_nested_places()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 343, in ensure_three_nested_places\n self.ensure_entrance_connected_to_places(place_ids=[p1, p2, p3])\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": 1777974959190, "stop": 1777974959336}, {"name": "And prepare nested places and employees for pass request approval flow", "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_request_approval_steps.py\", line 13, in step_prepare_nested_places_and_employees\n td.prepare_pass_request_approval_flow()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 720, in prepare_pass_request_approval_flow\n p1, p2, p3 = self.ensure_three_nested_places()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 343, in ensure_three_nested_places\n self.ensure_entrance_connected_to_places(place_ids=[p1, p2, p3])\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 (passreq-place-1, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "ad180798-3147-47d8-809b-14cecf3875dc-attachment.json", "type": "application/json"}], "start": 1777974959338, "stop": 1777974959403}, {"name": "GraphQL: createPlaceMultiple (passreq-place-2, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "6afce09c-28a0-406e-9fc1-ca6859b50636-attachment.json", "type": "application/json"}], "start": 1777974959403, "stop": 1777974959492}, {"name": "GraphQL: createPlaceMultiple (passreq-place-3, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "6e7a9573-ada2-44c8-af18-90203a9f9842-attachment.json", "type": "application/json"}], "start": 1777974959493, "stop": 1777974959569}, {"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": "1703b92d-82a1-43b0-83ea-4b69efb34461-attachment.txt", "type": "text/plain"}], "start": 1777974959569, "stop": 1777974959617}], "start": 1777974959336, "stop": 1777974959625}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777974959626, "stop": 1777974959696}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777974959697, "stop": 1777974959772}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777974959772, "stop": 1777974959853}, {"name": "And create pass in place #3 for approval flow", "status": "skipped", "start": 1777974959856, "stop": 1777974959856}, {"name": "When query passRequests by created pass_id with my token", "status": "skipped", "start": 1777974959856, "stop": 1777974959856}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1777974959856, "stop": 1777974959856}, {"name": "When approve pass request with my token", "status": "skipped", "start": 1777974959856, "stop": 1777974959856}, {"name": "And re-query passRequests by created pass_id with my token", "status": "skipped", "start": 1777974959856, "stop": 1777974959856}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1777974959856, "stop": 1777974959856}, {"name": "When approve pass request with new employee token", "status": "skipped", "start": 1777974959856, "stop": 1777974959856}, {"name": "And query passRequests by created pass_id with new employee token", "status": "skipped", "start": 1777974959856, "stop": 1777974959856}, {"name": "Then pass request status is active", "status": "skipped", "start": 1777974959856, "stop": 1777974959856}], "start": 1777974959188, "stop": 1777974959856, "uuid": "c2309212-4ace-48c1-bf68-325fee4d7bbe", "historyId": "34532a485fee47211dd0b378a7dc503c", "testCaseId": "a55790f192c201485f73bc55e15e278d", "fullName": "Pass requests: Pass request approval requires two confirmations", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "Pass requests"}, {"name": "framework", "value": "behave"}, {"name": "language", "value": "cpython3"}], "titlePath": ["Pass_request", "features", "Pass requests"]} |