1 line
6.3 KiB
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": 1778833628766, "stop": 1778833630279}, {"name": "Then access token is valid", "status": "passed", "start": 1778833630279, "stop": 1778833630281}, {"name": "When create service for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createService", "status": "passed", "attachments": [{"name": "createService response", "source": "46fef20d-3b85-4726-8af0-47f2c70e8070-attachment.json", "type": "application/json"}], "start": 1778833630285, "stop": 1778833630405}], "start": 1778833630281, "stop": 1778833630407}, {"name": "And create plan for kvs subscription", "status": "passed", "steps": [{"name": "GraphQL: createPlaceMultiple (KVS)", "status": "passed", "attachments": [{"name": "createPlaceMultiple response", "source": "5d5e82ff-01c9-4268-b9ac-ae701739c8d2-attachment.json", "type": "application/json"}], "start": 1778833630409, "stop": 1778833630489}, {"name": "GraphQL: createPlan", "status": "passed", "attachments": [{"name": "createPlan response", "source": "8079e055-149f-4026-9078-f8a2637035f0-attachment.json", "type": "application/json"}], "start": 1778833630489, "stop": 1778833630589}], "start": 1778833630407, "stop": 1778833630590}, {"name": "And create subscription for kvs", "status": "passed", "steps": [{"name": "GraphQL: createUser (KVS)", "status": "passed", "attachments": [{"name": "createUser response", "source": "af373560-2247-44c6-9d4e-3509b9b2f6ee-attachment.json", "type": "application/json"}], "start": 1778833630592, "stop": 1778833630719}, {"name": "GraphQL: AddUserToPlace(dto: $input) (KVS)", "status": "passed", "attachments": [{"name": "addUserToPlace response", "source": "34936acd-6a0c-4c06-b367-b1b75ebbccb3-attachment.json", "type": "application/json"}], "start": 1778833630719, "stop": 1778833630868}, {"name": "GraphQL: place members (KVS)", "status": "passed", "attachments": [{"name": "place members response", "source": "01b46679-8cf9-40d2-97ca-fc70a961a646-attachment.json", "type": "application/json"}], "start": 1778833630870, "stop": 1778833630985}, {"name": "GraphQL: createSubscription", "status": "passed", "attachments": [{"name": "createSubscription response", "source": "1d0b1dc2-6693-4b26-8bfa-bbf190e2a4c5-attachment.json", "type": "application/json"}], "start": 1778833630988, "stop": 1778833631160}], "attachments": [{"name": "addUserToPlace (for subscription) response", "source": "9bfeb82c-ea14-4713-be99-ac7106700ebe-attachment.json", "type": "application/json"}, {"name": "place members (after addUserToPlace) response", "source": "868d4741-baa4-4e73-9788-b483fa9cc96e-attachment.json", "type": "application/json"}], "start": 1778833630591, "stop": 1778833631161}, {"name": "Then subscription response is valid", "status": "passed", "start": 1778833631161, "stop": 1778833631163}, {"name": "When query pending invoices for subscription place", "status": "passed", "steps": [{"name": "GraphQL: invoices (pending)", "status": "passed", "attachments": [{"name": "invoices response", "source": "a40acf6d-b70f-456a-84d6-588208348e4c-attachment.json", "type": "application/json"}], "start": 1778833631165, "stop": 1778833631280}], "start": 1778833631163, "stop": 1778833631281}, {"name": "Then invoices response is valid and references subscription", "status": "passed", "start": 1778833631281, "stop": 1778833631283}, {"name": "When delete created subscription", "status": "passed", "steps": [{"name": "GraphQL: deleteSubscription", "status": "passed", "attachments": [{"name": "deleteSubscription response", "source": "c2c6aa51-2121-409d-b066-8e9e62e2f9a5-attachment.json", "type": "application/json"}], "start": 1778833631285, "stop": 1778833631381}], "start": 1778833631283, "stop": 1778833631382}, {"name": "Then delete subscription response is successful", "status": "passed", "start": 1778833631382, "stop": 1778833631384}, {"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 25, in after_scenario\n fn()\n ~~^^\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\KVSTest\\testdata\\subscription_test_data.py\", line 232, 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 314, in execute_graphql\n raise RuntimeError(f\"GraphQL errors: {errors}\")\n"}, "start": 1778833631384, "stop": 1778833631456}, {"name": "Cleanup: _cleanup_delete_user", "status": "passed", "start": 1778833631481, "stop": 1778833631732}, {"name": "Cleanup: _cleanup_delete_plan", "status": "passed", "start": 1778833631732, "stop": 1778833631811}, {"name": "Cleanup: _cleanup_delete_place", "status": "passed", "start": 1778833631812, "stop": 1778833631895}, {"name": "Cleanup: _cleanup_delete_service", "status": "passed", "start": 1778833631895, "stop": 1778833631967}], "attachments": [{"name": "Cleanup error", "source": "2d851b70-4c20-4aa1-a2ad-c8e67cdfc381-attachment.txt", "type": "text/plain"}], "start": 1778833628764, "stop": 1778833631967, "uuid": "5c7a7579-9e52-46a1-83b6-c78446fc4e4f", "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"]} |