Noob_test/KVSTest/allure-results/df6b1139-5518-4e87-9c53-7853d6878df3-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": 1777881523449, "stop": 1777881523567}, {"name": "Then access token is valid", "status": "passed", "start": 1777881523567, "stop": 1777881523569}, {"name": "When create service for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "8e5ae920-bb23-49e5-99cc-2a2f2832ed75-attachment.json", "type": "application/json"}], "start": 1777881523571, "stop": 1777881523604}], "start": 1777881523569, "stop": 1777881523605}, {"name": "And create plan for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (KVS)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "bd51f132-8017-4ec0-945c-cf52495563ba-attachment.json", "type": "application/json"}], "start": 1777881523606, "stop": 1777881523649}, {"name": "GraphQL: createPlan", "status": "passed", "attachments": [{"name": "createPlan response", "source": "b34dd327-06b9-41a8-b636-a8091c8503b5-attachment.json", "type": "application/json"}], "start": 1777881523649, "stop": 1777881523685}], "start": 1777881523605, "stop": 1777881523686}, {"name": "And create subscription for kvs", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "0106fce4-de65-4791-b44d-6bb5fa96de2d-attachment.json", "type": "application/json"}], "start": 1777881523687, "stop": 1777881523727}, {"name": "GraphQL: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "f0094602-9e8f-4846-843d-c7bb33bf20dd-attachment.json", "type": "application/json"}], "start": 1777881523727, "stop": 1777881523797}, {"name": "GraphQL: place members (KVS)", "status": "passed", "attachments": [{"name": "place members response", "source": "30f84cdd-0ebb-4c95-a259-e8917f159bae-attachment.json", "type": "application/json"}], "start": 1777881523798, "stop": 1777881523835}, {"name": "GraphQL: createSubscription", "status": "passed", "attachments": [{"name": "createSubscription response", "source": "2f8a0757-ecce-46d1-892b-33244fc63817-attachment.json", "type": "application/json"}], "start": 1777881523836, "stop": 1777881523889}], "attachments": [{"name": "addUserToPlace (for subscription) response", "source": "0d8dcf8b-78a8-4476-9b7a-a0dbccc7ea06-attachment.json", "type": "application/json"}, {"name": "place members (after addUserToPlace) response", "source": "e952fcea-db56-442f-92b7-d30ad69105d8-attachment.json", "type": "application/json"}], "start": 1777881523686, "stop": 1777881523890}, {"name": "Then subscription response is valid", "status": "passed", "start": 1777881523890, "stop": 1777881523891}, {"name": "When query pending invoices for subscription place", "status": "passed", "steps": [{"name": "GraphQL: invoices (pending)", "status": "passed", "attachments": [{"name": "invoices response", "source": "857b503e-96a5-4b31-a1ed-30bd8f174d37-attachment.json", "type": "application/json"}], "start": 1777881523892, "stop": 1777881523934}], "start": 1777881523891, "stop": 1777881523935}, {"name": "Then invoices response is valid and references subscription", "status": "passed", "start": 1777881523935, "stop": 1777881523936}, {"name": "When delete created subscription", "status": "passed", "steps": [{"name": "GraphQL: deleteSubscription", "status": "passed", "attachments": [{"name": "deleteSubscription response", "source": "c77b7d95-22cd-4496-bd0f-62241caa8d38-attachment.json", "type": "application/json"}], "start": 1777881523937, "stop": 1777881523993}], "start": 1777881523936, "stop": 1777881523994}, {"name": "Then delete subscription response is successful", "status": "passed", "start": 1777881523994, "stop": 1777881523995}, {"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": 1777881523995, "stop": 1777881524022}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1777881524026, "stop": 1777881524198}, {"name": "Cleanup: _cleanup_delete_plan", "status": "passed", "start": 1777881524198, "stop": 1777881524228}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1777881524228, "stop": 1777881524275}, {"name": "Cleanup: _cleanup_delete_service", "status": "passed", "start": 1777881524275, "stop": 1777881524332}], "attachments": [{"name": "Cleanup error", "source": "49ae4cd8-5e97-4ace-9035-1b5ffabbdb7d-attachment.txt", "type": "text/plain"}], "start": 1777881523448, "stop": 1777881524333, "uuid": "9e6bac44-5728-4818-8890-f99b90d6f01c", "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"]}