Noob_test/allure-results/a727c643-e613-41a2-a9b6-b0cb5ff14ff9-result.json
2026-05-15 11:34:24 +03:00

1 line
9.5 KiB
JSON

{"name": "Pass request rejection prevents activation even with second confirmation", "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": 1777974959859, "stop": 1777974960089}, {"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": "eba9a386-c13d-4071-b52d-9b77a13d2d2d-attachment.json", "type": "application/json"}], "start": 1777974960090, "stop": 1777974960141}, {"name": "GraphQL: createPlaceMultiple (passreq-place-2, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "40464ea6-f7d9-4639-bb02-9c4b5c576d70-attachment.json", "type": "application/json"}], "start": 1777974960141, "stop": 1777974960190}, {"name": "GraphQL: createPlaceMultiple (passreq-place-3, place_type=flat)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "c46f7b2c-fd85-483f-a73f-22cde81fd279-attachment.json", "type": "application/json"}], "start": 1777974960190, "stop": 1777974960248}, {"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": "2a6e48a7-422f-4d36-b9b8-067ad9782b75-attachment.txt", "type": "text/plain"}], "start": 1777974960248, "stop": 1777974960293}], "start": 1777974960089, "stop": 1777974960301}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777974960301, "stop": 1777974960372}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777974960372, "stop": 1777974960442}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777974960442, "stop": 1777974960510}, {"name": "And create pass in place #3 for approval flow", "status": "skipped", "start": 1777974960514, "stop": 1777974960514}, {"name": "When query passRequests by created pass_id with my token", "status": "skipped", "start": 1777974960514, "stop": 1777974960514}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1777974960514, "stop": 1777974960514}, {"name": "When reject pass request with my token", "status": "skipped", "start": 1777974960514, "stop": 1777974960514}, {"name": "And re-query passRequests by created pass_id with my token", "status": "skipped", "start": 1777974960514, "stop": 1777974960514}, {"name": "Then pass request status is not active", "status": "skipped", "start": 1777974960514, "stop": 1777974960514}, {"name": "When approve pass request with new employee token", "status": "skipped", "start": 1777974960514, "stop": 1777974960514}, {"name": "And query passRequests by created pass_id with new employee token", "status": "skipped", "start": 1777974960514, "stop": 1777974960514}, {"name": "Then pass request status is not active", "status": "skipped", "start": 1777974960514, "stop": 1777974960514}], "start": 1777974959858, "stop": 1777974960514, "uuid": "dbe6c597-d2d9-440d-91f5-b114f1840c7e", "historyId": "d5214a811b3d7cd98d122456dbf59131", "testCaseId": "e6e5289fd68251094ffad43532c84933", "fullName": "Pass requests: Pass request rejection prevents activation even with second confirmation", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "Pass requests"}, {"name": "framework", "value": "behave"}, {"name": "language", "value": "cpython3"}], "titlePath": ["Pass_request", "features", "Pass requests"]}