-
Notifications
You must be signed in to change notification settings - Fork 748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Integration Tests for User Sharing API #23423
Add Integration Tests for User Sharing API #23423
Conversation
Integration Test RunnerAttempt 1Integration Test Runner For this PR can be found here.
Attempt 2Integration Test Runner For this PR can be found here. Attempt 3Integration Test Runner For this PR can be found here.
Attempt 4Integration Test Runner For this PR can be found here. Attempt 5Integration Test Runner For this PR can be found here. Attempt 6Integration Test Runner For this PR can be found here. Attempt 7Integration Test Runner For this PR can be found here.
Attempt 8Integration Test Runner For this PR can be found here.
Attempt 9Integration Test Runner For this PR can be found here. Attempt 10Integration Test Runner For this PR can be found here.
|
PR builder started |
PR builder completed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/13804306135
This PR introduces comprehensive integration tests for the User Sharing API, ensuring correctness in user sharing, unsharing, and verification through a successful GET request for a user's shared organizations and assigned shared roles to a shared user in a given organization. These tests validate request handling, response accuracy, and expected behavior across various valid and invalid scenarios, ensuring API reliability in standard usage.
Test Coverage:
✅ Successful Scenarios
SELECTED_ORG_ONLY
SELECTED_ORG_WITH_ALL_EXISTING_CHILDREN_ONLY
SELECTED_ORG_WITH_ALL_EXISTING_AND_FUTURE_CHILDREN
SELECTED_ORG_WITH_EXISTING_IMMEDIATE_CHILDREN_ONLY
SELECTED_ORG_WITH_EXISTING_IMMEDIATE_AND_FUTURE_CHILDREN
ALL_EXISTING_ORGS_ONLY
ALL_EXISTING_AND_FUTURE_ORGS
IMMEDIATE_EXISTING_ORGS_ONLY
IMMEDIATE_EXISTING_AND_FUTURE_ORGS
❌ Failure Scenarios
Related Issue
Add Integration Tests for User Sharing API #23328