Simple and complete DOM testing playground that encourage good testing practices.

Latest Version

Version
1.16.3
Update
May 31, 2021
Size
646KiB
Developer
Category
Users
40,000+
Rating
4.31667 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
ClipboardWrite
See more

Testing Playground Extension

Adds Testing-Playground to the Chrome Developer Tools.

Testing Playground is an extension that helps you find the best queries to select elements for the open-source Testing-Library family. It allows you to inspect the element hierarchies in the Chrome Developer Tools, and provides you with suggestions on how to select them, while encouraging good testing practices.

You will get two new tabs in your Chrome DevTools: \"🐸 Testing Playground\" as a tab, and as a side panel under the \"Elements\" tab.

By selecting one of the elements on the page, you can inspect the different queries that can be used to select the element in your tests, and get feedback that tells you when and why there are better queries available.

If you inspect an element on the page using the regular Elements tab, then switch over to the Testing Playground tab, that element will be automatically selected.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Testing Playground", "description": "Simple and complete DOM testing playground that encourage good testing practices.", "version": "1.16.0", "version_name": "1.16.3", "minimum_chrome_version": "49", "icons": { "16": "icons/16-production.png", "32": "icons/32-production.png", "48": "icons/48-production.png", "128": "icons/128-production.png" }, "browser_action": { "default_icon": { "16": "icons/16-production.png", "32": "icons/32-production.png", "48": "icons/48-production.png", "128": "icons/128-production.png" } }, "web_accessible_resources": ["window/testing-library.js"], "devtools_page": "devtools/main.html", "content_security_policy": "script-src 'self' 'unsafe-eval' 'sha256-6UcmjVDygSSU8p+3s7E7Kz8EG/ARhPADPRUm9P90HLM='; object-src 'self'", "background": { "scripts": ["background/background.js"], "persistent": false }, "permissions": ["clipboardWrite"], "content_scripts": [ { "matches": [""], "js": ["content-script/contentScript.js"], "run_at": "document_start" } ]}
Read more

Similar Extensions

icon

Testing Library: which query Extension · Developer Tools 40,000+ 4 ★ 1.26MiB

icon

Cypress Recorder Extension · Developer Tools 40,000+ 10 ★ 202KiB

icon

React Developer Tools Extension · Developer Tools 40,000+ 1576 ★ 1.56MiB

icon

React Context DevTool Extension · Developer Tools 40,000+ 21 ★ 2.35MiB

icon

VisBug Extension · Developer Tools 40,000+ 252 ★ 5.38MiB

icon

Testing Library Recorder Extension · Developer Tools 40,000+ 1 ★ 13.19KiB

icon

Web Vitals Extension · Developer Tools 40,000+ 43 ★ 398KiB

icon

LocatorJS Extension · Developer Tools 40,000+ 64 ★ 190KiB

icon

Reactime Extension · Developer Tools 40,000+ 33 ★ 803KiB

icon

Redux DevTools Extension · Developer Tools 40,000+ 726 ★ 1.2MiB

icon

daily.dev | The homepage developers deserve Extension · Developer Tools 40,000+ 2460 ★ 2.28MiB

icon

GraphQL Network Inspector Extension · Developer Tools 40,000+ 123 ★ 8.34MiB

icon

axe DevTools - Web Accessibility Testing Extension · Accessibility 40,000+ 114 ★ 2.89MiB

icon

CSS Stacking Context inspector Extension · Developer Tools 40,000+ 21 ★ 262KiB

icon

Allow CORS: Access-Control-Allow-Origin Extension · Productivity 40,000+ 279 ★ 78.31KiB

icon

Apollo Client Devtools Extension · Developer Tools 40,000+ 266 ★ 490KiB

icon

Mokku Extension · Developer Tools 40,000+ 76 ★ 3.28MiB

icon

tweak: mock and modify HTTP requests Extension · Developer Tools 40,000+ 190 ★ 3.22MiB

icon

React Performance Devtool Extension · Developer Tools 40,000+ 11 ★ 170KiB

icon

MobX Developer Tools Extension · Developer Tools 40,000+ 51 ★ 682KiB

icon

GraphQL developer tools Extension · Developer Tools 40,000+ 24 ★ 98.19KiB

icon

Immutable.js Object Formatter Extension · Developer Tools 40,000+ 33 ★ 43.46KiB

icon

CORS Unblock Extension · Developer Tools 40,000+ 162 ★ 203KiB

icon

Accessibility Insights for Web Extension · Developer Tools 40,000+ 37 ★ 3.62MiB

User reviews

icon

Robin Mayfield (ID: 0000000d86e12762) Voted 5 ★ - Updated 10/30/2023 Invaluable. Playwright and others include similar tools, but to have this in the browser is wonderful ;x

icon

Robbert van Markus (ID: 00000009df1805bd) Voted 5 ★ - Updated 10/16/2023 Great

icon

Vamshi Saggurthi (ID: 000000bf44b39ceb) Voted 5 ★ - Updated 07/25/2023 very useful especially in react and jest

icon

Sam Prince (ID: 1c9d88fe1ba5e151) Voted 4 ★ - Updated 07/17/2023 Not bad, but quite often comes up with no suggestion for how to select a form field. Playwright always seems to manage something, however "inelegant" it might be, so it's a shame this extension just gives up when a limited set of options have been exhausted. I would rather it suggested a selector which was bad and issued a warning to that effect.

icon

Sam Kendrick (ID: 0000009f4345ac14) Voted 5 ★ - Updated 06/07/2023 Oh good, I don't have to make this extension for myself. Thank you and 1M points to you.