Files
aigc-home/docs/hel-728/frontend-test.log
T

52 lines
2.1 KiB
Plaintext

> calliope-web@1.5.8 test
> node scripts/check-storage-ssr.mjs && node scripts/check-random-uuid.mjs && node scripts/check-skill-frontmatter.mjs && node scripts/check-export-frame.mjs
ok method-less localStorage (Node SSR shape) degrades to null without throwing
ok absent localStorage degrades to null
ok throwing localStorage access degrades to null
ok setItem failure is swallowed
ok working storage round-trips and removes
ok no unsafe `typeof localStorage` guards in src/
storage SSR checks passed.
ok insecure-context crypto (getRandomValues only) yields unique v4 UUIDs
ok method-less crypto degrades to unique best-effort ids without throwing
ok absent crypto degrades to unique best-effort ids without throwing
ok native randomUUID preferred when available
ok no direct `crypto.randomUUID()` calls in src/
randomId insecure-context checks passed.
ok edit load strips the frontmatter block
ok edit load keeps the body
ok strip boundary is exact
ok strip is idempotent
ok second edit-save-reload adds no layer
ok plain body unchanged
ok page imports the shared strip helper
ok no \A-anchored strip regex left behind
skill frontmatter checks passed.
ok first try is ~1 frame before the end, never the end itself
ok later tries step strictly further back
ok tries stay within ~1s of the end
ok short clip clamps to 0 without duplicates
ok unknown / zero duration falls back to t=0
ok base name from /api/file?path=…
ok base name from a Windows path
ok base name from a plain URL
ok unsafe characters are replaced
ok blob URL without a name falls back to 'video'
ok PNG name names the video, the tag and the frame time
ok spaces in the tag become dashes
ok fully transparent sample → empty
ok pure black → black
ok near-black encoder noise (16..18) → black
ok mid-grey picture → not blank
ok dim but visible picture (≈50) → not blank
ok dark night scene with a bright highlight → not blank
ok 404 → not-found
ok 403 → forbidden
ok 500 → network
ok 206 / 200 are not errors
export-frame checks passed.