NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #824 most downloaded on npm
Simple and complete DOM testing utilities that encourage good testing practices.
Last release 21 days ago
13 Sep 2026
Ships unpredictably
gaps range from 8 days to 1.1 years
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
230 releases · first in 2019
ByLabelText: change selector to match target (not label) (#373) (9526427), closes #372
selector option in ByLabelText queries, then you will probably need to update that code to be able to find the label you're looking for.One column per quarter.
# 6.15.0 (2020-03-04) ### Features * update all dependencies
# 6.14.0 (2020-03-04) ### Features * byRole: Add name filter
config: add getElementError config option (#452) (d6d41f9), closes #360
## 6.12.2 (2020-02-02) ### Bug Fixes * fireEvent in IE11
ByDisplayValue: improve warning message
screen: Add screen export which has all queries bound to the body
make sure setTimeout exists on global
make default of hidden in ByRole configurable
ByRole: Improve perf if multiple elements are found
perf: improve byRole performance (#381) (b5cb4c5), closes #379
# 6.8.0 (2019-10-11) ### Features * Export isInaccessible
byRole: Don't assume window context
update wait-for-expect which always uses real timers
prettyDOM: add helpful error message
shouldExcludeFromA11yTree runs in IE11
# 6.5.0 (2019-10-02) ### Features * events: add form reset event
## 6.4.1 (2019-09-26) ### Bug Fixes * byLabel crashing in IE 11
byRole: Exclude inaccessible elements
support textareas with children.
# 6.1.0 (2019-08-16) ### Features * add asyncUtilTimeout to config
TS: move typings to DefinitelyTyped
Nothing published for this version
Nothing published for this version
debugDOM: If you were using debugDOM before, use prettyDOM instead.
getByRole error message, when there are no available roles
log available roles when a roles query fails (#321) (8c99171), closes #286
## 5.5.6 (2019-07-12) ### Bug Fixes * value-less element selectors
build output: ensure we exclude tests from the build output
resolve setImmediate issue when using with Cypress.
ensure timing things are not mocked
logRoles now actually logs its output to console.
TS: add options type of prettyDOM
# 5.5.0 (2019-07-01) ### Features * Add buildQueries types
# 5.4.0 (2019-06-24) ### Features * add pointer events
fireEvent: various event defaults
support jsdom detached fragments
add semantic html elements implicit role support to queryByRole/getByRole selectors
allow any element as valid for aria-labelledby
typings: allow document to be used in fireEvent
docs referenced old npm package
release: manually release a major version (a646246), closes #260
dom-testing-library to @testing-library/dom🚨🚨🚨🚨
Find/replace dom-testing-library for @testing-library/dom and upgrade to v5
Also, if you're using the UMD file, the file has changed to dist/@testing-library/dom.umd.js and the global variable is now on window.TestingLibraryDom.
🚨🚨🚨🚨
initial release of the scoped package (7639e74), closes #260
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →