Skip to content

Migrating to v5 Report

aryehcitron@gmail.com edited this page Oct 27, 2026 · 6 revisions

The report's tabs, themes and settings

Kronikol 5.0.0 redraws the HTML report: a light and a dark theme on colour tokens, a run band in place of the header row, a filter box with rows of chips, and tabs where 4.x had toolbar toggles, panels and disclosures. A report opens as before and a 4.x link still works, but a stylesheet, a script or a browser test written against 4.x's markup may need changing, and some settings now mean something else. Generated Reports › Report Features describes the 5.0.0 report and Report Themes its tokens. Labels and categories, which became tags, have a page of their own: Migrating to v5: tags. Migrating to v5 lists every 5.0.0 change, with the settings that keep the 4.x behaviour.

What changed

4.x 5.0.0
Colours fixed colours on each rule, one theme tokens (--kron-* for the page, --dg-* for its diagrams), each with a light and a dark value; the page follows the system's setting until the reader picks a theme with the switch at the right of the title
The report's sections Scenario Timeline and Component Diagram toolbar toggles, and History and Report diagnostics sections above the features the Features, Timeline, Components, History and Diagnostics tabs of a report bar that pins to the top of the window on a desktop
The run summary a header row: the pie chart, the Test Execution Summary table and the CI table the run band: the ring, the summary as labelled figures and the CI details, in one card
The features table the Features Summary disclosure above the run summary the Summary view of the Features tab, beside the Full view of the feature cards
Expand and collapse Expand All buttons whose labels flipped a pair of icon buttons for features and a pair for scenarios, dimmed while they have nothing to do
Happy paths a Happy Paths Only toggle Show, Only or Hide
The filter rows always open on a desktop; OR/AND switches; a dependency button on or off folded under More filters on a desktop (from 5.11.0 the filter box is hidden until the report bar's Filters opens it, every row showing); ANY/ALL switches; a chip goes off, has, has not
A scenario's diagram toolbar the view toggles and the payload controls on one bar the views as tabs on a bar of their own, and the payload controls behind a gear
Payload controls the Details radio (Expand, Collapse, Truncate) and labels such as "Databases Shown" Payloads (Expanded, Collapsed, Truncated), and toggles that say their word alone, with aria-pressed
Start states assertion notes hidden, payloads cut at 40 lines, the dependency filter on AND every diagram toggle but Headers on, payloads cut at 10 lines, the dependency filter on ANY (OR)
History in the report none by default (the History section from 3.21.0, the rest from 4.6.0) the History tab, on by default; each scenario's history still only with ShowScenarioHistory
Diagnostics in the report none by default (from 3.21.0) the Diagnostics tab, on by default
The labs page no script, 4.x's colours the report's theme, with the theme's two scripts

Stylesheets

  • Every colour of the report is a token. Set the tokens in CustomCss: the light values on :root, the dark values on :root[data-theme="dark"] and again on :root:not([data-theme]) under prefers-color-scheme: dark (Report Themes › Restyling a report with its tokens).
  • A sheet written against 4.x's rules or colours may no longer apply where 5.0.0 changed the markup: the features and their steps, the failure diff, the parameter table, the run band, the filter rows and the payload controls. Where it still applies it paints the same colours in both themes, so its light colours stay on a dark page. Set the tokens instead.
  • These classes are gone: .header-row, .test-execution-summary, .summary-chart, .ci-chart-group and .ci-metadata (the run band replaced them); .features-summary-details; .collapse-expand-all; .happy-path-toggle and .happy-path-active; and svg.history-chart-svg with history-bar-pass, history-bar-fail, history-bar-duration and history-bar-partial: the pass rate is a ring per run now, and the duration trend is drawn as HTML bars (.history-bars, .history-bar). The Categories row's classes went with the row (Migrating to v5: tags › The report).
  • .status-toggle, .percentile-btn, .dependency-toggle and .dep-mode-toggle keep their names under new rules, so a 4.x rule for them may no longer apply.
  • Stylesheets.VioletThemeStyleSheet, the Specifications report's default sheet, sets the colour tokens for the light and the dark theme, and keeps 4.x's solid violet, with white on it, for a chosen control, the passed step and the back-to-top button. A sheet built on the 4.x constant's rules sets the tokens instead (Report Themes › The violet theme).

Scripts and browser tests

  • From 5.6.0 the file is a small page that decodes the report and puts it in its place with document.open (Generated Reports › The compressed page), so the file's own load comes before the report is there. A test that opens it waits for window.__kronikolReady === true before it reads the page, and an init script's listeners do not survive document.open: poll the flag, or add the listener after Document.prototype.open runs. A test that reads the file's text reads the plain page, HtmlReportFile.ReadPlain(path).
  • These page functions are gone: toggle_timeline and toggle_component_diagram (click the tab, button.report-tab[data-tab="timeline"] or [data-tab="components"]); toggle_expand_collapse (the button.fold-btn pairs); toggle_happy_paths and filter_happy_paths (the button.happy-seg buttons); toggle_dependency (the chips and switches answer one delegated handler, so click the chip); and toggle_examples_detail, which every 4.x report carried and nothing in it called. filter_categories, toggle_cat_mode and toggle_category went with the Categories row.
  • The timeline, the component diagram, the History section and the diagnostics are in tab panels that stay hidden until their tab is chosen. A test that checks one of them is visible selects its tab first.
  • From 5.11.0 the filter box is hidden until the report bar's Filters (button.nav-filters-toggle) opens it, with every row showing, so a test that uses a row's control presses Filters first. From 5.0.0 to 5.10.x the rows were folded under More filters on a desktop, with rows-folded on the box, and a test pressed button.more-filters; both are gone.
  • The filter field is #searchbar, in span.search-field on the filter box's first line, and narrows the Features list as it is typed (q= in the link). 5.11.0 took it away and ran the search through it; from 5.12.0 it is back in the box, so a test that filters presses Filters, types into #searchbar and presses Enter. The search is another thing (5.11.0): it is typed into the query builder, #search-input, which the search button or / opens, runs on Enter to the Search tab, hides nothing, and is search= in the link and search_query() in a script (5.12.0).
  • A scenario's payload controls are behind its gear: button.scenario-settings-gear opens div.scenario-settings, whose bar is div.diagram-toggle.diagram-options-bar, and the view tabs are div.diagram-toggle.diagram-toggle-tabs. A section showing another view carries diagrams-not-seq, and a section with no sequence diagram has no payload controls. On a phone, button.scenario-diagram-controls-toggle.gear-in-summary on the diagrams' title replaces 4.x's "Diagram Settings" button.
  • A toggle's label is its word alone (Headers, Assertions, Steps, Databases, Events, Setup), and its state is in aria-pressed and data-shown: a test that looked for "Databases Shown" reads aria-pressed. Each label sits in span.btn-label. The Details radio reads Payloads, and its line count shows only while Truncated is picked.
  • A filter row's switch reads ANY or ALL and keeps AND or OR in data-mode, which the link writes as before. A chip carries aria-pressed (true, mixed or false) and dependency-active or dependency-exclude.
  • The CI details lose their colons (Build #: and 42 are Build and #42), and the hidden Kronikol Version row is gone: the version is in the page's generator meta.
  • A note's buttons are named in data-note-btn; truncate, truncate-bottom, collapse-bottom and expand-bottom are new.
  • Whenever the scenarios shown change, the page raises kron-filter-change on the document, with { shown, total } in its detail, which a test can wait for.

Settings

  • ReportToggleDefaults (Report Configuration › Toggle Default Start States):
    • AssertionsShown defaults to true (4.x: false), TruncateLines to TruncateLineCount.Lines10 (4.x: Lines40), and DependencyFilterMode to FilterCombinationMode.Or (4.x: And). Set the three back to open a report as 4.x did.
    • ScenarioTimelineVisible and ComponentDiagramVisible choose the tab the page opens on, the Timeline when both are set, where they showed a panel.
    • FeaturesSummaryOpen opens the Features tab on its Summary view, where it opened the Features Summary disclosure.
    • FeaturesExpanded and ScenariosExpanded still open the sections, and start the matching expand button dimmed, where they seeded its label.
    • DiagnosticsOpen has nothing left to open: the Diagnostics tab is always open.
    • EventsShown and SetupShown are new, both true by default.
    • CategoryFilterMode is TagFilterMode.
  • ShowHistorySection and ShowReportDiagnosticsSection default to true (false from 3.21.0 to 4.x): a run that read history has a History tab, and one that recorded a diagnostic has a Diagnostics tab with their count on it. ShowScenarioHistory stays false. Set the two to false for a report without the tabs; the labs page beside the report carries both either way. kronikol merge renders with the defaults, so a merge given --history has a History tab, and one whose shards recorded a diagnostic a Diagnostics tab.
  • kronikol ingest shows the Diagnostics tab by default. --no-diagnostics-section leaves it out, and --diagnostics-section is still taken, so a 4.x command line runs unchanged.
  • ComponentDiagramOptions.Title heads the Components tab under every renderer, and the drawing leaves it out; ComponentDiagram.html still draws it.

Links

  • A link copied from a 4.x report opens the same view, except one that chose dependencies and has no depmode: it meant AND, and in a default 5.0.0 report it means OR. A report whose old links should keep AND sets DependencyFilterMode = FilterCombinationMode.And, or a link can say depmode=AND.
  • hp=1 still opens on happy paths Only, and a link that chose (no interactions) opens on No dependencies.
  • 5.0.0 adds depx=, hpx=1, tags=, tagx= and tagmode=, and 5.10.0 tagstates=3 and depstates=3, a row the reader turned three-way: from 5.10.0 a chip row starts two-way, a chip on or off, and a link that leaves a chip out (tagx=, depx=, hpx=1) opens its row three-way. 5.11.0 adds tab=search, type=, in=, s=, o=, p= and hit=, the Search tab's state and the match a search result went to; a link with q= and no tab= opens the tab it opened before, filtered as before. The display settings are not in the link: each load starts them from the report's settings (Generated Reports › Deep links).

What a report shows differently

  • Assertion notes are drawn from the first render, and payloads are cut at 10 lines.
  • A service is drawn as a box: DependencyPalette.GetSequenceShape(DependencyType.HttpApi) returns participant, where it returned entity. Databases are deep cyan, #0E7C86 where they were #E74C3C, and DependencyColors still overrides it. Where the page draws a diagram, a step bar is a flat band in the step colour (--dg-step) with its label in bold, in place of the black hexagon.
  • The ring reads 100% only when every scenario passed (4.x rounded 213 passed of 214 up to 100%), and a scenario skipped after an earlier failure counts as skipped in the summary and the ring.
  • The parameter table's rows are not tinted by their status, and the failure diff's labels read Expected and Actual, without a colon.
  • A bypassed scenario's timeline bar is blue, as the ring draws it (orange in 4.x).
  • A scenario whose diagram makes no call has no dependency: it is under No dependencies.
  • A collapsed payload's one-line preview leaves out a JSON body's braces.
  • A duration of an hour or more reads in hours (1h 5m, where it read 65m 0s).
  • A run whose calls give the component diagram no connection has no Components tab, where 4.x drew the title alone.
  • Specifications.html is dark and violet in the dark theme, and has the report bar, with the Features and Timeline tabs, whenever its scenarios carry durations; from 5.11.0 it always has the bar, with the Features tab alone where they carry none.

Home · 🔍 Search this wiki Full-text search across every page. The “Pages” list above matches page and heading names, not page content.


Demo


Getting Started

Common Tasks

Integration Guides

Uninstrumentable / polyglot backends

Extensions

Configuration

Features

Reference

Clone this wiki locally