docs(m4): post-review polish — helper text + test counts
Spec-reviewer PASS pointed two factual nits:
- MitrePage helper text still referenced the old 3-column drill-down ("Pick
a tactic on the left, then a technique..."). Reworded for the flat matrix
with the ▸ glyph + hover-for-id idiom.
- testing-m4.md + CHANGELOG were stale at 51/12; the actual counts are 53/14
after the GET /mitre/matrix tests landed. Reconciled.
No code-path change, no e2e fallout — DoD remains 53 pytest + 34 Playwright.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -34,7 +34,7 @@ All notable changes to this project will be documented here. Format: [Keep a Cha
|
|||||||
|
|
||||||
### Validated end-to-end (M4 DoD)
|
### Validated end-to-end (M4 DoD)
|
||||||
- `make clean && make up && make migrate && make seed-mitre` → 15 tactics / 222 techniques / 475 sub-techniques / 254 links / 0 orphans / ~1.1 s.
|
- `make clean && make up && make migrate && make seed-mitre` → 15 tactics / 222 techniques / 475 sub-techniques / 254 links / 0 orphans / ~1.1 s.
|
||||||
- `make test-api` → **51 pytest pass** (1 health + 8 schema + 15 auth + 15 RBAC + 12 MITRE) in ~5 s.
|
- `make test-api` → **53 pytest pass** (1 health + 8 schema + 15 auth + 15 RBAC + 14 MITRE) in ~5 s.
|
||||||
- `make e2e` → **34 Playwright pass** (8 M0 + 4 M1 + 8 M2 + 8 M3 + 6 M4) in ~18 s.
|
- `make e2e` → **34 Playwright pass** (8 M0 + 4 M1 + 8 M2 + 8 M3 + 6 M4) in ~18 s.
|
||||||
- Spec-reviewer PASS after fixes applied.
|
- Spec-reviewer PASS after fixes applied.
|
||||||
|
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ export function MitrePage() {
|
|||||||
|
|
||||||
{selected.length === 0 && (
|
{selected.length === 0 && (
|
||||||
<p className="mt-3 font-mono text-2xs text-text-dim">
|
<p className="mt-3 font-mono text-2xs text-text-dim">
|
||||||
Pick a tactic on the left, then a technique, then optionally a sub-technique. Selections accumulate.
|
Click any cell to toggle. Use <span className="text-purple">▸</span> to reveal sub-techniques inline. Hover a cell for its <code className="text-purple">external_id</code>. Selections accumulate.
|
||||||
</p>
|
</p>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ make seed-mitre # télécharge le bundle pinné v19.0 (~50 MB, ~1 s parse)
|
|||||||
## 2. Tests automatisés
|
## 2. Tests automatisés
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
make test-api # 51 tests pytest dont 12 nouveaux MITRE (parser + endpoints)
|
make test-api # 53 tests pytest dont 14 nouveaux MITRE (parser + 5 read endpoints + matrix + status)
|
||||||
make e2e # 34 tests Playwright dont 6 M4
|
make e2e # 34 tests Playwright dont 6 M4
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user