31 lines
1.2 KiB
Markdown
31 lines
1.2 KiB
Markdown
# Verdict Chip / Status Display (Allowed/Blocked/Warn)
|
|
|
|
## Module
|
|
Web
|
|
|
|
## Status
|
|
IMPLEMENTED
|
|
|
|
## Description
|
|
Verdict display through the verdicts feature and shared status badge UI component.
|
|
|
|
## Implementation Details
|
|
- **Feature directory**: `src/Web/StellaOps.Web/src/app/shared/components/badge/`
|
|
- **Components**:
|
|
- `badge` (`src/Web/StellaOps.Web/src/app/shared/components/badge/badge.component.ts`)
|
|
- **Source**: Feature matrix scan
|
|
|
|
## E2E Test Plan
|
|
- **Setup**:
|
|
- [ ] Log in with a user that has appropriate permissions
|
|
- [ ] Navigate to the relevant page/section where this feature appears
|
|
- [ ] Ensure test data exists (scanned artifacts, SBOM data, or seed data as needed)
|
|
- **Core verification**:
|
|
- [ ] Verify the badge/chip renders with correct status color and label
|
|
- [ ] Verify the badge updates reactively when underlying data changes
|
|
- [ ] Verify tooltip or popover shows additional detail on hover
|
|
- **Edge cases**:
|
|
- [ ] Verify graceful handling when backend API is unavailable (error state)
|
|
- [ ] Verify responsive layout at different viewport sizes
|
|
- [ ] Verify accessibility (keyboard navigation, screen reader labels, ARIA attributes)
|