@unotest/viewer 0.9.1 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,95 @@
2
2
 
3
3
  All notable changes to `@unotest/viewer` are documented in this file.
4
4
 
5
+ ## [0.11.0] - 2026-08-13
6
+
7
+ ### Minor Changes
8
+
9
+ - a195713: Failure artifacts are always on, and steps can carry screenshots.
10
+
11
+ - On any scenario failure the runner writes `screenshot.png` +
12
+ `page.html` (runtime DOM, open shadow roots included, secrets
13
+ redacted) to `unotest/.runs/<runId>/failure/` — no `UNOTEST_DEBUG`
14
+ needed. The `.unotest/failures/` bundle gains the same `page.html`;
15
+ its screenshot keeps honouring `failureBundle.tier2`.
16
+ - New env flag `UNOTEST_STEP_SCREENSHOTS=1` captures a PNG after every
17
+ executed step into `unotest/.runs/<runId>/screenshot/`.
18
+ - Protocol: `screenshot` events may carry the step's `file`/`line`/`col`.
19
+ - Viewer: a step row with a captured screenshot shows a camera icon and
20
+ toggles an inline preview on click (both `screenshot()` DSL captures
21
+ and per-step ones).
22
+
23
+ - c01b72f: Step screenshots open full-screen instead of expanding inside the steps
24
+ tree. Clicking a row with a capture opens a viewer over the whole
25
+ window — dimmed, blurred backdrop, the frame scaled to fit — with
26
+ arrows on both sides (and `←`/`→`) walking every capture the run
27
+ produced, disabled at each end. Under the image sits the frame's
28
+ identity: the enclosing `step("…")` label and the statement itself with
29
+ its line number, plus a position counter. `Esc` or a click outside
30
+ closes; the row you were last looking at stays marked in the tree and
31
+ scrolled into view, so closing the viewer lands you where you left off.
32
+
33
+ The inline preview under the row is gone — it made the tree jump on
34
+ every capture and showed the screenshot at a size nothing could be read
35
+ at.
36
+
37
+ ### Patch Changes
38
+
39
+ - dea90e9: Straightens the scenarios tree indentation. A folder's children were
40
+ indented by less than the chevron column they nest under, so a
41
+ scenario's status dot landed to the LEFT of its parent folder's name and
42
+ sibling folders and scenarios sat on two different grids. One level now
43
+ costs exactly one chevron column: a nested folder's chevron sits under
44
+ its parent's folder icon, and a scenario's dot sits where its parent's
45
+ name starts — the alignment every file tree uses. Scenario rows reserve
46
+ the chevron column they don't have, and their dot occupies the same
47
+ box as a folder icon, so names line up across both row kinds.
48
+ - Updated dependencies [a195713]
49
+ - Updated dependencies [ce25926]
50
+ - Updated dependencies [5a8e92b]
51
+ - Updated dependencies [d0ae620]
52
+ - Updated dependencies [2a68997]
53
+ - @unotest/protocol@0.11.0
54
+ - @unotest/dsl@0.11.0
55
+
56
+ ## [0.10.0] - 2026-08-06
57
+
58
+ ### Patch Changes
59
+
60
+ - 337a31c: Visual redesign on semantic design tokens. All colors now live in one
61
+ block in `styles/index.css` as semantic roles (`canvas` / `panel` /
62
+ `raised` / `overlay`, `fg`…`fg-4`, `edge`, single blue `accent`,
63
+ `pass` / `fail` / `warn`, `syn-*`), exposed to Tailwind via
64
+ `@theme inline`. Palette is a warm gray with
65
+ a deliberate brightness hierarchy: content (editor / canvas) is the
66
+ brightest surface, chrome (trees, bars, tabs) sits dimmer. Dark theme
67
+ flips by overriding the token variables under `.dark` — components no
68
+ longer carry `dark:` variants. No behavior changes.
69
+ - Updated dependencies [7ed750c]
70
+ - Updated dependencies [574841f]
71
+ - @unotest/dsl@0.10.0
72
+ - @unotest/protocol@0.10.0
73
+
74
+ ## [0.9.2] - 2026-06-16
75
+
76
+ ### Added
77
+
78
+ - **Snapshot export & import.** Export a finished run to a portable
79
+ `*.unotest.zip` from the server, and import a teammate's bundle into a Snapshots
80
+ tree that opens each as its own read-only run tab (`SnapshotRunView`). New
81
+ export / snapshots HTTP controllers, a snapshot store + bundle service, and the
82
+ client-side download / unzip plumbing back it.
83
+ - **Reworked Inspector panel** with refreshed `Button` / `Pill` / `Tooltip`
84
+ primitives.
85
+
86
+ ### Fixed
87
+
88
+ - **Run status during console / network capture.** The run view now reads the
89
+ manifest's `capture` flags, so a live or terminal run shows the correct console /
90
+ network status instead of mistaking "capture disabled" for "no output yet".
91
+ - **Variables now persist to the config.** Editing a variable saves it back to the
92
+ user config instead of being lost on reload.
93
+
5
94
  ## [0.9.1] - 2026-06-14
6
95
 
7
96
  ### Added