1 line
13 KiB
JSON
1 line
13 KiB
JSON
{"uid":"bb69fe804cf499dd","name":"Pass request rejection prevents activation even with second confirmation","fullName":"Pass requests: Pass request rejection prevents activation even with second confirmation","historyId":"d5214a811b3d7cd98d122456dbf59131","time":{"start":1777894654876,"stop":1777894655113,"duration":237},"status":"broken","statusMessage":"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","statusTrace":" 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","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"broken","statusMessage":"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","statusTrace":" 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","time":{"start":1777894654879,"stop":1777894655005,"duration":126},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And prepare nested places and employees for pass request approval flow","time":{"start":1777894655005,"stop":1777894655109,"duration":104},"status":"broken","statusMessage":"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","statusTrace":" 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)","time":{"start":1777894655051,"stop":1777894655104,"duration":53},"status":"broken","statusMessage":"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","statusTrace":" 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":[],"attachments":[{"uid":"3d9f7029fd31c8b6","name":"RuntimeError: createPlaceMultiple","source":"3d9f7029fd31c8b6.txt","type":"text/plain","size":175}],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":1,"attachmentStep":false,"stepsCount":0,"hasContent":true}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":1,"hasContent":true},{"name":"And create pass in place #3 for approval flow","time":{"start":1777894655113,"stop":1777894655113,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When query passRequests by created pass_id with my token","time":{"start":1777894655113,"stop":1777894655113,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then pass request status is pending","time":{"start":1777894655113,"stop":1777894655113,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When reject pass request with my token","time":{"start":1777894655113,"stop":1777894655113,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And re-query passRequests by created pass_id with my token","time":{"start":1777894655113,"stop":1777894655113,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then pass request status is not active","time":{"start":1777894655113,"stop":1777894655113,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When approve pass request with new employee token","time":{"start":1777894655113,"stop":1777894655113,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And query passRequests by created pass_id with new employee token","time":{"start":1777894655113,"stop":1777894655113,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then pass request status is not active","time":{"start":1777894655113,"stop":1777894655113,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":1,"attachmentStep":false,"stepsCount":12,"hasContent":true},"afterStages":[],"labels":[{"name":"severity","value":"normal"},{"name":"feature","value":"Pass requests"},{"name":"framework","value":"behave"},{"name":"language","value":"cpython3"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"bb69fe804cf499dd.json","parameterValues":[]} |