Skip to content
shadow-dom-testing-library

Alternatives to shadow-dom-testing-library

200 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. W

    @webcomponents/shadydom

    Launch

    ShadyDOM is a shim for Shadow DOM V1 that is part of the Web Components polyfills. The README says it is less correct than the full ShadowDOM polyfill, but less intrusive and faster. Its usage is transparent when attachShadow is unavailable

  3. L

    @lwc/synthetic-shadow

    Launch

    Shadow DOM polyfill by LWC.

  4. 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

  5. W

    @webcomponents/shadycss

    Launch

    ShadowDOM style encapsulation shim.

  6. 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

More like shadow-dom-testing-library

7
M

Mastering Shadow DOM

by @MartineDowden

Launch
8
J

jest-preview

Debug your Jest tests. Effortlessly

Launch
9
H

Happy Dom

A JavaScript implementation of a web browser without its graphical user

Launch
10
R

react-testing-library

React Testing Library: user-centric component testing

Get
11
W

What is the Shadow DOM?

Articles on frontend development and more

Launch
12
R

react-testing

React component testing with React Testing Library, Vitest/Jest

Get
13
W

What the Heck is Shadow DOM?

Self and About

Launch
14
W

What's New in Shadow DOM v1 (by examples)

hayato

Launch
15
S

server-dom-shim

A simple shim for the server-side DOM API

Launch
16
V

vitest

Vitest API and config reference (Jest-compatible)

Get
17
R

react-native-testing

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

Get
18
J

Jest Preview

Debug your Jest tests. Effortlessly

Launch
19
T

Test web components with Playwright

So you’ve created a native web component or two

Launch
20
J

jest-react-testing

Comprehensive React component testing

Get
21
W

Web Components: Working With Shadow DOM

Magazine on CSS, JavaScript, front-end, accessibility, UX and design

Launch
22
F

frontend-testing

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

Get
23
J

jest-marbles

Helpers library for marbles testing with Jest

Launch
24
T

ts-jest

A Jest transformer with source map support

Launch
25
D

dom-helpers

tiny modular DOM lib for ie9+

Launch
26
S

shallow-compare

Stand alone shallowCompare for use in libraries

Launch
27
V

vue-testing-best-practices

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

Get
28
W

@webcomponents/custom-elements

HTML Custom Elements Polyfill

Launch
29
T

Testing Playground

Simple and complete DOM testing playground that encourage good testing practices

Launch
30
V

@viselect/vanilla

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

Launch
31
J

Jest

Delightful JavaScript Testing

Launch
32
S

shimmer-from-structure

A React, Vue, Svelte, & Angular shimmer/skeleton library

Launch
33
V

vue-testing-best-practices

Comprehensive Vue.js testing guidance covering unit, component

Get
34
W

@wc-toolkit/storybook-helpers

Helpers designed to make integrating Web Components with Storybook easier

Launch
35
J

javascript-testing-patterns

Comprehensive testing strategies for JavaScript/TypeScript

Get
36
A

A complete guide on shadow DOM and event propagation

Hi, I am Pierre-Marie Dartus

Launch
37
V

vitest

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

Get
38
V

vitest

Vite-powered unit testing framework

Get
39
P

Puppetry

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

Launch
40
J

@jscutlery/playwright-ct-angular

Playwright Angular component testing

Launch
41
S

storybook-solidjs-vite

SolidJS integration with Storybook

Launch
42
V

vitest

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

Get
43
H

haunted

Hooks for web components

Launch
44
S

@storybook/addon-docs

Storybook Docs: Document UI components automatically with stories and MDX

Launch
45
S

@shadscan/cli

Audit React shadcn apps for missing UI fundamentals

Launch
46
J

jest-codemods

Codemods for migrating to Jest

Launch
47
J

Jasmine

Simple JavaScript testing

Launch
48
S

senior-qa

Generates unit tests, integration tests

Get
49
J

javascript-typescript-jest

Jest testing best practices for JavaScript and TypeScript projects

Get
50
T

test

Run tests for React core

Get

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