43 lines
2.4 KiB
Markdown
43 lines
2.4 KiB
Markdown
# Verdict Replay Controls UI (Trigger + Status + Compare)
|
|
|
|
## Module
|
|
Web
|
|
|
|
## Status
|
|
VERIFIED
|
|
|
|
## Description
|
|
UI controls for triggering verdict replays, monitoring replay status, and comparing replay results against original verdicts. Includes offline verification workflow (upload bundle, verify, show chain) and checksum verification UI with SHA-256 display.
|
|
|
|
## Implementation Details
|
|
- **Feature directory**: `src/Web/StellaOps.Web/src/app/features/verdicts/`
|
|
- **Components**:
|
|
- `verdict-actions` (`src/Web/StellaOps.Web/src/app/features/verdicts/components/verdict-actions/verdict-actions.component.ts`)
|
|
- `verdict-detail-panel` (`src/Web/StellaOps.Web/src/app/features/verdicts/components/verdict-detail-panel/verdict-detail-panel.component.ts`)
|
|
- **Services**:
|
|
- `verdict` (`src/Web/StellaOps.Web/src/app/features/verdicts/services/verdict.service.ts`)
|
|
- **Behavior coverage**:
|
|
- `src/Web/StellaOps.Web/src/tests/verdicts/verdict-replay-controls-ui.behavior.spec.ts`
|
|
- **Source**: SPRINT_20251229_016_FE_evidence_export_replay_ui.md and QA replay-control determinism hardening in Sprint `SPRINT_20260211_029_FE_web_feature_verification_batch40`.
|
|
|
|
## E2E Test Plan
|
|
- **Setup**:
|
|
- [ ] Log in with a user that has appropriate permissions
|
|
- [ ] Navigate to `/triage/artifacts/:artifactId`
|
|
- [ ] Ensure test data exists (scanned artifacts, SBOM data, or seed data as needed)
|
|
- **Core verification**:
|
|
- [ ] Verify the component renders correctly with sample data
|
|
- [ ] Verify interactive elements respond to user input
|
|
- [ ] Verify data is fetched and displayed from the correct API endpoints
|
|
- **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)
|
|
|
|
## Verification
|
|
- Run ID: `docs/qa/feature-checks/runs/web/verdict-replay-controls-ui/run-001/`
|
|
- Date (UTC): 2026-02-11
|
|
- Tier 0: PASS (source/symbol verification; added supported replay-controls harness; fixed async verdict-id capture for deterministic replay/download transitions).
|
|
- Tier 1: PASS (`npm run test` focused + regression include suite: 32 files / 149 tests; `npm run build` passed with baseline warnings).
|
|
- Tier 2: PASS (replay loading/disabled transitions, duplicate-inflight guard, replay navigation gating, and error-path behavior validated via Angular behavior harness).
|