{"name": "Create subscription, check invoices, delete subscription", "status": "passed", "steps": [{"name": "When get access token", "status": "passed", "start": 1776854475676, "stop": 1776854475802}, {"name": "Then access token is valid", "status": "passed", "start": 1776854475802, "stop": 1776854475803}, {"name": "When create service for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "34f92f2c-512e-47d7-a93e-43e49dbdadd4-attachment.json", "type": "application/json"}], "start": 1776854475805, "stop": 1776854475839}], "start": 1776854475803, "stop": 1776854475840}, {"name": "And create plan for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (KVS)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "72c05d47-aed8-4aca-8686-0d460fde5f7d-attachment.json", "type": "application/json"}], "start": 1776854475841, "stop": 1776854475882}, {"name": "GraphQL: createPlan", "status": "passed", "attachments": [{"name": "createPlan response", "source": "8b16e8ac-816e-4295-8001-83fdc4924f59-attachment.json", "type": "application/json"}], "start": 1776854475882, "stop": 1776854475923}], "start": 1776854475840, "stop": 1776854475924}, {"name": "And create subscription for kvs", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "154724dc-ed83-4d0b-9b78-0fd0fa3cb592-attachment.json", "type": "application/json"}], "start": 1776854475925, "stop": 1776854475981}, {"name": "GraphQL: addUserToPlace (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "8acec6a4-c8f0-413f-8a4c-43daa9f8a712-attachment.json", "type": "application/json"}], "start": 1776854475981, "stop": 1776854476099}, {"name": "GraphQL: place members (KVS)", "status": "passed", "attachments": [{"name": "place members response", "source": "3ffe0201-a36f-4d83-a270-a2ade9ef279f-attachment.json", "type": "application/json"}], "start": 1776854476100, "stop": 1776854476138}, {"name": "GraphQL: createSubscription", "status": "passed", "attachments": [{"name": "createSubscription response", "source": "fc571c7a-51b6-4e39-80c8-94709955d16a-attachment.json", "type": "application/json"}], "start": 1776854476139, "stop": 1776854476191}], "attachments": [{"name": "addUserToPlace (for subscription) response", "source": "be7f277d-6775-4831-9a00-579a9338b0ce-attachment.json", "type": "application/json"}, {"name": "place members (after addUserToPlace) response", "source": "d5d11847-152c-48cb-a441-4324396332cc-attachment.json", "type": "application/json"}], "start": 1776854475924, "stop": 1776854476192}, {"name": "Then subscription response is valid", "status": "passed", "start": 1776854476192, "stop": 1776854476193}, {"name": "When query pending invoices for subscription place", "status": "passed", "steps": [{"name": "GraphQL: invoices (pending)", "status": "passed", "attachments": [{"name": "invoices response", "source": "2973d909-43a3-4d9d-a23d-4017bd6c14e7-attachment.json", "type": "application/json"}], "start": 1776854476194, "stop": 1776854476256}], "start": 1776854476193, "stop": 1776854476257}, {"name": "Then invoices response is valid and references subscription", "status": "passed", "start": 1776854476257, "stop": 1776854476258}, {"name": "When delete created subscription", "status": "passed", "steps": [{"name": "GraphQL: deleteSubscription", "status": "passed", "attachments": [{"name": "deleteSubscription response", "source": "9adf1158-3d8b-4930-8708-85835a720419-attachment.json", "type": "application/json"}], "start": 1776854476259, "stop": 1776854476316}], "start": 1776854476258, "stop": 1776854476317}, {"name": "Then delete subscription response is successful", "status": "passed", "start": 1776854476317, "stop": 1776854476318}, {"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": 1776854476318, "stop": 1776854476347}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1776854476351, "stop": 1776854476439}, {"name": "Cleanup: _cleanup_delete_plan", "status": "passed", "start": 1776854476439, "stop": 1776854476473}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1776854476473, "stop": 1776854476522}, {"name": "Cleanup: _cleanup_delete_service", "status": "passed", "start": 1776854476522, "stop": 1776854476569}], "attachments": [{"name": "Cleanup error", "source": "ca7aceb6-fc9f-4dd9-933f-2e7c1f46f17c-attachment.txt", "type": "text/plain"}], "start": 1776854475675, "stop": 1776854476569, "uuid": "150f29ac-ae59-44f8-b4f4-bd0c81ade3d1", "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"]}