From 4e55d1459904bbc62e3d3fdfd725805a57cd1bea Mon Sep 17 00:00:00 2001 From: Andrii Arsenin Date: Fri, 2 Oct 2026 11:12:12 +0300 Subject: [PATCH] chore: step output and assertion log data - "Step N passed" log entries carry the step's return value as data - context.assert takes an optional details argument stored as log data on failure; step and snippet failure entries name only the assertion - log output shows elapsed time in whole seconds - run artifact and scenario file names open the file in a new tab - bump version to 1.24.1 --- CHANGELOG.md | 15 +++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f55384..6823a6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,21 @@ All notable changes to this project will be documented in this file. +## 1.24.1 - 2026-10-02 + +Changes since 1.24.0: + +### Added + +- `context.assert(fn, description, details?)`: optional `details` argument. On failure, the `assertion:fail` log entry stores `{ details, error }` as data (`error` is the exception message when `fn` threw), so large diagnostics such as a response body can stay out of the message. The exported e2e runtime accepts and prints it too. +- The "Step N passed" log entry carries the step's return value as data. +- File names in the run Artifacts and scenario Files tables link to the file content, opening it in a new tab (shown inline when the browser can display it). + +### Changed + +- For assertion failures, the "Step N failed" and "Snippet X failed" log entries name only the assertion (`Assertion failed: `) instead of repeating the failure details. The step run's description keeps the full message. +- Log output shows elapsed time in whole seconds (`+14s`), matching the stored timestamp resolution. + ## 1.24.0 - 2026-10-01 Changes since 1.23.0: diff --git a/package-lock.json b/package-lock.json index e7814a4..8b0bede 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "liqa", - "version": "1.24.0", + "version": "1.24.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "liqa", - "version": "1.24.0", + "version": "1.24.1", "license": "MIT", "workspaces": [ "server", diff --git a/package.json b/package.json index 5a67cc9..7ed9887 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "liqa", - "version": "1.24.0", + "version": "1.24.1", "private": true, "license": "MIT", "author": "Andrii Arsenin",