1 line
7.2 KiB
JSON
1 line
7.2 KiB
JSON
{"name": "Create subscription, check invoices, delete subscription", "status": "passed", "steps": [{"name": "When get access token", "status": "passed", "start": 1778763179333, "stop": 1778763179464}, {"name": "Then access token is valid", "status": "passed", "start": 1778763179464, "stop": 1778763179465}, {"name": "When prepare kvs worker session for graphql tests", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "920a69d5-9c46-4a60-bf5b-25e485fefd89-attachment.json", "type": "application/json"}], "start": 1778763179466, "stop": 1778763179612}, {"name": "GraphQL: addEmployee (KVS worker bootstrap)", "status": "passed", "attachments": [{"name": "addEmployee: пропускаем поле status (баг API)", "source": "b90713e8-aeb2-4b0a-8ecb-6fa951c14e67-attachment.txt", "type": "text/plain"}, {"name": "addEmployee (KVS worker) response", "source": "df82a3e8-0bb3-4b87-b776-f590680ddaf0-attachment.json", "type": "application/json"}], "start": 1778763179613, "stop": 1778763179701}], "start": 1778763179465, "stop": 1778763179837}, {"name": "When create service for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "9f09536b-7398-4712-806e-de4f0add31f2-attachment.json", "type": "application/json"}], "start": 1778763179838, "stop": 1778763179885}], "start": 1778763179837, "stop": 1778763179886}, {"name": "And create plan for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (KVS)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "0d16c221-621d-448c-a9a7-f36139ccf3fe-attachment.json", "type": "application/json"}], "start": 1778763179886, "stop": 1778763179942}, {"name": "GraphQL: createPlan", "status": "passed", "attachments": [{"name": "createPlan response", "source": "a2193de8-8f26-47aa-b833-4347c34bf84c-attachment.json", "type": "application/json"}], "start": 1778763179942, "stop": 1778763180006}], "start": 1778763179886, "stop": 1778763180007}, {"name": "And create subscription for kvs", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "913429cb-a4b9-43cd-8c5e-b87d2250acff-attachment.json", "type": "application/json"}], "start": 1778763180008, "stop": 1778763180072}, {"name": "GraphQL: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "1be12f42-883d-4c5e-b7f7-3c3e777ff4fd-attachment.json", "type": "application/json"}], "start": 1778763180072, "stop": 1778763180153}, {"name": "GraphQL: place members (KVS)", "status": "passed", "attachments": [{"name": "place members response", "source": "0f5d3f35-eb05-4f55-8593-d7e065ccb54e-attachment.json", "type": "application/json"}], "start": 1778763180154, "stop": 1778763180214}, {"name": "GraphQL: createSubscription", "status": "passed", "attachments": [{"name": "createSubscription response", "source": "f659a236-c586-4d0f-b0c5-fcbcd7577f18-attachment.json", "type": "application/json"}], "start": 1778763180215, "stop": 1778763180297}], "attachments": [{"name": "addUserToPlace (for subscription) response", "source": "67b9fc5d-7122-4e09-b8c0-f16def46dc2b-attachment.json", "type": "application/json"}, {"name": "place members (after addUserToPlace) response", "source": "cba30d2a-29f1-4b48-b1e9-b580211c746a-attachment.json", "type": "application/json"}], "start": 1778763180007, "stop": 1778763180297}, {"name": "Then subscription response is valid", "status": "passed", "start": 1778763180297, "stop": 1778763180298}, {"name": "When query pending invoices for subscription place", "status": "passed", "steps": [{"name": "GraphQL: invoices (pending)", "status": "passed", "attachments": [{"name": "invoices response", "source": "c8f23c6b-4c04-4a9f-baf1-c7f56ae279ee-attachment.json", "type": "application/json"}], "start": 1778763180299, "stop": 1778763180368}], "start": 1778763180298, "stop": 1778763180369}, {"name": "Then invoices response is valid and references subscription", "status": "passed", "start": 1778763180369, "stop": 1778763180369}, {"name": "When delete created subscription", "status": "passed", "steps": [{"name": "GraphQL: deleteSubscription", "status": "passed", "attachments": [{"name": "deleteSubscription response", "source": "ccde42ea-5679-4515-bd3b-9c86b6e26725-attachment.json", "type": "application/json"}], "start": 1778763180370, "stop": 1778763180503}], "start": 1778763180369, "stop": 1778763180503}, {"name": "Then delete subscription response is successful", "status": "passed", "start": 1778763180503, "stop": 1778763180504}, {"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 29, in after_scenario\n fn()\n ~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\KVSTest\\testdata\\subscription_test_data.py\", line 235, in _cleanup_delete_subscription\n _exec_or_fail(op_name=\"deleteSubscription(mutation)\", token=ct, 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 314, in execute_graphql\n raise RuntimeError(f\"GraphQL errors: {errors}\")\n"}, "start": 1778763180504, "stop": 1778763180575}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778763180580, "stop": 1778763180768}, {"name": "Cleanup: _cleanup_delete_plan", "status": "passed", "start": 1778763180768, "stop": 1778763180816}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1778763180816, "stop": 1778763180883}, {"name": "Cleanup: _cleanup_delete_service", "status": "passed", "start": 1778763180883, "stop": 1778763180945}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778763180945, "stop": 1778763181132}], "attachments": [{"name": "Cleanup error", "source": "9b180567-67f7-4bc7-a2fa-2fdf2af23074-attachment.txt", "type": "text/plain"}], "start": 1778763179332, "stop": 1778763181132, "uuid": "790e1b18-3329-48af-96ee-7586b747a396", "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"]} |