Skip to content

0.9.5

Latest

Choose a tag to compare

@github-actions github-actions released this 15 Sep 15:56
· 51 commits to master since this release

Changelog:

Added:

  • Report embed mode. #/embed/<testId>?method=&invocation=&theme=light|dark|auto&notes=1 renders one test class or method with no sidebar, header or search, for framing in a Confluence page, a design doc or a service catalog. theme=auto follows the reader's OS setting and is never written to the stored preference. The embed posts its height to the host page; the new kensa-embed.js, shipped beside kensa.js, sizes every <iframe data-kensa-embed> on a page. A Copy embed link control sits beside Copy link on each test header. Documented on the new Embedding page (#224).
  • Link unfurl. A report with a linkBaseUrl also writes a static page per class and method under embed/ in its bundle, carrying Open Graph tags (title, state, class and the sentences as text), the Kensa mark as the site icon (favicon.png, now in the bundle) and a refresh on to the live embed, so a pasted link shows a card in Slack, Teams and Jira. GitHub does not unfurl external links. Copy embed link copies that page's URL when the pages exist and the hash URL otherwise; configuration.json gains unfurl. Text only for now; a picture of the sentences follows in 1.0.1 at the same address.
  • Sticky test name. While a test is expanded and its card header has scrolled off screen, the report header names that test, with its state icon; click it to scroll back to the card, and the header's copy-link then copies the method's deep link. Collapsed cards never take the header (#223).
  • Filter by issue or epic from the badge. Right-click an issue or epic badge for Filter by this issue (replaces the current issue: terms) and Add to filter / Remove from filter (toggles the term). Plain click still opens the tracker link where one is configured (#225).
  • withLinkBaseUrl / KENSA_LINK_BASE_URL. The report's published address, such as a CI artifact URL like TeamCity's .lastSuccessful. Copied links (deep links and embed links) use it as their base instead of the page's own location. The environment variable wins, so a CI job sets it without touching test code (#224).