Skip to content
shadow-dom-testing-library

Free alternatives to shadow-dom-testing-library

200 free apps like shadow-dom-testing-library, closest match first.

Top picks

  1. Q

    query-selector-shadow-dom

    Launch

    query-selector-shadow-dom is a small JavaScript library from the WebdriverIO project that lets you use querySelector-style syntax to find elements inside nested shadow DOM roots, without having to know the full path through each shadow root

  2. V

    vue-shadow-dom

    Launch

    Shadow is a library that adds Shadow DOM support to Vue, so a component can render its contents inside a shadow root. The shadow element takes a tag prop, which defaults to div, and an abstract prop that moves the shadow root and stops othe

  3. T

    Testing Library

    Launch

    Testing Library is a family of open-source JavaScript libraries for testing user interfaces by querying the page the way users find things on it. Tests look up elements by role, label and text rather than by implementation details, which th

    Open source

  4. J

    jest-preview

    Launch

    Jest Preview is a debugging tool that shows your Jest test output as a real page in a browser. When you write tests with Jest and react-testing-library, you usually read the HTML to understand the UI, which gets hard when the markup is comp

    Open source

  5. H

    Happy Dom

    Launch

    Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It gives code that expects a browser, such as DOM manipulation, custom elements and fetch calls, a working document model inside Node.js or Bun,

    Open source

  6. R

    react-testing-library

    Get

    react-testing-library is an agent skill for writing tests for React components the way users interact with them. It centers on user-centric testing, with queries that find elements by what a user sees, user-event simulation for realistic cl

More like shadow-dom-testing-library

7
R

react-testing

React component testing with React Testing Library, Vitest/Jest

Get
8
S

server-dom-shim

A simple shim for the server-side DOM API

Launch
9
V

vitest

Vitest API and config reference (Jest-compatible)

Get
10
R

react-native-testing

Write tests using React Native Testing Library (RNTL) v13 and v14

Get
11
J

Jest Preview

Debug your Jest tests. Effortlessly

Launch
12
J

jest-react-testing

Comprehensive React component testing

Get
13
F

frontend-testing

Writing or changing Vitest or React Testing Library tests under `web/` or

Get
14
J

jest-marbles

Helpers library for marbles testing with Jest

Launch
15
T

ts-jest

A Jest transformer with source map support

Launch
16
D

dom-helpers

tiny modular DOM lib for ie9+

Launch
17
S

shallow-compare

Stand alone shallowCompare for use in libraries

Launch
18
V

vue-testing-best-practices

Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking

Get
19
W

@webcomponents/custom-elements

HTML Custom Elements Polyfill

Launch
20
V

@viselect/vanilla

Simple, lightweight and modern library library for making visual DOM Selections

Launch
21
J

Jest

Delightful JavaScript Testing

Launch
22
V

vue-testing-best-practices

Comprehensive Vue.js testing guidance covering unit, component

Get
23
W

@wc-toolkit/storybook-helpers

Helpers designed to make integrating Web Components with Storybook easier

Launch
24
J

javascript-testing-patterns

Comprehensive testing strategies for JavaScript/TypeScript

Get
25
V

vitest

Vitest fast unit testing framework powered by Vite with Jest-compatible API

Get
26
V

vitest

Vite-powered unit testing framework

Get
27
P

Puppetry

Web testing solution for non-developers on top of Puppeteer and Jest

Launch
28
J

@jscutlery/playwright-ct-angular

Playwright Angular component testing

Launch
29
S

storybook-solidjs-vite

SolidJS integration with Storybook

Launch
30
V

vitest

Vitest testing framework patterns for test setup, async testing, mocking

Get
31
H

haunted

Hooks for web components

Launch
32
S

@storybook/addon-docs

Storybook Docs: Document UI components automatically with stories and MDX

Launch
33
S

@shadscan/cli

Audit React shadcn apps for missing UI fundamentals

Launch
34
J

jest-codemods

Codemods for migrating to Jest

Launch
35
S

senior-qa

Generates unit tests, integration tests

Get
36
J

javascript-typescript-jest

Jest testing best practices for JavaScript and TypeScript projects

Get
37
T

test

Run tests for React core

Get
38
V

@vertical-insure/web-components

Vertical Insure Web Components using Lit and Open Web Standards

Launch
39
S

shipstyles

Zero-config runtime styles

Launch
40
H

hyva-playwright-test

Write Playwright tests for Hyvä themes with Alpine.js components

Get
41
C

@cloudflare/ai-search-snippet

A production-ready, self-contained TypeScript Web Component library

Launch
42
P

Playwright

Reliable browser automation and end-to-end testing

Launch
43
P

playwright-skill

Battle-tested Playwright patterns for writing, debugging

Get
44
T

testing

Vitest tests, mocks, coverage and failing-test diagnosis

Get
45
V

vitest-testing

Modern TypeScript/JavaScript testing with Vitest

Get
46
S

Shadow Grove

A ClojureScript system to build browser based frontends

Launch
47
C

compose-ui-testing-patterns

Writing or reviewing Jetpack Compose UI tests

Get
48
N

Nightwatch.js

Write efficient and straightforward end-to-end tests in Node.js

Launch
49
R

Rod

A Chrome DevTools Protocol driver for web automation and scraping

Launch
50
I

@iyulab/components

web-components library based on lit-element made by iyulab

Launch

About shadow-dom-testing-library

S

shadow-dom-testing-library

An extension of DOM-testing-library to provide hooks into the shadow dom

shadow-dom-testing-library extends DOM Testing Library so you can query elements inside shadow DOM. DOM Testing Library does not check shadow roots, which makes it hard to find something like a button nested inside a shadow root. This library adds a Shadow-prefixed version of each query type. Its screen object comes with the query functions bound to the document, and every query accepts a shallow option that searches only one shadow root deep. It also exports deepQuerySelector and deepQuerySelectorAll for finer control, and a within function that binds the queries to a particular container element. The README warns that the shadow and deep queries recurse through every shadow root, which can find unintended elements in tests, and that recursing can be expensive in a DOM with many elements. For setup, Jest users need jsdom 16.2 or later and Jest 26.2 or later. The README describes the library as very new and asks users to report any issues they find.

Price
Free
Made by
paramagicdev
Category
UI Libraries
Website
github.com/konnorrogers/shadow-dom-testing-library