Noob_test/allure-results/26d872cb-d1c2-41d5-804e-11c4dd668e92-result.json
2026-05-15 11:34:24 +03:00

1 line
6.3 KiB
JSON

{"name": "Create subscription, check invoices, delete subscription", "status": "passed", "steps": [{"name": "When get access token", "status": "passed", "start": 1777975669190, "stop": 1777975669346}, {"name": "Then access token is valid", "status": "passed", "start": 1777975669347, "stop": 1777975669348}, {"name": "When create service for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "f4b5eecc-0d9e-4e9a-b93b-0554d30ca4db-attachment.json", "type": "application/json"}], "start": 1777975669354, "stop": 1777975669401}], "start": 1777975669348, "stop": 1777975669401}, {"name": "And create plan for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (KVS)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "7add481f-ab67-4486-bff1-0df9a34165a9-attachment.json", "type": "application/json"}], "start": 1777975669403, "stop": 1777975669453}, {"name": "GraphQL: createPlan", "status": "passed", "attachments": [{"name": "createPlan response", "source": "dd240516-6d5b-41ee-844c-0fc818b3b8b5-attachment.json", "type": "application/json"}], "start": 1777975669454, "stop": 1777975669502}], "start": 1777975669402, "stop": 1777975669503}, {"name": "And create subscription for kvs", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "53011aa2-49c2-4664-9e1d-a1a73b801853-attachment.json", "type": "application/json"}], "start": 1777975669504, "stop": 1777975669561}, {"name": "GraphQL: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "909486f7-51cb-41c8-b714-8657ff6354bf-attachment.json", "type": "application/json"}], "start": 1777975669561, "stop": 1777975669639}, {"name": "GraphQL: place members (KVS)", "status": "passed", "attachments": [{"name": "place members response", "source": "e08a5c32-e2c8-456a-a2dd-3c102e3ed81d-attachment.json", "type": "application/json"}], "start": 1777975669640, "stop": 1777975669695}, {"name": "GraphQL: createSubscription", "status": "passed", "attachments": [{"name": "createSubscription response", "source": "a53ee623-c29b-47ae-8138-2c1f241a653e-attachment.json", "type": "application/json"}], "start": 1777975669696, "stop": 1777975669774}], "attachments": [{"name": "addUserToPlace (for subscription) response", "source": "04b79752-0420-45a7-aa84-291ef7cac0e7-attachment.json", "type": "application/json"}, {"name": "place members (after addUserToPlace) response", "source": "c5478050-f326-41fd-b679-de70f97b97c4-attachment.json", "type": "application/json"}], "start": 1777975669503, "stop": 1777975669774}, {"name": "Then subscription response is valid", "status": "passed", "start": 1777975669775, "stop": 1777975669775}, {"name": "When query pending invoices for subscription place", "status": "passed", "steps": [{"name": "GraphQL: invoices (pending)", "status": "passed", "attachments": [{"name": "invoices response", "source": "6aec5912-f0a1-430b-9572-8e3f870a21e9-attachment.json", "type": "application/json"}], "start": 1777975669776, "stop": 1777975669831}], "start": 1777975669776, "stop": 1777975669832}, {"name": "Then invoices response is valid and references subscription", "status": "passed", "start": 1777975669832, "stop": 1777975669833}, {"name": "When delete created subscription", "status": "passed", "steps": [{"name": "GraphQL: deleteSubscription", "status": "passed", "attachments": [{"name": "deleteSubscription response", "source": "3b30901f-5a68-424f-8005-b77efbe668f1-attachment.json", "type": "application/json"}], "start": 1777975669834, "stop": 1777975669894}], "start": 1777975669833, "stop": 1777975669894}, {"name": "Then delete subscription response is successful", "status": "passed", "start": 1777975669895, "stop": 1777975669895}, {"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 299, in execute_graphql\n raise RuntimeError(f\"GraphQL errors: {errors}\")\n"}, "start": 1777975669896, "stop": 1777975669939}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777975669943, "stop": 1777975670149}, {"name": "Cleanup: _cleanup_delete_plan", "status": "passed", "start": 1777975670149, "stop": 1777975670197}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777975670197, "stop": 1777975670260}, {"name": "Cleanup: _cleanup_delete_service", "status": "passed", "start": 1777975670260, "stop": 1777975670312}], "attachments": [{"name": "Cleanup error", "source": "8ce772f1-e965-4b61-a4ce-af2727e736d2-attachment.txt", "type": "text/plain"}], "start": 1777975669189, "stop": 1777975670312, "uuid": "d3095214-c332-43bf-bf03-0580d6d37faf", "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"]}