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": 1778833898528, "stop": 1778833900286}, {"name": "Then access token is valid", "status": "passed", "start": 1778833900286, "stop": 1778833900288}, {"name": "When create service for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "58667f72-3992-4928-8f77-91d7a6aa7d1a-attachment.json", "type": "application/json"}], "start": 1778833900292, "stop": 1778833900359}], "start": 1778833900289, "stop": 1778833900360}, {"name": "And create plan for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (KVS)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "33733129-0925-425d-a22c-448e9e4d27c7-attachment.json", "type": "application/json"}], "start": 1778833900363, "stop": 1778833900455}, {"name": "GraphQL: createPlan", "status": "passed", "attachments": [{"name": "createPlan response", "source": "27829e2b-32ec-409f-95c8-f0b3c1adffcf-attachment.json", "type": "application/json"}], "start": 1778833900455, "stop": 1778833900523}], "start": 1778833900361, "stop": 1778833900524}, {"name": "And create subscription for kvs", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "6b23c41a-c596-456b-8890-c651d405c5b3-attachment.json", "type": "application/json"}], "start": 1778833900527, "stop": 1778833900605}, {"name": "GraphQL: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "4d42201a-6fdf-4e57-a8c0-7ac5e9f7de1f-attachment.json", "type": "application/json"}], "start": 1778833900606, "stop": 1778833900717}, {"name": "GraphQL: place members (KVS)", "status": "passed", "attachments": [{"name": "place members response", "source": "274026fd-7db1-4a14-975e-2247d8e035c9-attachment.json", "type": "application/json"}], "start": 1778833900719, "stop": 1778833900788}, {"name": "GraphQL: createSubscription", "status": "passed", "attachments": [{"name": "createSubscription response", "source": "f37a6e36-a720-44e5-9650-c32ce654be1f-attachment.json", "type": "application/json"}], "start": 1778833900790, "stop": 1778833900891}], "attachments": [{"name": "addUserToPlace (for subscription) response", "source": "d86863d7-40ba-4a3c-892c-cec03510dcec-attachment.json", "type": "application/json"}, {"name": "place members (after addUserToPlace) response", "source": "f5b1293e-cae9-49cb-b97f-605ec0586623-attachment.json", "type": "application/json"}], "start": 1778833900525, "stop": 1778833900892}, {"name": "Then subscription response is valid", "status": "passed", "start": 1778833900893, "stop": 1778833900894}, {"name": "When query pending invoices for subscription place", "status": "passed", "steps": [{"name": "GraphQL: invoices (pending)", "status": "passed", "attachments": [{"name": "invoices response", "source": "54d7e414-4423-4a67-b46d-9fc0bcc30261-attachment.json", "type": "application/json"}], "start": 1778833900897, "stop": 1778833900988}], "start": 1778833900895, "stop": 1778833900989}, {"name": "Then invoices response is valid and references subscription", "status": "passed", "start": 1778833900989, "stop": 1778833900991}, {"name": "When delete created subscription", "status": "passed", "steps": [{"name": "GraphQL: deleteSubscription", "status": "passed", "attachments": [{"name": "deleteSubscription response", "source": "392014c9-6914-434e-ace8-039258502448-attachment.json", "type": "application/json"}], "start": 1778833900995, "stop": 1778833901084}], "start": 1778833900992, "stop": 1778833901084}, {"name": "Then delete subscription response is successful", "status": "passed", "start": 1778833901085, "stop": 1778833901087}, {"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 25, in after_scenario\n fn()\n ~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\KVSTest\\testdata\\subscription_test_data.py\", line 232, 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 314, in execute_graphql\n raise RuntimeError(f\"GraphQL errors: {errors}\")\n"}, "start": 1778833901088, "stop": 1778833901159}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778833901171, "stop": 1778833908510}, {"name": "Cleanup: _cleanup_delete_plan", "status": "passed", "start": 1778833908510, "stop": 1778833908581}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1778833908581, "stop": 1778833908664}, {"name": "Cleanup: _cleanup_delete_service", "status": "passed", "start": 1778833908664, "stop": 1778833908739}], "attachments": [{"name": "Cleanup error", "source": "2051d4a1-436c-4cd2-b332-2811b65c67c6-attachment.txt", "type": "text/plain"}], "start": 1778833898526, "stop": 1778833908740, "uuid": "37eae45a-0359-4018-890a-fcbd3ea5bac3", "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"]} |