1 line
8.1 KiB
JSON
1 line
8.1 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 67, in step_update_second_user_status\n context.kvs_update_status_response_2 = 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": 1777881522560, "stop": 1777881522680}, {"name": "Then access token is valid", "status": "passed", "start": 1777881522681, "stop": 1777881522682}, {"name": "When create place for kvs", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (KVS)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "46a2e3d4-4bba-4405-b4a8-9f1cc3e61182-attachment.json", "type": "application/json"}], "start": 1777881522683, "stop": 1777881522725}], "start": 1777881522682, "stop": 1777881522726}, {"name": "And create two users for kvs", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "34c2c013-6364-4c5a-b3bc-06474cc51b14-attachment.json", "type": "application/json"}], "start": 1777881522727, "stop": 1777881522769}, {"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "2a9a7e29-86e2-456a-80f1-065d73503749-attachment.json", "type": "application/json"}], "start": 1777881522769, "stop": 1777881522810}], "start": 1777881522726, "stop": 1777881522811}, {"name": "And add both users to kvs place", "status": "passed", "steps": [{"name": "GraphQL: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "ec19467f-06b8-4212-9d3d-a93b5f249ebe-attachment.json", "type": "application/json"}], "start": 1777881522813, "stop": 1777881522919}, {"name": "GraphQL: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "ee8b12cc-e622-4a9d-86b2-fd9adfcdbee3-attachment.json", "type": "application/json"}], "start": 1777881522919, "stop": 1777881522985}], "start": 1777881522812, "stop": 1777881522985}, {"name": "When query members by created kvs place", "status": "passed", "steps": [{"name": "GraphQL: members(filters.place_id) (KVS)", "status": "passed", "attachments": [{"name": "members response", "source": "2663700b-adb0-4894-99c4-532c1a76c043-attachment.json", "type": "application/json"}], "start": 1777881522986, "stop": 1777881523023}], "start": 1777881522985, "stop": 1777881523023}, {"name": "Then members response contains two created users with statuses accepted and pending", "status": "passed", "start": 1777881523023, "stop": 1777881523024}, {"name": "When update second 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 67, in step_update_second_user_status\n context.kvs_update_status_response_2 = 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": 1777881523025, "stop": 1777881523065}], "start": 1777881523025, "stop": 1777881523072}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777881523074, "stop": 1777881523225}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777881523225, "stop": 1777881523390}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777881523390, "stop": 1777881523442}, {"name": "And query members by created kvs place", "status": "skipped", "start": 1777881523444, "stop": 1777881523444}, {"name": "Then members response contains two created users with status accepted", "status": "skipped", "start": 1777881523444, "stop": 1777881523444}], "start": 1777881522559, "stop": 1777881523444, "uuid": "1ef065dd-cd53-4897-b595-d1d33e0ace2d", "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)"]} |