Noob_test/KVSTest/allure-results/6e9b9dd6-9719-45f4-b1bf-856dc0ae1d59-result.json

1 line
6.3 KiB
JSON

{"name": "Create subscription, check invoices, delete subscription", "status": "passed", "steps": [{"name": "When get access token", "status": "passed", "start": 1777879216764, "stop": 1777879216888}, {"name": "Then access token is valid", "status": "passed", "start": 1777879216888, "stop": 1777879216889}, {"name": "When create service for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "8b7ccce0-b6dc-4088-9b62-ba000acb94b5-attachment.json", "type": "application/json"}], "start": 1777879216891, "stop": 1777879216930}], "start": 1777879216889, "stop": 1777879216930}, {"name": "And create plan for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (KVS)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "e1bb936e-98f6-4717-88a5-281dc4d590e9-attachment.json", "type": "application/json"}], "start": 1777879216931, "stop": 1777879216974}, {"name": "GraphQL: createPlan", "status": "passed", "attachments": [{"name": "createPlan response", "source": "12de160d-afc5-47ad-b654-ea3107ad13e5-attachment.json", "type": "application/json"}], "start": 1777879216974, "stop": 1777879217016}], "start": 1777879216931, "stop": 1777879217016}, {"name": "And create subscription for kvs", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "72ca3993-2e9a-45bd-9667-44e04ac84896-attachment.json", "type": "application/json"}], "start": 1777879217017, "stop": 1777879217062}, {"name": "GraphQL: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "c7d79f8a-0330-417f-96f1-873a1d940595-attachment.json", "type": "application/json"}], "start": 1777879217062, "stop": 1777879217160}, {"name": "GraphQL: place members (KVS)", "status": "passed", "attachments": [{"name": "place members response", "source": "e01e11dc-b132-4d7f-8334-c920c441e9ea-attachment.json", "type": "application/json"}], "start": 1777879217161, "stop": 1777879217208}, {"name": "GraphQL: createSubscription", "status": "passed", "attachments": [{"name": "createSubscription response", "source": "303db148-812f-41c1-8e4e-3389027bb7f0-attachment.json", "type": "application/json"}], "start": 1777879217209, "stop": 1777879217271}], "attachments": [{"name": "addUserToPlace (for subscription) response", "source": "f3a3555b-30dd-427a-9309-e7a986b787b4-attachment.json", "type": "application/json"}, {"name": "place members (after addUserToPlace) response", "source": "0f7319b7-0538-4205-a23a-04df4b147f96-attachment.json", "type": "application/json"}], "start": 1777879217016, "stop": 1777879217272}, {"name": "Then subscription response is valid", "status": "passed", "start": 1777879217272, "stop": 1777879217273}, {"name": "When query pending invoices for subscription place", "status": "passed", "steps": [{"name": "GraphQL: invoices (pending)", "status": "passed", "attachments": [{"name": "invoices response", "source": "1ff489fb-b746-44b5-bdb3-323993895da6-attachment.json", "type": "application/json"}], "start": 1777879217274, "stop": 1777879217333}], "start": 1777879217273, "stop": 1777879217334}, {"name": "Then invoices response is valid and references subscription", "status": "passed", "start": 1777879217334, "stop": 1777879217335}, {"name": "When delete created subscription", "status": "passed", "steps": [{"name": "GraphQL: deleteSubscription", "status": "passed", "attachments": [{"name": "deleteSubscription response", "source": "5c99945e-d4ea-4840-91e9-98559b85d8ab-attachment.json", "type": "application/json"}], "start": 1777879217337, "stop": 1777879217396}], "start": 1777879217336, "stop": 1777879217396}, {"name": "Then delete subscription response is successful", "status": "passed", "start": 1777879217397, "stop": 1777879217398}, {"name": "Cleanup: _cleanup_delete_subscription", "status": "broken", "statusDetails": {"message": "RuntimeError: GraphQL errors: [{'message': 'Not Found', 'code': 'Client Error', 'status': 404, 'description': 'The server has not found anything matching the Request-URI'}]\n", "trace": " File \"KVSTest\\features\\environment.py\", line 21, in after_scenario\n fn()\n ~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\KVSTest\\testdata\\subscription_test_data.py\", line 230, in _cleanup_delete_subscription\n _exec_or_fail(op_name=\"deleteSubscription(mutation)\", token=token, query=del_mut, variables={\"id\": subscription_id}, company_id=self.company_id)\n ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\KVSTest\\testdata\\subscription_test_data.py\", line 25, 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": 1777879217398, "stop": 1777879217445}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777879217449, "stop": 1777879217639}, {"name": "Cleanup: _cleanup_delete_plan", "status": "passed", "start": 1777879217639, "stop": 1777879217672}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777879217672, "stop": 1777879217728}, {"name": "Cleanup: _cleanup_delete_service", "status": "passed", "start": 1777879217728, "stop": 1777879217779}], "attachments": [{"name": "Cleanup error", "source": "a6f21916-d5fa-4240-8e92-93f577df76b9-attachment.txt", "type": "text/plain"}], "start": 1777879216763, "stop": 1777879217779, "uuid": "4539c189-9c04-4d70-a2b5-2145e0614e43", "historyId": "7cccd63cf5a5a0c9e367594080cb5757", "testCaseId": "dd2eaf6318c00f01ec8aa305c0b6ec66", "fullName": "KVS GraphQL subscription: Create subscription, check invoices, delete subscription", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "KVS GraphQL subscription"}, {"name": "framework", "value": "behave"}, {"name": "language", "value": "cpython3"}], "titlePath": ["KVSTest", "features", "KVS GraphQL subscription"]}