{"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 41, in step_set_first_user_status_accepted\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": 1777879215928, "stop": 1777879216072}, {"name": "Then access token is valid", "status": "passed", "start": 1777879216072, "stop": 1777879216073}, {"name": "When create place for kvs", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (KVS)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "f13296e9-9500-4466-a0ca-a4cab9f2a496-attachment.json", "type": "application/json"}], "start": 1777879216075, "stop": 1777879216118}], "start": 1777879216074, "stop": 1777879216118}, {"name": "And create two users for kvs", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "2e8dd9c5-3f5d-4779-94b9-7a3128f3e32f-attachment.json", "type": "application/json"}], "start": 1777879216119, "stop": 1777879216164}, {"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "5ca61251-a323-4c5c-b5b2-6647e9155600-attachment.json", "type": "application/json"}], "start": 1777879216164, "stop": 1777879216210}], "start": 1777879216118, "stop": 1777879216211}, {"name": "And add both users to kvs place", "status": "passed", "steps": [{"name": "GraphQL: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "2ba59365-8da4-4dc7-a34a-d2db55017685-attachment.json", "type": "application/json"}], "start": 1777879216212, "stop": 1777879216281}, {"name": "GraphQL: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "472e0f0a-fe73-4e4a-948d-e0e6d532e558-attachment.json", "type": "application/json"}], "start": 1777879216281, "stop": 1777879216343}], "start": 1777879216211, "stop": 1777879216344}, {"name": "And set first kvs user status to accepted", "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 41, in step_set_first_user_status_accepted\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: 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": 1777879216345, "stop": 1777879216395}], "start": 1777879216344, "stop": 1777879216400}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777879216402, "stop": 1777879216551}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777879216552, "stop": 1777879216701}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777879216701, "stop": 1777879216754}, {"name": "When query members by created kvs place", "status": "skipped", "start": 1777879216758, "stop": 1777879216758}, {"name": "Then members response contains two created users with statuses accepted and pending", "status": "skipped", "start": 1777879216758, "stop": 1777879216758}, {"name": "When update second kvs user status to accepted", "status": "skipped", "start": 1777879216758, "stop": 1777879216758}, {"name": "And query members by created kvs place", "status": "skipped", "start": 1777879216758, "stop": 1777879216758}, {"name": "Then members response contains two created users with status accepted", "status": "skipped", "start": 1777879216758, "stop": 1777879216758}], "start": 1777879215927, "stop": 1777879216758, "uuid": "9f97b563-a067-4e72-8f40-67f761f24508", "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)"]}