Skip to content

feat(5635): Add stack Role API integration tests#150

Open
OMpawar-21 wants to merge 2 commits intodevelopmentfrom
enhc/DX-5635
Open

feat(5635): Add stack Role API integration tests#150
OMpawar-21 wants to merge 2 commits intodevelopmentfrom
enhc/DX-5635

Conversation

@OMpawar-21
Copy link
Copy Markdown
Contributor

Summary

Adds stack Role API integration tests: 16 cases covering sync/async CRUD + list query, plus negative paths for a non-existent role UID.

Changes

  • New file: Contentstack019_RoleTest.cs
  • Uses RoleModel with minimal BranchRules (main); fetch/update/delete use role UID (/roles/{uid}).
  • Same setup/teardown and assertion style as Contentstack018_EnvironmentTest (AssertLogger, [DoNotParallelize]).

…ases

Add Contentstack018_EnvironmentTest.cs with complete CRUD coverage for Environment API.

- 16 tests: sync/async happy path + negative path scenarios
- Fix API calls to use environment names instead of UIDs for fetch/update/delete
- Includes proper cleanup, unique naming, and error handling
- All tests passing with comprehensive positive/negative validation
Add Contentstack019_RoleTest with 16 integration tests (sync/async CRUD + query,
negative paths for non-existent role UID). Roles use /roles/{uid}; minimal
RoleModel uses BranchRules for branch main. Mirrors Contentstack018 patterns.
@OMpawar-21 OMpawar-21 requested a review from a team as a code owner March 31, 2026 03:37
@github-actions
Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant