1 line
8.0 KiB
JSON
1 line
8.0 KiB
JSON
{"name": "Pass request approval requires two confirmations", "status": "broken", "statusDetails": {"message": "RuntimeError: GraphQL errors: [{'message': 'Bad Request', 'code': 'Client Error', 'status': 400, 'description': 'The request could not be understood by the server due to malformed syntax'}]\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 583, 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 308, in ensure_three_nested_places\n p1 = self._create_place(parent_id=self.parent_place_id, title_prefix=\"passreq-place-1\", place_type=p1_type)\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 270, in _create_place\n resp = self._retry_graphql(\n op_name=\"createPlaceMultiple\",\n ...<4 lines>...\n retries=2,\n )\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 193, in _retry_graphql\n return _exec_or_fail(op_name=op_name, token=token, query=query, variables=variables, company_id=company_id)\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 191, in execute_graphql\n raise RuntimeError(f\"GraphQL errors: {errors}\")\n"}, "steps": [{"name": "When get access token", "status": "passed", "start": 1777894654694, "stop": 1777894654810}, {"name": "And prepare nested places and employees for pass request approval flow", "status": "broken", "statusDetails": {"message": "RuntimeError: GraphQL errors: [{'message': 'Bad Request', 'code': 'Client Error', 'status': 400, 'description': 'The request could not be understood by the server due to malformed syntax'}]\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 583, 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 308, in ensure_three_nested_places\n p1 = self._create_place(parent_id=self.parent_place_id, title_prefix=\"passreq-place-1\", place_type=p1_type)\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 270, in _create_place\n resp = self._retry_graphql(\n op_name=\"createPlaceMultiple\",\n ...<4 lines>...\n retries=2,\n )\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 193, in _retry_graphql\n return _exec_or_fail(op_name=op_name, token=token, query=query, variables=variables, company_id=company_id)\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 191, in execute_graphql\n raise RuntimeError(f\"GraphQL errors: {errors}\")\n"}, "steps": [{"name": "GraphQL: createPlaceMultiple (passreq-place-1, place_type=section)", "status": "broken", "statusDetails": {"message": "RuntimeError: GraphQL errors: [{'message': 'Bad Request', 'code': 'Client Error', 'status': 400, 'description': 'The request could not be understood by the server due to malformed syntax'}]\n", "trace": " File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 270, in _create_place\n resp = self._retry_graphql(\n op_name=\"createPlaceMultiple\",\n ...<4 lines>...\n retries=2,\n )\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\Pass_request\\testdata\\pass_request_test_data.py\", line 193, in _retry_graphql\n return _exec_or_fail(op_name=op_name, token=token, query=query, variables=variables, company_id=company_id)\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 191, in execute_graphql\n raise RuntimeError(f\"GraphQL errors: {errors}\")\n"}, "attachments": [{"name": "RuntimeError: createPlaceMultiple", "source": "a8e0b138-33cc-40cc-a082-5b289341565a-attachment.txt", "type": "text/plain"}], "start": 1777894654831, "stop": 1777894654862}], "start": 1777894654810, "stop": 1777894654869}, {"name": "And create pass in place #3 for approval flow", "status": "skipped", "start": 1777894654874, "stop": 1777894654874}, {"name": "When query passRequests by created pass_id with my token", "status": "skipped", "start": 1777894654874, "stop": 1777894654874}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1777894654874, "stop": 1777894654874}, {"name": "When approve pass request with my token", "status": "skipped", "start": 1777894654874, "stop": 1777894654874}, {"name": "And re-query passRequests by created pass_id with my token", "status": "skipped", "start": 1777894654874, "stop": 1777894654874}, {"name": "Then pass request status is pending", "status": "skipped", "start": 1777894654874, "stop": 1777894654874}, {"name": "When approve pass request with new employee token", "status": "skipped", "start": 1777894654874, "stop": 1777894654874}, {"name": "And query passRequests by created pass_id with new employee token", "status": "skipped", "start": 1777894654874, "stop": 1777894654874}, {"name": "Then pass request status is active", "status": "skipped", "start": 1777894654874, "stop": 1777894654874}], "start": 1777894654692, "stop": 1777894654874, "uuid": "412dcc89-85ca-4efc-8162-9d3d28aba2ad", "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"]} |