1 line
6.3 KiB
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": 1777880998714, "stop": 1777880998879}, {"name": "Then access token is valid", "status": "passed", "start": 1777880998879, "stop": 1777880998880}, {"name": "When create service for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "cde70327-88fa-4ed1-8c04-07dba3cb8f58-attachment.json", "type": "application/json"}], "start": 1777880998882, "stop": 1777880998927}], "start": 1777880998880, "stop": 1777880998928}, {"name": "And create plan for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (KVS)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "b0db0826-f66b-4f86-8363-9818dbedd74b-attachment.json", "type": "application/json"}], "start": 1777880998930, "stop": 1777880998970}, {"name": "GraphQL: createPlan", "status": "passed", "attachments": [{"name": "createPlan response", "source": "28612cc3-01b2-49bb-9574-e7d8c4e689d8-attachment.json", "type": "application/json"}], "start": 1777880998970, "stop": 1777880999007}], "start": 1777880998929, "stop": 1777880999008}, {"name": "And create subscription for kvs", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "dcd46fdd-fa5a-4635-9bea-8774e4decb52-attachment.json", "type": "application/json"}], "start": 1777880999009, "stop": 1777880999067}, {"name": "GraphQL: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "419451a1-ac64-455e-a062-410528f8622e-attachment.json", "type": "application/json"}], "start": 1777880999067, "stop": 1777880999139}, {"name": "GraphQL: place members (KVS)", "status": "passed", "attachments": [{"name": "place members response", "source": "991f4ea3-481a-4a2f-ad0c-06944ad4ef7f-attachment.json", "type": "application/json"}], "start": 1777880999140, "stop": 1777880999180}, {"name": "GraphQL: createSubscription", "status": "passed", "attachments": [{"name": "createSubscription response", "source": "90e3e4f4-4444-4aa2-8347-4c6f0ba40611-attachment.json", "type": "application/json"}], "start": 1777880999181, "stop": 1777880999242}], "attachments": [{"name": "addUserToPlace (for subscription) response", "source": "6e8f1d51-3178-45ad-9389-526a87305533-attachment.json", "type": "application/json"}, {"name": "place members (after addUserToPlace) response", "source": "e5c28ab5-07a9-4a59-9eeb-78d3146aa750-attachment.json", "type": "application/json"}], "start": 1777880999008, "stop": 1777880999243}, {"name": "Then subscription response is valid", "status": "passed", "start": 1777880999243, "stop": 1777880999244}, {"name": "When query pending invoices for subscription place", "status": "passed", "steps": [{"name": "GraphQL: invoices (pending)", "status": "passed", "attachments": [{"name": "invoices response", "source": "f14fc092-e9d2-416f-a0a6-388c683f37b8-attachment.json", "type": "application/json"}], "start": 1777880999245, "stop": 1777880999282}], "start": 1777880999244, "stop": 1777880999283}, {"name": "Then invoices response is valid and references subscription", "status": "passed", "start": 1777880999283, "stop": 1777880999284}, {"name": "When delete created subscription", "status": "passed", "steps": [{"name": "GraphQL: deleteSubscription", "status": "passed", "attachments": [{"name": "deleteSubscription response", "source": "fd1c84a3-7635-4249-9c86-45c33503c555-attachment.json", "type": "application/json"}], "start": 1777880999286, "stop": 1777880999338}], "start": 1777880999285, "stop": 1777880999339}, {"name": "Then delete subscription response is successful", "status": "passed", "start": 1777880999339, "stop": 1777880999340}, {"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": 1777880999340, "stop": 1777880999376}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777880999380, "stop": 1777880999556}, {"name": "Cleanup: _cleanup_delete_plan", "status": "passed", "start": 1777880999556, "stop": 1777880999589}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777880999589, "stop": 1777880999645}, {"name": "Cleanup: _cleanup_delete_service", "status": "passed", "start": 1777880999645, "stop": 1777880999692}], "attachments": [{"name": "Cleanup error", "source": "9fa798cb-62e6-4a17-98d6-6b8bbd871a95-attachment.txt", "type": "text/plain"}], "start": 1777880998713, "stop": 1777880999692, "uuid": "18eedcc9-3122-4d3b-9c45-47cffa294b42", "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"]} |