{"uid":"eeb4568cb2661d08","name":"Create subscription, check invoices, delete subscription","fullName":"KVS GraphQL subscription: Create subscription, check invoices, delete subscription","historyId":"7cccd63cf5a5a0c9e367594080cb5757","time":{"start":1776855066739,"stop":1776855067705,"duration":966},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":2,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"passed","steps":[{"name":"When get access token","time":{"start":1776855066740,"stop":1776855066882,"duration":142},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"Then access token is valid","time":{"start":1776855066882,"stop":1776855066883,"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":1776855066883,"stop":1776855066924,"duration":41},"status":"passed","steps":[{"name":"GraphQL: createService","time":{"start":1776855066886,"stop":1776855066924,"duration":38},"status":"passed","steps":[],"attachments":[{"uid":"44503099ef7202b2","name":"createService response","source":"44503099ef7202b2.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":1776855066925,"stop":1776855067015,"duration":90},"status":"passed","steps":[{"name":"GraphQL: createPlaceMultiple (KVS)","time":{"start":1776855066926,"stop":1776855066979,"duration":53},"status":"passed","steps":[],"attachments":[{"uid":"491f5cc788feffbf","name":"createPlaceMultiple response","source":"491f5cc788feffbf.json","type":"application/json","size":148}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0},{"name":"GraphQL: createPlan","time":{"start":1776855066979,"stop":1776855067014,"duration":35},"status":"passed","steps":[],"attachments":[{"uid":"80b593c242e8118c","name":"createPlan response","source":"80b593c242e8118c.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":1776855067015,"stop":1776855067293,"duration":278},"status":"passed","steps":[{"name":"GraphQL: createUser (KVS)","time":{"start":1776855067016,"stop":1776855067078,"duration":62},"status":"passed","steps":[],"attachments":[{"uid":"396b351bade8c719","name":"createUser response","source":"396b351bade8c719.json","type":"application/json","size":445}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0},{"name":"GraphQL: addUserToPlace (KVS)","time":{"start":1776855067078,"stop":1776855067153,"duration":75},"status":"passed","steps":[],"attachments":[{"uid":"afad259b291c1908","name":"addUserToPlace response","source":"afad259b291c1908.json","type":"application/json","size":153}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0},{"name":"GraphQL: place members (KVS)","time":{"start":1776855067154,"stop":1776855067225,"duration":71},"status":"passed","steps":[],"attachments":[{"uid":"41dfa1c4132a125","name":"place members response","source":"41dfa1c4132a125.json","type":"application/json","size":432}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0},{"name":"GraphQL: createSubscription","time":{"start":1776855067225,"stop":1776855067293,"duration":68},"status":"passed","steps":[],"attachments":[{"uid":"29ddf7dfcd55804d","name":"createSubscription response","source":"29ddf7dfcd55804d.json","type":"application/json","size":558}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0}],"attachments":[{"uid":"efb29951bb9a32ab","name":"addUserToPlace (for subscription) response","source":"efb29951bb9a32ab.json","type":"application/json","size":153},{"uid":"85a124398c66573a","name":"place members (after addUserToPlace) response","source":"85a124398c66573a.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":1776855067294,"stop":1776855067295,"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":1776855067295,"stop":1776855067337,"duration":42},"status":"passed","steps":[{"name":"GraphQL: invoices (pending)","time":{"start":1776855067296,"stop":1776855067337,"duration":41},"status":"passed","steps":[],"attachments":[{"uid":"c30937d7188dd984","name":"invoices response","source":"c30937d7188dd984.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":1776855067338,"stop":1776855067339,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"When delete created subscription","time":{"start":1776855067339,"stop":1776855067394,"duration":55},"status":"passed","steps":[{"name":"GraphQL: deleteSubscription","time":{"start":1776855067340,"stop":1776855067393,"duration":53},"status":"passed","steps":[],"attachments":[{"uid":"b033d501bace25ae","name":"deleteSubscription response","source":"b033d501bace25ae.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":1776855067394,"stop":1776855067395,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"Cleanup: _cleanup_delete_subscription","time":{"start":1776855067396,"stop":1776855067432,"duration":36},"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":1776855067437,"stop":1776855067548,"duration":111},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"Cleanup: _cleanup_delete_plan","time":{"start":1776855067548,"stop":1776855067586,"duration":38},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1776855067586,"stop":1776855067652,"duration":66},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"Cleanup: _cleanup_delete_service","time":{"start":1776855067652,"stop":1776855067705,"duration":53},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0}],"attachments":[{"uid":"bcfcd90aed1f9eba","name":"Cleanup error","source":"bcfcd90aed1f9eba.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":false,"retry":false,"extra":{"severity":"normal","retries":[{"uid":"5be1b68cadb47a6c","status":"passed","time":{"start":1776854475675,"stop":1776854476569,"duration":894}},{"uid":"49083d3578d997f4","status":"passed","time":{"start":1776854432010,"stop":1776854433014,"duration":1004}}],"categories":[],"tags":[]},"source":"eeb4568cb2661d08.json","parameterValues":[]}