Noob_test/KVSTest/allure-results/663d87fc-32ae-422e-b9cd-e9a48a6b721f-result.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": 1777881678010, "stop": 1777881678135}, {"name": "Then access token is valid", "status": "passed", "start": 1777881678136, "stop": 1777881678137}, {"name": "When create service for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "ab40e272-d4c8-4435-abf6-356b8863936a-attachment.json", "type": "application/json"}], "start": 1777881678139, "stop": 1777881678170}], "start": 1777881678137, "stop": 1777881678171}, {"name": "And create plan for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (KVS)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "cc3770f8-3542-4f73-84ca-28656bd56ece-attachment.json", "type": "application/json"}], "start": 1777881678172, "stop": 1777881678218}, {"name": "GraphQL: createPlan", "status": "passed", "attachments": [{"name": "createPlan response", "source": "6c9d82a2-712f-4109-ad7e-6ef06af38312-attachment.json", "type": "application/json"}], "start": 1777881678218, "stop": 1777881678250}], "start": 1777881678171, "stop": 1777881678250}, {"name": "And create subscription for kvs", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "2e4deac9-cc0e-426c-b2a4-ad1a56dbe551-attachment.json", "type": "application/json"}], "start": 1777881678252, "stop": 1777881678302}, {"name": "GraphQL: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "7016c752-2a63-488f-8649-62f26aa36c29-attachment.json", "type": "application/json"}], "start": 1777881678302, "stop": 1777881678372}, {"name": "GraphQL: place members (KVS)", "status": "passed", "attachments": [{"name": "place members response", "source": "66459ff9-f522-4a6a-9082-517caff027f6-attachment.json", "type": "application/json"}], "start": 1777881678373, "stop": 1777881678414}, {"name": "GraphQL: createSubscription", "status": "passed", "attachments": [{"name": "createSubscription response", "source": "959cc774-7983-438e-9008-9cc24fd07257-attachment.json", "type": "application/json"}], "start": 1777881678415, "stop": 1777881678503}], "attachments": [{"name": "addUserToPlace (for subscription) response", "source": "b4f404ea-097d-4300-9cf7-4182a719cf52-attachment.json", "type": "application/json"}, {"name": "place members (after addUserToPlace) response", "source": "5c2783ba-8035-42c7-9c78-4cc95da0cbb4-attachment.json", "type": "application/json"}], "start": 1777881678251, "stop": 1777881678503}, {"name": "Then subscription response is valid", "status": "passed", "start": 1777881678504, "stop": 1777881678505}, {"name": "When query pending invoices for subscription place", "status": "passed", "steps": [{"name": "GraphQL: invoices (pending)", "status": "passed", "attachments": [{"name": "invoices response", "source": "3bfd89b0-4d67-4c4e-a9d5-557079452e28-attachment.json", "type": "application/json"}], "start": 1777881678506, "stop": 1777881678563}], "start": 1777881678505, "stop": 1777881678563}, {"name": "Then invoices response is valid and references subscription", "status": "passed", "start": 1777881678563, "stop": 1777881678564}, {"name": "When delete created subscription", "status": "passed", "steps": [{"name": "GraphQL: deleteSubscription", "status": "passed", "attachments": [{"name": "deleteSubscription response", "source": "3f0dce7d-6843-464c-b613-28a7d2ee7f3c-attachment.json", "type": "application/json"}], "start": 1777881678565, "stop": 1777881678614}], "start": 1777881678565, "stop": 1777881678615}, {"name": "Then delete subscription response is successful", "status": "passed", "start": 1777881678615, "stop": 1777881678616}, {"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": 1777881678617, "stop": 1777881678651}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777881678655, "stop": 1777881678843}, {"name": "Cleanup: _cleanup_delete_plan", "status": "passed", "start": 1777881678843, "stop": 1777881678876}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777881678876, "stop": 1777881678939}, {"name": "Cleanup: _cleanup_delete_service", "status": "passed", "start": 1777881678939, "stop": 1777881678984}], "attachments": [{"name": "Cleanup error", "source": "45894122-0f64-42fe-be06-2451e6a69a47-attachment.txt", "type": "text/plain"}], "start": 1777881678009, "stop": 1777881678984, "uuid": "605f0075-2c7d-4f8d-8f28-0f7ef8a0a067", "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"]}