{"name": "Create subscription, check invoices, delete subscription", "status": "passed", "steps": [{"name": "When get access token", "status": "passed", "start": 1776854432011, "stop": 1776854432131}, {"name": "Then access token is valid", "status": "passed", "start": 1776854432131, "stop": 1776854432132}, {"name": "When create service for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "35cb49d9-a6dc-480c-9f8c-e8172595d3fc-attachment.json", "type": "application/json"}], "start": 1776854432134, "stop": 1776854432169}], "start": 1776854432132, "stop": 1776854432170}, {"name": "And create plan for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (KVS)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "e94e6da6-f861-44f0-ada1-60905d34205c-attachment.json", "type": "application/json"}], "start": 1776854432170, "stop": 1776854432217}, {"name": "GraphQL: createPlan", "status": "passed", "attachments": [{"name": "createPlan response", "source": "a6ea630a-fdc5-41ba-a15a-aff8e99e8d39-attachment.json", "type": "application/json"}], "start": 1776854432217, "stop": 1776854432259}], "start": 1776854432170, "stop": 1776854432260}, {"name": "And create subscription for kvs", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "da75b5b8-4366-4ad4-95e1-66393e1aacf5-attachment.json", "type": "application/json"}], "start": 1776854432261, "stop": 1776854432317}, {"name": "GraphQL: addUserToPlace (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "f582828d-d003-4195-bbbc-8f384ce27142-attachment.json", "type": "application/json"}], "start": 1776854432317, "stop": 1776854432478}, {"name": "GraphQL: place members (KVS)", "status": "passed", "attachments": [{"name": "place members response", "source": "66fd4e53-914a-46b7-8a88-0f50052d821d-attachment.json", "type": "application/json"}], "start": 1776854432479, "stop": 1776854432524}, {"name": "GraphQL: createSubscription", "status": "passed", "attachments": [{"name": "createSubscription response", "source": "4f1fa299-be4f-4a0b-9975-c48910070490-attachment.json", "type": "application/json"}], "start": 1776854432525, "stop": 1776854432615}], "attachments": [{"name": "addUserToPlace (for subscription) response", "source": "e0b46063-cc70-4a6e-bf71-ffdb7355e93f-attachment.json", "type": "application/json"}, {"name": "place members (after addUserToPlace) response", "source": "b89b62bf-3785-49ec-b29b-02978da71541-attachment.json", "type": "application/json"}], "start": 1776854432260, "stop": 1776854432615}, {"name": "Then subscription response is valid", "status": "passed", "start": 1776854432615, "stop": 1776854432616}, {"name": "When query pending invoices for subscription place", "status": "passed", "steps": [{"name": "GraphQL: invoices (pending)", "status": "passed", "attachments": [{"name": "invoices response", "source": "afac9095-e18e-44ac-bb92-cc497da2e5c1-attachment.json", "type": "application/json"}], "start": 1776854432617, "stop": 1776854432684}], "start": 1776854432616, "stop": 1776854432685}, {"name": "Then invoices response is valid and references subscription", "status": "passed", "start": 1776854432685, "stop": 1776854432686}, {"name": "When delete created subscription", "status": "passed", "steps": [{"name": "GraphQL: deleteSubscription", "status": "passed", "attachments": [{"name": "deleteSubscription response", "source": "69f70bc8-20c6-4624-84bb-92d422a0df66-attachment.json", "type": "application/json"}], "start": 1776854432687, "stop": 1776854432740}], "start": 1776854432686, "stop": 1776854432740}, {"name": "Then delete subscription response is successful", "status": "passed", "start": 1776854432740, "stop": 1776854432741}, {"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 65, in execute_graphql\n raise RuntimeError(f\"GraphQL errors: {errors}\")\n"}, "start": 1776854432741, "stop": 1776854432778}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1776854432782, "stop": 1776854432869}, {"name": "Cleanup: _cleanup_delete_plan", "status": "passed", "start": 1776854432869, "stop": 1776854432905}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1776854432906, "stop": 1776854432962}, {"name": "Cleanup: _cleanup_delete_service", "status": "passed", "start": 1776854432963, "stop": 1776854433013}], "attachments": [{"name": "Cleanup error", "source": "53c6c1e2-90e9-4d4d-93ed-b3ff5c9e966a-attachment.txt", "type": "text/plain"}], "start": 1776854432010, "stop": 1776854433014, "uuid": "87642047-a3a5-4654-a369-4174c5d7d919", "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"]}