@unotest/viewer 0.10.0 → 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 +51 -0
- package/dist/server/main.js +1 -1
- package/dist/web/assets/{DslEditor-CDJvEln6.js → DslEditor-Bswp1m3U.js} +2 -2
- package/dist/web/assets/index-D-BdhK2m.js +55 -0
- package/dist/web/assets/index-DRz--JvN.css +32 -0
- package/dist/web/index.html +2 -2
- package/package.json +5 -28
- package/dist/web/assets/index-CpYt57gz.js +0 -55
- package/dist/web/assets/index-DN6kVWdB.css +0 -32
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,57 @@
|
|
|
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
|
+
|
|
5
56
|
## [0.10.0] - 2026-08-06
|
|
6
57
|
|
|
7
58
|
### Patch Changes
|