awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
testing-library avatar

testing-library/jest-dom

0
View on GitHub↗
testing-library.com/docs/ecosystem-jest-dom↗

Jest Dom

jest-dom is a collection of custom matchers and assertions for Jest designed to validate HTML element states, accessibility, and document object model properties. It functions as a specialized toolkit for verifying the structural and visual state of web elements during automated testing.

The library provides specialized functions for checking CSS classes, attributes, and form validity. It includes a suite of assertions to verify ARIA roles, accessible names, and compatibility with assistive technologies.

Its capabilities cover the verification of element presence, visibility, and positioning within the document hierarchy. It also includes utilities for validating web form states, including input values, validity requirements, and interactive states such as focus and text selection.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • DOM Testing Utilities - Offers a comprehensive toolkit for validating the accessibility, visibility, and structural properties of web elements.
  • DOM Matchers - Extends the Jest test runner with a comprehensive collection of specialized matchers for DOM state verification.
  • DOM Presence Verifications - Provides matchers to assert whether an element exists in the DOM or within a specific container.
  • Accessibility Testing - Evaluates software interfaces to ensure they meet accessibility standards and are readable by assistive technologies.
  • DOM Content Assertions - Offers assertions to verify that elements contain specific text or HTML content.
  • Element State Verifications - Provides matchers to check HTML attributes, CSS classes, and applied styles to confirm an element's structural state.
  • Custom Matchers - Ships specialized matchers for asserting CSS classes, attributes, and form validity in JavaScript tests.
  • Accessible Attribute Verifications - Provides specialized matchers to verify accessible names, roles, and descriptions for assistive technology compatibility.
  • Accessibility Validation Utilities - Provides a suite of assertions for verifying ARIA roles and accessibility standards within the browser DOM.
  • UI State Verifications - Validates that the UI has reached the expected state by checking element properties like focus, visibility, and disabled status.
  • ARIA Attribute Validations - Implements assertions to ensure elements comply with WAI-ARIA standards for assistive technologies.
  • Element Property Inspection - Enables programmatic inspection of DOM properties and attributes to verify the current state of web elements.
  • Input State Verifications - Verifies internal states of form controls, including focus, validity, and user text selections.
  • Form Validity Assertions - Checks whether a form element is currently valid, invalid, or marked as required.
  • Form Value Assertions - Provides matchers to assert the values of individual form controls or entire fieldsets.
  • DOM Hierarchy Navigators - Provides utilities to navigate the DOM hierarchy to verify parent-child relationships and element positioning.
  • DOM Structure Verification - Ensures the generated HTML structure matches expected patterns and hierarchical relationships.
  • Relative Positioning Verifications - Determines if an element appears before or after another specific element in the document hierarchy.
  • Web Form Test Assertions - Provides matchers to check that input fields and form elements have correct values and validity states.
  • Form Value Display Verifications - Verifies the actual value displayed to the end user for various supported form elements.
  • Computed Style Analyzers - Analyzes resolved CSS values via the browser's computed style API to determine element visibility and layout.
  • Test Matchers - DOM state testing matchers
  • Testing and Quality Assurance - Custom matchers for testing the state of the DOM.
4,597 stars·416 forks·JavaScript·MIT·20 views

Star history

Star history chart for testing-library/jest-domStar history chart for testing-library/jest-dom

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Frequently asked questions

What does testing-library/jest-dom do?

jest-dom is a collection of custom matchers and assertions for Jest designed to validate HTML element states, accessibility, and document object model properties. It functions as a specialized toolkit for verifying the structural and visual state of web elements during automated testing.

What are the main features of testing-library/jest-dom?

The main features of testing-library/jest-dom are: DOM Testing Utilities, DOM Matchers, DOM Presence Verifications, Accessibility Testing, DOM Content Assertions, Element State Verifications, Custom Matchers, Accessible Attribute Verifications.

Which projects share features with testing-library/jest-dom?

Projects with overlapping indexed features include: testing-library/react-testing-library — React Testing Library is a testing framework for verifying React components by interacting with rendered output… googlechromelabs/projectvisbug — VisBug is an in-browser design tool that lets you inspect, edit, and manipulate live webpage elements directly,… codeceptjs/codeceptjs — CodeceptJS is a NodeJS end-to-end testing framework designed for automating acceptance tests across web, mobile, and… vitest-dev/vitest — Vitest is a high-performance testing framework designed for JavaScript and TypeScript applications. It provides an… googlechrome/accessibility-developer-tools — This project provides a comprehensive library and framework for automated web accessibility auditing. It enables… dequelabs/axe-core — axe-core is an automated accessibility testing engine and compliance auditor designed to scan web and mobile…

Projects sharing features with Jest Dom

These projects share indexed features with Jest Dom. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • testing-library/react-testing-librarytesting-library avatar

    testing-library/react-testing-library

    19,606View on GitHub↗

    React Testing Library is a testing framework for verifying React components by interacting with rendered output instead of internal implementation details. It functions as a DOM testing utility and a frontend integration testing tool that mounts components into a virtual document object model for execution within Node.js environments. The library utilizes an accessibility-first query engine to locate user interface elements via ARIA roles and labels. This approach ensures web accessibility standards are met by mirroring how users perceive the interface rather than relying on implementation-sp

    JavaScriptjavascriptreactjstesting
    View on GitHub↗19,606
  • googlechromelabs/projectvisbugGoogleChromeLabs avatar

    GoogleChromeLabs/ProjectVisBug

    5,746View on GitHub↗

    VisBug is an in-browser design tool that lets you inspect, edit, and manipulate live webpage elements directly, without touching source code. It functions as a browser design inspector, providing visual controls and keyboard shortcuts for real-time style inspection, element manipulation, and device simulation. The tool offers design-tool-inspired interactions for navigating the DOM as grouped layers, enabling direct selection and editing of nested components. It includes capabilities for drag-and-drop image replacement, live style inspection with computed properties and accessibility informat

    JavaScript
    View on GitHub↗5,746
  • codeceptjs/codeceptjscodeceptjs avatar

    codeceptjs/CodeceptJS

    4,225View on GitHub↗

    CodeceptJS is a NodeJS end-to-end testing framework designed for automating acceptance tests across web, mobile, and desktop applications using a unified API. It serves as a cross-platform test automator and a behavior-driven development tool that maps human-readable feature files to technical step definitions. The framework features AI-powered test maintenance that uses machine learning to automatically identify and repair broken element selectors. It includes capabilities for autonomous test generation and a server that allows external agents to control tests and debug browser sessions in r

    JavaScript
    View on GitHub↗4,225
  • vitest-dev/vitestvitest-dev avatar

    vitest-dev/vitest

    15,970View on GitHub↗

    Vitest is a high-performance testing framework designed for JavaScript and TypeScript applications. It provides an integrated environment that supports unit, integration, and browser-based testing, allowing developers to execute test suites natively without requiring separate build steps or complex configuration. The project distinguishes itself through a highly optimized execution model that leverages worker-thread isolation and on-demand module transformation to provide rapid feedback. It includes a comprehensive suite of mocking and spying utilities that allow for the interception of depen

    TypeScripttesttesting-toolsvite
    View on GitHub↗15,970
  • Compare all 30 related projects→