Noob_test/KVSTest/allure-results/72a2ea05-90a6-4590-9742-232c7d411233-result.json

1 line
7.9 KiB
JSON

{"name": "Update member status and verify via members query", "status": "broken", "statusDetails": {"message": "RuntimeError: GraphQL errors: [{'message': 'Conflict', 'code': 'Client Error', 'status': 409, 'description': 'The request could not be completed due to a conflict with the current state of the resource'}]\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 \"KVSTest\\features\\steps\\kvs_member_status_steps.py\", line 35, in step_add_both_users_to_place\n context.kvs_update_status_response_1 = td.update_member_status(place_id=place_id, user_id=user_ids[0], status=\"accepted\")\n ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\KVSTest\\testdata\\kvs_test_data.py\", line 279, in update_member_status\n resp = _exec_or_fail(\n op_name=\"updateMemberStatus(mutation)\",\n ...<3 lines>...\n company_id=self.company_id,\n )\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\KVSTest\\testdata\\kvs_test_data.py\", line 29, 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": 1777881503196, "stop": 1777881503321}, {"name": "Then access token is valid", "status": "passed", "start": 1777881503321, "stop": 1777881503323}, {"name": "When create place for kvs", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (KVS)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "dd1b65dd-9cac-4664-bbe9-94cfa09d006b-attachment.json", "type": "application/json"}], "start": 1777881503325, "stop": 1777881503367}], "start": 1777881503323, "stop": 1777881503368}, {"name": "And create two users for kvs", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "06522177-6897-4862-abd7-497cd45ecc30-attachment.json", "type": "application/json"}], "start": 1777881503369, "stop": 1777881503423}, {"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "2a080c43-470c-49e8-8573-58acf14751f1-attachment.json", "type": "application/json"}], "start": 1777881503423, "stop": 1777881503466}], "start": 1777881503368, "stop": 1777881503466}, {"name": "And add both users to kvs place", "status": "broken", "statusDetails": {"message": "RuntimeError: GraphQL errors: [{'message': 'Conflict', 'code': 'Client Error', 'status': 409, 'description': 'The request could not be completed due to a conflict with the current state of the resource'}]\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 \"KVSTest\\features\\steps\\kvs_member_status_steps.py\", line 35, in step_add_both_users_to_place\n context.kvs_update_status_response_1 = td.update_member_status(place_id=place_id, user_id=user_ids[0], status=\"accepted\")\n ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\KVSTest\\testdata\\kvs_test_data.py\", line 279, in update_member_status\n resp = _exec_or_fail(\n op_name=\"updateMemberStatus(mutation)\",\n ...<3 lines>...\n company_id=self.company_id,\n )\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\KVSTest\\testdata\\kvs_test_data.py\", line 29, 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: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "d8f19446-d7e4-4004-a449-ce84ebb1177b-attachment.json", "type": "application/json"}], "start": 1777881503468, "stop": 1777881503545}, {"name": "GraphQL: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "27f58f7a-08e9-4b1f-b943-1fe04e6ba0d9-attachment.json", "type": "application/json"}], "start": 1777881503546, "stop": 1777881503614}, {"name": "GraphQL: updateMemberStatus(accepted) (KVS)", "status": "broken", "statusDetails": {"message": "RuntimeError: GraphQL errors: [{'message': 'Conflict', 'code': 'Client Error', 'status': 409, 'description': 'The request could not be completed due to a conflict with the current state of the resource'}]\n", "trace": " File \"C:\\Users\\Степаан\\PycharmProjects\\work\\KVSTest\\testdata\\kvs_test_data.py\", line 279, in update_member_status\n resp = _exec_or_fail(\n op_name=\"updateMemberStatus(mutation)\",\n ...<3 lines>...\n company_id=self.company_id,\n )\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\KVSTest\\testdata\\kvs_test_data.py\", line 29, 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"}, "start": 1777881503615, "stop": 1777881503666}], "start": 1777881503467, "stop": 1777881503675}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777881503711, "stop": 1777881503882}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777881503882, "stop": 1777881504054}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777881504054, "stop": 1777881504110}, {"name": "When query members by created kvs place", "status": "skipped", "start": 1777881504112, "stop": 1777881504112}, {"name": "Then members response contains two created users with statuses accepted and pending", "status": "skipped", "start": 1777881504112, "stop": 1777881504112}, {"name": "When update second kvs user status to accepted", "status": "skipped", "start": 1777881504112, "stop": 1777881504112}, {"name": "And query members by created kvs place", "status": "skipped", "start": 1777881504112, "stop": 1777881504112}, {"name": "Then members response contains two created users with status accepted", "status": "skipped", "start": 1777881504112, "stop": 1777881504112}], "start": 1777881503194, "stop": 1777881504112, "uuid": "de77cc42-4ab5-45dc-b717-5a09782755ec", "historyId": "45638a32f80ed81f120fde7f1744e763", "testCaseId": "fba0be7e1f7ab00d7b1d5363d98377ce", "fullName": "KVS GraphQL (place + members): Update member status and verify via members query", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "KVS GraphQL (place + members)"}, {"name": "framework", "value": "behave"}, {"name": "language", "value": "cpython3"}], "titlePath": ["KVSTest", "features", "KVS GraphQL (place + members)"]}