Noob_test/KVSTest/allure-results/cf04b47f-e846-4be5-8470-049312522b5f-result.json

1 line
8.0 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 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": 1777880997775, "stop": 1777880997909}, {"name": "Then access token is valid", "status": "passed", "start": 1777880997909, "stop": 1777880997910}, {"name": "When create place for kvs", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (KVS)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "2733ac39-251b-4f9d-8f25-eb5fb0820e81-attachment.json", "type": "application/json"}], "start": 1777880997912, "stop": 1777880997952}], "start": 1777880997911, "stop": 1777880997952}, {"name": "And create two users for kvs", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "4dd9bdea-6c4b-4c6a-bbf7-f6a4b0317232-attachment.json", "type": "application/json"}], "start": 1777880997953, "stop": 1777880998000}, {"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "2b74efe1-8cf0-4d38-b77b-c22082fb953a-attachment.json", "type": "application/json"}], "start": 1777880998000, "stop": 1777880998044}], "start": 1777880997952, "stop": 1777880998045}, {"name": "And add both users to kvs place", "status": "passed", "steps": [{"name": "GraphQL: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "5beacaa5-125b-4aa9-a7de-d365be28e630-attachment.json", "type": "application/json"}], "start": 1777880998046, "stop": 1777880998146}, {"name": "GraphQL: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "e2400834-f043-40da-a096-dbe518348b3c-attachment.json", "type": "application/json"}], "start": 1777880998146, "stop": 1777880998218}], "start": 1777880998045, "stop": 1777880998219}, {"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": 1777880998221, "stop": 1777880998264}], "start": 1777880998219, "stop": 1777880998269}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777880998272, "stop": 1777880998440}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777880998440, "stop": 1777880998614}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777880998614, "stop": 1777880998701}, {"name": "When query members by created kvs place", "status": "skipped", "start": 1777880998704, "stop": 1777880998704}, {"name": "Then members response contains two created users with statuses accepted and pending", "status": "skipped", "start": 1777880998704, "stop": 1777880998704}, {"name": "When update second kvs user status to accepted", "status": "skipped", "start": 1777880998704, "stop": 1777880998704}, {"name": "And query members by created kvs place", "status": "skipped", "start": 1777880998704, "stop": 1777880998704}, {"name": "Then members response contains two created users with status accepted", "status": "skipped", "start": 1777880998704, "stop": 1777880998704}], "start": 1777880997774, "stop": 1777880998704, "uuid": "08a0ad7a-5e90-4e6a-94e8-60cfb45015a2", "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)"]}