1 line
10 KiB
JSON
1 line
10 KiB
JSON
{"uid":"49083d3578d997f4","name":"Create subscription, check invoices, delete subscription","fullName":"KVS GraphQL subscription: Create subscription, check invoices, delete subscription","historyId":"7cccd63cf5a5a0c9e367594080cb5757","time":{"start":1776854432010,"stop":1776854433014,"duration":1004},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"passed","steps":[{"name":"When get access token","time":{"start":1776854432011,"stop":1776854432131,"duration":120},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"Then access token is valid","time":{"start":1776854432131,"stop":1776854432132,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"When create service for kvs subscription","time":{"start":1776854432132,"stop":1776854432170,"duration":38},"status":"passed","steps":[{"name":"GraphQL: createService","time":{"start":1776854432134,"stop":1776854432169,"duration":35},"status":"passed","steps":[],"attachments":[{"uid":"d5647cda56154f2d","name":"createService response","source":"d5647cda56154f2d.json","type":"application/json","size":152}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0}],"attachments":[],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":1},{"name":"And create plan for kvs subscription","time":{"start":1776854432170,"stop":1776854432260,"duration":90},"status":"passed","steps":[{"name":"GraphQL: createPlaceMultiple (KVS)","time":{"start":1776854432170,"stop":1776854432217,"duration":47},"status":"passed","steps":[],"attachments":[{"uid":"837cf6ef7b1b67f6","name":"createPlaceMultiple response","source":"837cf6ef7b1b67f6.json","type":"application/json","size":148}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0},{"name":"GraphQL: createPlan","time":{"start":1776854432217,"stop":1776854432259,"duration":42},"status":"passed","steps":[],"attachments":[{"uid":"9ca25cc7ba048cfd","name":"createPlan response","source":"9ca25cc7ba048cfd.json","type":"application/json","size":434}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0}],"attachments":[],"parameters":[],"attachmentsCount":2,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":2},{"name":"And create subscription for kvs","time":{"start":1776854432260,"stop":1776854432615,"duration":355},"status":"passed","steps":[{"name":"GraphQL: createUser (KVS)","time":{"start":1776854432261,"stop":1776854432317,"duration":56},"status":"passed","steps":[],"attachments":[{"uid":"6d590f15fa51bd4c","name":"createUser response","source":"6d590f15fa51bd4c.json","type":"application/json","size":445}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0},{"name":"GraphQL: addUserToPlace (KVS)","time":{"start":1776854432317,"stop":1776854432478,"duration":161},"status":"passed","steps":[],"attachments":[{"uid":"ae294bec39e0eef0","name":"addUserToPlace response","source":"ae294bec39e0eef0.json","type":"application/json","size":153}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0},{"name":"GraphQL: place members (KVS)","time":{"start":1776854432479,"stop":1776854432524,"duration":45},"status":"passed","steps":[],"attachments":[{"uid":"d5f63016df73b96b","name":"place members response","source":"d5f63016df73b96b.json","type":"application/json","size":432}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0},{"name":"GraphQL: createSubscription","time":{"start":1776854432525,"stop":1776854432615,"duration":90},"status":"passed","steps":[],"attachments":[{"uid":"e71e08853c8d808a","name":"createSubscription response","source":"e71e08853c8d808a.json","type":"application/json","size":558}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0}],"attachments":[{"uid":"99d52768ac3154a6","name":"addUserToPlace (for subscription) response","source":"99d52768ac3154a6.json","type":"application/json","size":153},{"uid":"c9e3b231f365aad5","name":"place members (after addUserToPlace) response","source":"c9e3b231f365aad5.json","type":"application/json","size":432}],"parameters":[],"attachmentsCount":6,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":4},{"name":"Then subscription response is valid","time":{"start":1776854432615,"stop":1776854432616,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"When query pending invoices for subscription place","time":{"start":1776854432616,"stop":1776854432685,"duration":69},"status":"passed","steps":[{"name":"GraphQL: invoices (pending)","time":{"start":1776854432617,"stop":1776854432684,"duration":67},"status":"passed","steps":[],"attachments":[{"uid":"88688f49a102cb3d","name":"invoices response","source":"88688f49a102cb3d.json","type":"application/json","size":274}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0}],"attachments":[],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":1},{"name":"Then invoices response is valid and references subscription","time":{"start":1776854432685,"stop":1776854432686,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"When delete created subscription","time":{"start":1776854432686,"stop":1776854432740,"duration":54},"status":"passed","steps":[{"name":"GraphQL: deleteSubscription","time":{"start":1776854432687,"stop":1776854432740,"duration":53},"status":"passed","steps":[],"attachments":[{"uid":"80e82bb57c98f39e","name":"deleteSubscription response","source":"80e82bb57c98f39e.json","type":"application/json","size":50}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0}],"attachments":[],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":1},{"name":"Then delete subscription response is successful","time":{"start":1776854432740,"stop":1776854432741,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"Cleanup: _cleanup_delete_subscription","time":{"start":1776854432741,"stop":1776854432778,"duration":37},"status":"broken","statusMessage":"RuntimeError: GraphQL errors: [{'message': 'Not Found', 'code': 'Client Error', 'status': 404, 'description': 'The server has not found anything matching the Request-URI'}]\n","statusTrace":" 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 65, in execute_graphql\n raise RuntimeError(f\"GraphQL errors: {errors}\")\n","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":true,"attachmentStep":false,"hasContent":true,"stepsCount":0},{"name":"Cleanup: _cleanup_delete_user","time":{"start":1776854432782,"stop":1776854432869,"duration":87},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"Cleanup: _cleanup_delete_plan","time":{"start":1776854432869,"stop":1776854432905,"duration":36},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1776854432906,"stop":1776854432962,"duration":56},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"Cleanup: _cleanup_delete_service","time":{"start":1776854432963,"stop":1776854433013,"duration":50},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0}],"attachments":[{"uid":"76cef127604dbda8","name":"Cleanup error","source":"76cef127604dbda8.txt","type":"text/plain","size":1121}],"parameters":[],"attachmentsCount":12,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":24},"afterStages":[],"labels":[{"name":"severity","value":"normal"},{"name":"feature","value":"KVS GraphQL subscription"},{"name":"framework","value":"behave"},{"name":"language","value":"cpython3"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"49083d3578d997f4.json","parameterValues":[]} |