Skip to content

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

Merged
Madhuri-cs merged 2 commits into
developmentfrom
enhc/DX-5635
Apr 8, 2026
Merged

feat(5635): Add stack Role API integration tests#150
Madhuri-cs merged 2 commits into
developmentfrom
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 ownerMarch 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 TypeCount (with fixes)Without fixesThresholdResult
🔴 Critical Severity0010✅ Passed
🟠 High Severity0025✅ Passed
🟡 Medium Severity00500✅ Passed
🔵 Low Severity001000✅ Passed

⏱️ SLA Breach Summary

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

SeverityBreaches (with fixes)Breaches (no fixes)SLA Threshold (with/no fixes)Status
🔴 Critical0015 / 30 days✅ Passed
🟠 High0030 / 120 days✅ Passed
🟡 Medium0090 / 365 days✅ Passed
🔵 Low00180 / 365 days✅ Passed

✅ BUILD PASSED - All security checks passed

cs-raj
cs-raj previously approved these changes Apr 7, 2026
sunil-lakshman
sunil-lakshman previously approved these changes Apr 7, 2026
@OMpawar-21
OMpawar-21 dismissed stale reviews from sunil-lakshman and cs-rajApril 7, 2026 10:40

The merge-base changed after approval.

sunil-lakshman
sunil-lakshman previously approved these changes Apr 7, 2026
@OMpawar-21
OMpawar-21 dismissed sunil-lakshman’s stale reviewApril 7, 2026 11:03

The merge-base changed after approval.

cs-raj
cs-raj previously approved these changes Apr 7, 2026
@OMpawar-21
OMpawar-21 dismissed cs-raj’s stale reviewApril 7, 2026 11:40

The merge-base changed after approval.

sunil-lakshman
sunil-lakshman previously approved these changes Apr 8, 2026
@OMpawar-21
OMpawar-21 dismissed sunil-lakshman’s stale reviewApril 8, 2026 05:34

The merge-base changed after approval.

sunil-lakshman
sunil-lakshman previously approved these changes Apr 8, 2026
@OMpawar-21
OMpawar-21 dismissed sunil-lakshman’s stale reviewApril 8, 2026 05:39

The merge-base changed after approval.

cs-raj
cs-raj previously approved these changes Apr 8, 2026
@OMpawar-21
OMpawar-21 dismissed cs-raj’s stale reviewApril 8, 2026 05:45

The merge-base changed after approval.

netrajpatel
netrajpatel previously approved these changes Apr 8, 2026
@OMpawar-21
OMpawar-21 dismissed netrajpatel’s stale reviewApril 8, 2026 06:11

The merge-base changed after approval.

Madhuri-cs
Madhuri-cs previously approved these changes Apr 8, 2026
@OMpawar-21
OMpawar-21 dismissed Madhuri-cs’s stale reviewApril 8, 2026 07:06

The merge-base changed after approval.

Madhuri-cs
Madhuri-cs previously approved these changes Apr 8, 2026
sunil-lakshman
sunil-lakshman previously approved these changes Apr 8, 2026
@OMpawar-21
OMpawar-21 dismissed stale reviews from sunil-lakshman and Madhuri-csApril 8, 2026 07:12

The merge-base changed after approval.

@Madhuri-cs
Madhuri-cs merged commit fc576d7 into developmentApr 8, 2026
11 checks passed
@cs-raj
cs-raj deleted the enhc/DX-5635 branch April 8, 2026 09:36
Sign up for freeto 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.

5 participants

@OMpawar-21@netrajpatel@sunil-lakshman@cs-raj@Madhuri-cs