unstale

npm / @rstest/core

@rstest/core

What changed in @rstest/core 0.12, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.

10 new APIs and options2 behavior and defaults

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

@rstest/core 0.1212 changes

New APIs and options 10

  • Adds a Locator interaction that drags an element to a target Locator, with optional source and target coordinates relative to each element's top-left padding-box corner.

    0.12.5docs

  • Synchronously wraps a DOM Element from the current test document in a Locator, enabling native browser actions and Rstest assertions on elements from Testing Library or third-party tools.

    0.12.5docs

  • Adds native keyboard input to the currently focused element, without focusing or selecting an element first.

    0.12.5docs

  • Adds an assertion for an element's accessible description, accepting a string or regular expression.

    0.12.5docs

  • Adds an assertion for an element's accessible name, accepting a string or regular expression.

    0.12.5docs

  • Adds an assertion for an element's exact ARIA role; role hierarchy is not considered.

    0.12.5docs

  • Adds an assertion for all selected option values of a multiple select, matching the expected array in DOM order.

    0.12.5docs

  • Captures a PNG screenshot for each failed browser test by defaulting to the headless setting; set to false to disable capture.

    0.12.4docs

  • Pass React root options such as onRecoverableError through createRootOptions when rendering.

    0.12.4docs

  • Browser Mode can hydrate matching server-rendered markup without starting a Node server, enabling focused React hydration tests.

    0.12.4docs

Behavior and default changes 2

  • Accepts DOM elements returned by Testing Library or native DOM queries, converting them through page.elementLocator() and using Locator assertion retry and timeout behavior.

    0.12.5docs

  • Invalidation drops queued presses that have not started, but cannot cancel or roll back native input already in progress.

    0.12.5docs