How we tested browser-e2e-testing
Measured: a benefit was seen but not confirmed. Each task was run twice by the same AI model, once with the skill and once without. A second model graded both outputs without knowing which was which.
The setup
- Date
- 2026-11-22
- Procedure
- measured-v2; 6 tasks (6 held out: written before the skill was tuned), 1 run per side
- Executor
- claude-haiku-5-5
- Blind grader
- claude-sonnet-5-5, with claude-opus-5-5 as a second grader
- Result
- Pass rate 90% with the skill, 80% without; difference +9.0 points (95% interval -10.4 to +28.5, clustered by task). Assertions passed: 35 of 39 with, 32 of 39 without. Efficacy earned 10.3 of 35 points in the Platform Score.
How the verdict is decided is in the method. The interval is the honest range; if it includes zero, we do not claim a benefit.
Run table
| Task | With skill | Without | Blind grader |
|---|---|---|---|
| v2-t1-flaky-checkout (held out) | 6/7 | 5/7 | tie (order-inconsistent)ReasonY removes every positional selector and uses role/label/test-id locators with explicit assumption notes, whereas X keeps the nth-child chains that are a flakiness source. Y merges the history test into the checkout journey (2 tests instead of 3), but all three flows are still covered and the choice is explained. |
| v2-t2-audit-specs (held out) | 6/7 | 7/7 | preferred no skillReasonBoth find every planted defect with correct line numbers and no false positives; Y uses the Critical/High/Medium/Low grouping the request implies and is cleaner to paste. X is more exhaustive (hardcoded coupon, logout never logs in, test.skip) but its Error/Warning/Info scheme and references to a skill and script make it less paste-ready. |
| v2-t3-ci-only-failures (held out) | 6/7 | 5/7 | tie (order-inconsistent)ReasonY raises the expect timeout that produced the logged 5000ms failures, keeps 2 workers, and flags real caveats (ESM __dirname, missing webServer, testDir). X is solid and explicitly diagnoses the 10 s timeout, but leaves the 5 s expect timeout untouched. |
| v2-t4-todo-app-tests (held out) | 7/7 | 7/7 | preferred the skillReasonBoth pass every assertion, but Y adds uncheck coverage, a regex counter locator, random unique titles that survive a server-side store, and a BASE_URL override for CI. Y's reply is also more explicit about what was not run and about the server-side state assumption, though it is a bit more process-heavy. |
| v2-t5-slugify-unit-test (held out) | 6/6 | 6/6 | tieReasonThe two test files are nearly identical in structure, coverage and size, and both replies honestly say the tests were not run. X adds a useful note about leaving out non-ASCII input, while Y notes there is no package.json; neither difference is material. |
| v2-t6-flaky-tests-unspecified (held out) | 4/5 | 2/5 | preferred the skillReasonY states the missing inputs (test files, config, CI output, runner details) and offers a triage list framed as things to check, without diagnosing the user's suite. X is honest but offers only a refusal-style note with no triage guidance and no real request for framework or failure context. |
Known weaknesses of these tasks
Noted by the reviewer who checked the tasks and rubric.
- v2-t1-flaky-checkout: Assertion 4 (>= 3 tests) penalises a legitimate design (merging a dependent sequence into one journey test); it checks form rather than stability.
- v2-t1-flaky-checkout: Assertion 5 (>= 2 getBy* matches) is a count proxy; it says nothing about locator quality, and X fails it only because it kept the original selectors.
- v2-t1-flaky-checkout: No assertion checks that the order-history row lookup no longer relies on row position, or that the cart-count assertion works with a non-empty cart.
- v2-t1-flaky-checkout: No assertion checks that the reply admits invented test-id names; only the second judge item covers it.
- v2-t2-audit-specs: Assertion 6 hard-codes the severity vocabulary (critical/high/medium/low); a valid Error/Warning/Info grouping fails despite being grouped by severity.
- v2-t2-audit-specs: Assertions 1-3 and 5 are regex citations any audit listing the line numbers passes; they do not check the explanation is right.
- v2-t2-audit-specs: Assertion 4 uses a 300-char proximity window that can pass by accident next to other 'no assertion' text.
- v2-t2-audit-specs: No assertion rewards real extra findings (test.skip silent skip, hardcoded credentials, weak toContainText('$')).
- v2-t2-audit-specs: The false-positive judge is vague on whether flagging .first() or an unanchored toHaveURL is a false positive.
- v2-t3-ci-only-failures: The retries/timeout regex accepts only literal 'process.env.CI' or a digit, so the common 'isCI ? 1 : 0' pattern and numeric separators like 30_000 fail; both sides fail on form, not substance.
- v2-t3-ci-only-failures: Assertion 5 bundles two checks, so one regex miss fails the whole item.
- v2-t3-ci-only-failures: No assertion checks the fixture path fix is correct (X uses '..','fixtures' from __dirname, Y uses __dirname/fixtures; they cannot both be right).
- v2-t3-ci-only-failures: No assertion checks the 5000ms expect timeout visible in the log is addressed, or that forbidOnly/webServer risks are noted.
- v2-t3-ci-only-failures: The judge item requires all three of sleeps, workers and 10s timeout; being strict on the third penalised Y though it raised timeouts.
- v2-t4-todo-app-tests: All six script assertions are passed trivially by both sides; they do not distinguish quality (e.g. beforeEach+goto is the default Playwright pattern).
- v2-t4-todo-app-tests: The filter/counter assertion only checks that the words 'Active', 'Completed', 'left' appear, not that the behavior is actually asserted.
- v2-t4-todo-app-tests: The judge assertion cannot verify the assumed app markup (listitem, singular 'item left'), which is a real flake source and is undecidable from the task text.
- v2-t4-todo-app-tests: No assertion checks robustness of locators against unspecified markup, unique data when state is server-side, or use of web-first assertions vs manual waits, or that tests do not assert exact counter text before the item renders.
- v2-t4-todo-app-tests: No assertion checks that the reply recommends playwright.config settings (retries, workers, trace) for CI solidity.
- v2-t5-slugify-unit-test: All script assertions are passed trivially by both sides; a task this small does not discriminate.
- v2-t5-slugify-unit-test: The 'browser' word ban could false-fail a harmless mention; it only checks the test file, not the reply, so reply-side e2e recommendations rely on the judge.
- v2-t5-slugify-unit-test: No assertion checks that expected values are correct per the spec, or that edge cases (empty input, nothing alphanumeric, digits) are covered.
- v2-t5-slugify-unit-test: The judge assertion cannot detect whether the reply is 'short' by any threshold; it is subjective.
- v2-t5-slugify-unit-test: No assertion checks that the agent did not fabricate or create src/slugify.ts.
- v2-t6-flaky-tests-unspecified: The '?' requirement fails both sides although both reply with clear requests in statement form; it is a surface-form check that penalises a valid style and does not measure whether the user is asked for inputs.
- v2-t6-flaky-tests-unspecified: The keyword-group assertion is gameable by mentioning terms without asking anything; the judge assertions carry the real signal.
- v2-t6-flaky-tests-unspecified: The no-code-fence and forbidden-phrase assertions are passed trivially by both sides.
- v2-t6-flaky-tests-unspecified: Nothing checks that the reply is concise or that it avoids dumping skill-internal process boilerplate (Runs / Proven to fail / Audit sections) on the user.
- v2-t6-flaky-tests-unspecified: Whether a reply should ask questions versus state needed inputs, and whether 'local vs CI' must be asked explicitly, cannot be decided from the task text; the judge criterion lists four inputs but none is checked individually.
What this cannot tell you
- Both models are AI models from one family. No human graded the outputs.
- 6 tasks is a small sample; the interval above shows how much to trust the difference.
- It was not independently reproduced.
Download the run records (JSON) · Back to browser-e2e-testing