{"name": "Create subscription, check invoices, delete subscription", "status": "passed", "steps": [{"name": "When get access token", "status": "passed", "start": 1776855066740, "stop": 1776855066882}, {"name": "Then access token is valid", "status": "passed", "start": 1776855066882, "stop": 1776855066883}, {"name": "When create service for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "a875ec08-7550-49c4-b953-a2780b1644c2-attachment.json", "type": "application/json"}], "start": 1776855066886, "stop": 1776855066924}], "start": 1776855066883, "stop": 1776855066924}, {"name": "And create plan for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (KVS)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "93f4ea73-8e51-4d34-b001-48f4fa2cdbfe-attachment.json", "type": "application/json"}], "start": 1776855066926, "stop": 1776855066979}, {"name": "GraphQL: createPlan", "status": "passed", "attachments": [{"name": "createPlan response", "source": "e0eb5b18-d9f7-49bd-8749-755b6f2c439a-attachment.json", "type": "application/json"}], "start": 1776855066979, "stop": 1776855067014}], "start": 1776855066925, "stop": 1776855067015}, {"name": "And create subscription for kvs", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "62e2c163-1afc-4eb6-9589-f7f1f5d3d396-attachment.json", "type": "application/json"}], "start": 1776855067016, "stop": 1776855067078}, {"name": "GraphQL: addUserToPlace (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "e63e0302-ee24-4d48-bb61-f5b38a5a7d70-attachment.json", "type": "application/json"}], "start": 1776855067078, "stop": 1776855067153}, {"name": "GraphQL: place members (KVS)", "status": "passed", "attachments": [{"name": "place members response", "source": "2a22573b-4bf7-4fc6-9c9a-357ab5a57d08-attachment.json", "type": "application/json"}], "start": 1776855067154, "stop": 1776855067225}, {"name": "GraphQL: createSubscription", "status": "passed", "attachments": [{"name": "createSubscription response", "source": "e6ec4fea-5f6a-452a-be97-a68eff392a61-attachment.json", "type": "application/json"}], "start": 1776855067225, "stop": 1776855067293}], "attachments": [{"name": "addUserToPlace (for subscription) response", "source": "851491f8-f638-44c7-908b-c467b89a7191-attachment.json", "type": "application/json"}, {"name": "place members (after addUserToPlace) response", "source": "a9666f36-b3ab-4078-b2cf-14b2ec4585fa-attachment.json", "type": "application/json"}], "start": 1776855067015, "stop": 1776855067293}, {"name": "Then subscription response is valid", "status": "passed", "start": 1776855067294, "stop": 1776855067295}, {"name": "When query pending invoices for subscription place", "status": "passed", "steps": [{"name": "GraphQL: invoices (pending)", "status": "passed", "attachments": [{"name": "invoices response", "source": "2a790039-0e98-44d7-856e-5e0541fe4b0e-attachment.json", "type": "application/json"}], "start": 1776855067296, "stop": 1776855067337}], "start": 1776855067295, "stop": 1776855067337}, {"name": "Then invoices response is valid and references subscription", "status": "passed", "start": 1776855067338, "stop": 1776855067339}, {"name": "When delete created subscription", "status": "passed", "steps": [{"name": "GraphQL: deleteSubscription", "status": "passed", "attachments": [{"name": "deleteSubscription response", "source": "ffe25c57-8095-4a8c-994b-583b98d8655d-attachment.json", "type": "application/json"}], "start": 1776855067340, "stop": 1776855067393}], "start": 1776855067339, "stop": 1776855067394}, {"name": "Then delete subscription response is successful", "status": "passed", "start": 1776855067394, "stop": 1776855067395}, {"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": 1776855067396, "stop": 1776855067432}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1776855067437, "stop": 1776855067548}, {"name": "Cleanup: _cleanup_delete_plan", "status": "passed", "start": 1776855067548, "stop": 1776855067586}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1776855067586, "stop": 1776855067652}, {"name": "Cleanup: _cleanup_delete_service", "status": "passed", "start": 1776855067652, "stop": 1776855067705}], "attachments": [{"name": "Cleanup error", "source": "69225a15-6e2d-49c6-b9f0-dabed95c7eca-attachment.txt", "type": "text/plain"}], "start": 1776855066739, "stop": 1776855067705, "uuid": "580c9a82-8d63-4a6f-b370-12b678c7bdb5", "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"]}