DEV Community

Ramkumar SG for RippleX Developers

Posted on • Edited on

Account Permission Delegation - QA Test Report

Test Report Date: 5/15/2025
Prepared By: QA Team [sgramkumar, mkunasani]
Environment: GitLab CI Runner (Ubuntu 22.04)

Overview
This report presents the results of QA testing performed on Account Permission Delegation across rippled and Clio servers.

1. Feature

This section provides a brief summary of the feature being tested. The feature under test is designed to deliver specific functionality as defined in the project specifications.

Feature Name: Account Permission Delegation

Description: Currently, critical issuer actions, such as authorizing trustlines, require direct control by the account's keys, hindering operational efficiency and complex use cases. By empowering account holders to selectively delegate specific permissions to other accounts, this proposal aims to enhance account usability without compromising security. This mechanism will unlock new possibilities for XRPL applications, such as multi-party workflows and advanced account management strategies.

Specification Reference: https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-0075d-permission-delegation

2. Test Scope

This round of testing focuses solely on ensuring that:

  • All specified functionalities are working as expected.
  • The API handles valid and invalid input gracefully.
  • Integration with other features is functioning correctly.
  • Feature validation includes both RPC and WebSockets to ensure consistent behavior across different interfaces.

3. Types of Testing Conducted

Testing Type Description
Functional Testing Verifying each endpoint against defined specifications to ensure it behaves as expected.
Regression Testing Running relevant test cases to confirm that recent changes did not break existing functionalities.
End to end Testing Involves testing the complete flow of a feature confirming that different components of the application, potentially developed by different teams work together as expected.

4. Test Environment

Component Details
OS Ubuntu 22.04 (LTS)
CPU Cores 16
Memory 128 GB
Test Framework Pytest/Shell script

5. Test Results Summary

Testing Type Total Tests
Feature Testing 66
Regression - rippled 2059
Regression - clio 1227

Feature commit:

commit 2db279180571e4cb90ace09605df7ed2f19a1bb8
Author: yinyiqian1 <[email protected]>
Date:   Thu May 8 06:14:02 2025 -0400

    Add PermissionDelegation feature (#5354)
Enter fullscreen mode Exit fullscreen mode

Testcases: https://dev.to/sgramkumar/account-permission-delegation-testcases-3i2c

6. Bugs Reported

Bug ID Description Severity Status
Internal Delegating granular permission (TrustlineAuthorize) throws "tecNO_PERMISSION" 2 Fixed
Internal Deleting a delegated account and making a Payment results in "srcActNotFound" 2 Fixed

7. Conclusion

This feature has undergone comprehensive functional, regression, and end to end testing. The majority of the test cases have been executed successfully, with positive outcomes confirming that the core functionalities are working as expected.

Top comments (0)