Finalize UI truthfulness and bootstrap hardening

This commit is contained in:
master
2026-04-16 16:23:54 +03:00
parent 4799aa2402
commit bc6b1c5959
145 changed files with 10503 additions and 9837 deletions

View File

@@ -0,0 +1,16 @@
Tier2 strict UI evidence for policy-governance-controls-ui
CapturedAtUtc: 2026-04-15T17:03:18Z
Playwright command: PLAYWRIGHT_BASE_URL=https://stella-ops.local npx playwright test --config playwright.config.ts tests/e2e/ui-truthful-state-cutover.recheck.spec.ts --workers=1 --reporter=list
Playwright test mapping: rechecks policy governance conflicts without fabricated preview content
Route: /ops/policy/governance/conflicts
Assertions:
- heading "Policy Governance" is visible
- mounted conflict wizard advances into "Compare Conflicting Sources"
- the compare step shows metadata-only unavailable notices
- generated "condition" and "action" fields are absent
Command output snippet:
- Running 2 tests using 1 worker
- ✓ rechecks mounted truthful-state routes after the mock-data cutover (22.4s)
- ✓ rechecks policy governance conflicts without fabricated preview content (11.2s)
- 2 passed (34.9s)
Result: pass

View File

@@ -0,0 +1,40 @@
{
"type": "ui",
"module": "web",
"feature": "policy-governance-controls-ui",
"runId": "run-002",
"baseUrl": "https://stella-ops.local",
"capturedAtUtc": "2026-04-15T17:03:18Z",
"playwrightSpec": "src/Web/StellaOps.Web/tests/e2e/ui-truthful-state-cutover.recheck.spec.ts",
"playwrightTests": [
"rechecks policy governance conflicts without fabricated preview content"
],
"steps": [
{
"description": "Open the mounted policy governance conflicts route.",
"action": "navigate",
"target": "/ops/policy/governance/conflicts",
"expected": "The route renders Policy Governance and either an empty conflicts state or a live conflict list.",
"result": "pass",
"stepCapturedAtUtc": "2026-04-15T17:03:18Z"
},
{
"description": "Open a live conflict resolution flow and advance into the compare step.",
"action": "click+assert",
"target": "First Resolve link and wizard Next button",
"expected": "Conflict Resolution Wizard reaches Compare Conflicting Sources on the mounted route.",
"result": "pass",
"stepCapturedAtUtc": "2026-04-15T17:03:18Z"
},
{
"description": "Verify metadata-only preview messaging and the absence of fabricated rule bodies.",
"action": "assert",
"target": "Conflict Resolution Wizard compare step",
"expected": "Metadata-only unavailable notices render and generated \"condition\" / \"action\" JSON fields are absent.",
"result": "pass",
"stepCapturedAtUtc": "2026-04-15T17:03:18Z"
}
],
"evidence": "docs/qa/feature-checks/runs/web/policy-governance-controls-ui/run-002/evidence/playwright-ui-evidence.txt",
"verdict": "pass"
}