Canvas rendered in normal document flow. No fixed/absolute parent. Hardcoded data [8,5,9,4,7,6,8,3,9]. If this fails, CDN or browser is the issue.
| Metric | Value | Verdict |
|---|---|---|
| width | ||
| height | ||
| offsetParent |
Exact same structure as the quiz: position:fixed; inset:0 parent → inner container → canvas.
This is where the real app's chart dies if geometry is zero.
We test at 3 timing points: immediate / $nextTick / 150ms setTimeout.
position:fixed parent – same as real quiz
Mocks responses exactly as saveAndEvaluate() builds them (score = raw*10 since API returns 0-10 scaled to 0-100).
Verifies that updateCharts() builds the correct data array and pushes it to Chart.js.
| Idx | Label | Answer (truncated) | Score in responses | Goes to Chart |
|---|---|---|---|---|
responses[i].score must be a number (not string).
Type check:
Normal flow canvas. If shapes match the mock scores table above → data pipeline is correct.
Tests actual server endpoints. Authentication required for some routes.