Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guidance on selecting the appropriate test suite (Unit, API, or E2E tests) when writing new tests in Chrome DevTools. MUST be used when writing new tests.
.claude/skills/chromedevtools-devtools-testing-guidance/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | -51% | 0% |
| case-01 | ✗→✓ | ▲ Improved | -22% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -18% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -33% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -44% | 0% |
This guide outlines when and how to select the appropriate test suite when writing new tests in Chrome DevTools.
> !NOTE] > This skill provides guidance on which test suite to choose when writing tests. To learn how to run tests, build targets, or execute linters, refer to the devtools-verification skill.
Default choice: The vast majority of tests in DevTools should be unit tests.
Use unit tests for isolated testing of individual functions, classes, models, helpers, and UI components.
TestUniverse (and foundation test helpers) for easy, isolated setup of required dependencies and models.TimelinePanel.ts and TimelinePanel.test.ts).devtools_ui_module("unittests") or devtools_foundation_module("foundation_unittests") target in the corresponding BUILD.gn file.Use API tests for integration tests that verify business logic requiring more complex setups or extensive CDP (Chrome DevTools Protocol) traffic, without needing the full DevTools frontend UI.
Runtime.evaluate).front_end/ with .test.api.ts extension (e.g. Universe.test.api.ts).devtools_api_test_module("api_tests") target in the corresponding BUILD.gn file.Use E2E tests to verify real end-to-end user stories and user journeys.
test/e2e/ (e.g. test/e2e/console/console-log.test.ts).ts_e2e_library(ts_e2e_library) target in the corresponding BUILD.gn file. And node_ts_library in test/e2e/BUILD.gn for its dependencies.| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-21 | pass→pass | 8,164 | 2,500 | -69% | 1 | 1 | 0% | 1,479 | 1,210 | -18% | 0 | 0 | — |
case-02 | fail→pass | 16,050 | 4,083 | -75% | 1 | 1 | 0% | 3,170 | 1,545 | -51% | 0 | 0 | — |
case-01 | fail→pass | 9,691 | 3,335 | -66% | 1 | 1 | 0% | 1,844 | 1,433 | -22% | 0 | 0 | — |
case-03 | fail→pass | 9,759 | 3,861 | -60% | 1 | 1 | 0% | 1,894 | 1,549 | -18% | 0 | 0 | — |
case-04 | fail→fail | 7,215 | 3,911 | -46% | 1 | 1 | 0% | 1,354 | 1,366 | +1% | 0 | 0 | — |
case-05 | fail→fail | 4,909 | 3,778 | -23% | 1 | 1 | 0% | 934 | 1,219 | +31% | 0 | 0 | — |
case-06 | fail→fail | 6,422 | 3,630 | -43% | 1 | 1 | 0% | 1,232 | 1,341 | +9% | 0 | 0 | — |
case-07 | fail→pass | 12,163 | 3,867 | -68% | 1 | 1 | 0% | 2,089 | 1,407 | -33% | 0 | 0 | — |
case-08 | fail→pass | 12,456 | 3,598 | -71% | 1 | 1 | 0% | 2,402 | 1,344 | -44% | 0 | 0 | — |
case-09 | fail→pass | 9,323 | 1,603 | -83% | 1 | 1 | 0% | 1,781 | 952 | -47% | 0 | 0 | — |
case-10 | fail→pass | 11,233 | 3,127 | -72% | 1 | 1 | 0% | 2,017 | 1,303 | -35% | 0 | 0 | — |
case-11 | pass→pass | 11,429 | 2,564 | -78% | 1 | 1 | 0% | 2,070 | 1,150 | -44% | 0 | 0 | — |
case-16 | fail→pass | 10,274 | 1,487 | -86% | 1 | 1 | 0% | 2,229 | 930 | -58% | 0 | 0 | — |
case-12 | pass→pass | 10,888 | 3,125 | -71% | 1 | 1 | 0% | 2,175 | 1,270 | -42% | 0 | 0 | — |
case-13 | pass→pass | 6,948 | 3,059 | -56% | 1 | 1 | 0% | 1,202 | 1,216 | +1% | 0 | 0 | — |
case-14 | pass→pass | 6,436 | 1,960 | -70% | 1 | 1 | 0% | 1,227 | 1,088 | -11% | 0 | 0 | — |
case-15 | pass→pass | 6,046 | 3,433 | -43% | 1 | 1 | 0% | 1,145 | 1,229 | +7% | 0 | 0 | — |
case-17 | fail→pass | 8,845 | 2,913 | -67% | 1 | 1 | 0% | 1,880 | 1,300 | -31% | 0 | 0 | — |
case-18 | fail→pass | 12,229 | 1,766 | -86% | 1 | 1 | 0% | 2,441 | 1,021 | -58% | 0 | 0 | — |
case-19 | fail→pass | 7,505 | 2,178 | -71% | 1 | 1 | 0% | 1,463 | 1,110 | -24% | 0 | 0 | — |
case-20 | pass→pass | 12,473 | 3,077 | -75% | 1 | 1 | 0% | 1,983 | 1,241 | -37% | 0 | 0 | — |
case-22 | pass→pass | 11,473 | 2,338 | -80% | 1 | 1 | 0% | 2,415 | 1,111 | -54% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +50 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.