1 line
10 KiB
JSON
1 line
10 KiB
JSON
{"uid":"5be1b68cadb47a6c","name":"Create subscription, check invoices, delete subscription","fullName":"KVS GraphQL subscription: Create subscription, check invoices, delete subscription","historyId":"7cccd63cf5a5a0c9e367594080cb5757","time":{"start":1776854475675,"stop":1776854476569,"duration":894},"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":1776854475676,"stop":1776854475802,"duration":126},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"Then access token is valid","time":{"start":1776854475802,"stop":1776854475803,"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":1776854475803,"stop":1776854475840,"duration":37},"status":"passed","steps":[{"name":"GraphQL: createService","time":{"start":1776854475805,"stop":1776854475839,"duration":34},"status":"passed","steps":[],"attachments":[{"uid":"83ed91fdc971f7d2","name":"createService response","source":"83ed91fdc971f7d2.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":1776854475840,"stop":1776854475924,"duration":84},"status":"passed","steps":[{"name":"GraphQL: createPlaceMultiple (KVS)","time":{"start":1776854475841,"stop":1776854475882,"duration":41},"status":"passed","steps":[],"attachments":[{"uid":"ef9f82bdf46a2c07","name":"createPlaceMultiple response","source":"ef9f82bdf46a2c07.json","type":"application/json","size":148}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0},{"name":"GraphQL: createPlan","time":{"start":1776854475882,"stop":1776854475923,"duration":41},"status":"passed","steps":[],"attachments":[{"uid":"53b395d7395630f4","name":"createPlan response","source":"53b395d7395630f4.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":1776854475924,"stop":1776854476192,"duration":268},"status":"passed","steps":[{"name":"GraphQL: createUser (KVS)","time":{"start":1776854475925,"stop":1776854475981,"duration":56},"status":"passed","steps":[],"attachments":[{"uid":"9e5d490d4ef78e22","name":"createUser response","source":"9e5d490d4ef78e22.json","type":"application/json","size":445}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0},{"name":"GraphQL: addUserToPlace (KVS)","time":{"start":1776854475981,"stop":1776854476099,"duration":118},"status":"passed","steps":[],"attachments":[{"uid":"367c9a130542d7dd","name":"addUserToPlace response","source":"367c9a130542d7dd.json","type":"application/json","size":153}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0},{"name":"GraphQL: place members (KVS)","time":{"start":1776854476100,"stop":1776854476138,"duration":38},"status":"passed","steps":[],"attachments":[{"uid":"656f70177aed963d","name":"place members response","source":"656f70177aed963d.json","type":"application/json","size":432}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0},{"name":"GraphQL: createSubscription","time":{"start":1776854476139,"stop":1776854476191,"duration":52},"status":"passed","steps":[],"attachments":[{"uid":"a190f1fcd0591b56","name":"createSubscription response","source":"a190f1fcd0591b56.json","type":"application/json","size":558}],"parameters":[],"attachmentsCount":1,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":true,"stepsCount":0}],"attachments":[{"uid":"7754937c407a360d","name":"addUserToPlace (for subscription) response","source":"7754937c407a360d.json","type":"application/json","size":153},{"uid":"1aab0f3339a11384","name":"place members (after addUserToPlace) response","source":"1aab0f3339a11384.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":1776854476192,"stop":1776854476193,"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":1776854476193,"stop":1776854476257,"duration":64},"status":"passed","steps":[{"name":"GraphQL: invoices (pending)","time":{"start":1776854476194,"stop":1776854476256,"duration":62},"status":"passed","steps":[],"attachments":[{"uid":"8c91dd2c7a5698ca","name":"invoices response","source":"8c91dd2c7a5698ca.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":1776854476257,"stop":1776854476258,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"When delete created subscription","time":{"start":1776854476258,"stop":1776854476317,"duration":59},"status":"passed","steps":[{"name":"GraphQL: deleteSubscription","time":{"start":1776854476259,"stop":1776854476316,"duration":57},"status":"passed","steps":[],"attachments":[{"uid":"e48af2bc3e0cb93b","name":"deleteSubscription response","source":"e48af2bc3e0cb93b.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":1776854476317,"stop":1776854476318,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"Cleanup: _cleanup_delete_subscription","time":{"start":1776854476318,"stop":1776854476347,"duration":29},"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":1776854476351,"stop":1776854476439,"duration":88},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"Cleanup: _cleanup_delete_plan","time":{"start":1776854476439,"stop":1776854476473,"duration":34},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"Cleanup: _cleanup_delete_place","time":{"start":1776854476473,"stop":1776854476522,"duration":49},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0},{"name":"Cleanup: _cleanup_delete_service","time":{"start":1776854476522,"stop":1776854476569,"duration":47},"status":"passed","steps":[],"attachments":[],"parameters":[],"attachmentsCount":0,"shouldDisplayMessage":false,"attachmentStep":false,"hasContent":false,"stepsCount":0}],"attachments":[{"uid":"da8bb627749ff3e5","name":"Cleanup error","source":"da8bb627749ff3e5.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":"5be1b68cadb47a6c.json","parameterValues":[]} |