1 line
7.9 KiB
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": 1777881374611, "stop": 1777881374726}, {"name": "Then access token is valid", "status": "passed", "start": 1777881374726, "stop": 1777881374727}, {"name": "When create place for kvs", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (KVS)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "2bb1e3f1-3897-486a-99c2-10c3bcc39f84-attachment.json", "type": "application/json"}], "start": 1777881374729, "stop": 1777881374772}], "start": 1777881374728, "stop": 1777881374772}, {"name": "And create two users for kvs", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "41f88053-d366-441b-9e89-db677db15200-attachment.json", "type": "application/json"}], "start": 1777881374774, "stop": 1777881374818}, {"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "b3556f2b-533d-4602-b5c8-d3a475094cdb-attachment.json", "type": "application/json"}], "start": 1777881374818, "stop": 1777881374857}], "start": 1777881374773, "stop": 1777881374858}, {"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": "196c8a48-aa4a-4b0a-a193-55304b5f3e5c-attachment.json", "type": "application/json"}], "start": 1777881374860, "stop": 1777881374926}, {"name": "GraphQL: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "10136d73-e49e-42ac-8444-133727128303-attachment.json", "type": "application/json"}], "start": 1777881374926, "stop": 1777881374984}, {"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": 1777881374985, "stop": 1777881375133}], "start": 1777881374858, "stop": 1777881375139}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777881375142, "stop": 1777881375327}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777881375327, "stop": 1777881375486}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777881375486, "stop": 1777881375539}, {"name": "When query members by created kvs place", "status": "skipped", "start": 1777881375541, "stop": 1777881375541}, {"name": "Then members response contains two created users with statuses accepted and pending", "status": "skipped", "start": 1777881375541, "stop": 1777881375541}, {"name": "When update second kvs user status to accepted", "status": "skipped", "start": 1777881375541, "stop": 1777881375541}, {"name": "And query members by created kvs place", "status": "skipped", "start": 1777881375541, "stop": 1777881375541}, {"name": "Then members response contains two created users with status accepted", "status": "skipped", "start": 1777881375541, "stop": 1777881375541}], "start": 1777881374610, "stop": 1777881375541, "uuid": "63633e52-108b-482f-8561-73c19be731fa", "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)"]} |