{"name": "Create subscription, check invoices, delete subscription", "status": "passed", "steps": [{"name": "When get access token", "status": "passed", "start": 1777881375547, "stop": 1777881375660}, {"name": "Then access token is valid", "status": "passed", "start": 1777881375660, "stop": 1777881375662}, {"name": "When create service for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "6b54a990-5456-44e0-a66e-fc4d6560252d-attachment.json", "type": "application/json"}], "start": 1777881375664, "stop": 1777881375695}], "start": 1777881375662, "stop": 1777881375696}, {"name": "And create plan for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (KVS)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "91066e9d-e67b-436b-85b4-d8d64bd181f8-attachment.json", "type": "application/json"}], "start": 1777881375697, "stop": 1777881375739}, {"name": "GraphQL: createPlan", "status": "passed", "attachments": [{"name": "createPlan response", "source": "a87a8051-1e7e-472c-812b-4f0c35148bd6-attachment.json", "type": "application/json"}], "start": 1777881375740, "stop": 1777881375777}], "start": 1777881375696, "stop": 1777881375777}, {"name": "And create subscription for kvs", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "008b0586-3549-4839-b6a0-f014b88f1b59-attachment.json", "type": "application/json"}], "start": 1777881375778, "stop": 1777881375837}, {"name": "GraphQL: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "962fc0ed-410b-4c1c-9747-44fbda085436-attachment.json", "type": "application/json"}], "start": 1777881375837, "stop": 1777881375917}, {"name": "GraphQL: place members (KVS)", "status": "passed", "attachments": [{"name": "place members response", "source": "27c86092-a428-40ed-8f01-238650f64a00-attachment.json", "type": "application/json"}], "start": 1777881375918, "stop": 1777881375957}, {"name": "GraphQL: createSubscription", "status": "passed", "attachments": [{"name": "createSubscription response", "source": "387387f3-1b31-41bd-a888-4fbca7643b2f-attachment.json", "type": "application/json"}], "start": 1777881375959, "stop": 1777881376057}], "attachments": [{"name": "addUserToPlace (for subscription) response", "source": "0810b7c6-b155-4c4e-b8d4-6ce6c93914a4-attachment.json", "type": "application/json"}, {"name": "place members (after addUserToPlace) response", "source": "e906d5b3-d3cc-46a6-968e-f9bcf432e07a-attachment.json", "type": "application/json"}], "start": 1777881375777, "stop": 1777881376058}, {"name": "Then subscription response is valid", "status": "passed", "start": 1777881376058, "stop": 1777881376060}, {"name": "When query pending invoices for subscription place", "status": "passed", "steps": [{"name": "GraphQL: invoices (pending)", "status": "passed", "attachments": [{"name": "invoices response", "source": "0fe74146-4d82-4e82-861e-e49896ab67e5-attachment.json", "type": "application/json"}], "start": 1777881376061, "stop": 1777881376108}], "start": 1777881376060, "stop": 1777881376109}, {"name": "Then invoices response is valid and references subscription", "status": "passed", "start": 1777881376109, "stop": 1777881376110}, {"name": "When delete created subscription", "status": "passed", "steps": [{"name": "GraphQL: deleteSubscription", "status": "passed", "attachments": [{"name": "deleteSubscription response", "source": "dbd3fe1f-626a-4b86-ac4f-3cdb1d948367-attachment.json", "type": "application/json"}], "start": 1777881376111, "stop": 1777881376164}], "start": 1777881376110, "stop": 1777881376165}, {"name": "Then delete subscription response is successful", "status": "passed", "start": 1777881376165, "stop": 1777881376166}, {"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": 1777881376167, "stop": 1777881376204}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777881376208, "stop": 1777881376377}, {"name": "Cleanup: _cleanup_delete_plan", "status": "passed", "start": 1777881376377, "stop": 1777881376408}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777881376408, "stop": 1777881376460}, {"name": "Cleanup: _cleanup_delete_service", "status": "passed", "start": 1777881376460, "stop": 1777881376505}], "attachments": [{"name": "Cleanup error", "source": "f1627470-6bdc-4b74-853b-786fb8010da5-attachment.txt", "type": "text/plain"}], "start": 1777881375546, "stop": 1777881376505, "uuid": "948bf11b-73a4-49cc-893c-be7390510d9b", "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"]}