reenable-test
Skill by chromium
Guides an AI assistant through investigating, fixing, and re-enabling disabled or flaky Chromium tests in C++, Android Java, or WebUI. It is for Chromium contributors. It does not cover disabling a failing test, which the disable-test skill handles.
Install reenable-test
Built from the published package, never by AI.
git clone --depth 1 https://github.com/chromium/chromium /tmp/chromium && mkdir -p ~/.claude/skills && cp -r /tmp/chromium/agents/skills/reenable-test ~/.claude/skills/reenable-testRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/chromium/chromium /tmp/chromium && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/chromium/agents/skills/reenable-test ~/.gemini/antigravity-cli/skills/reenable-testAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill sets out a workflow for fixing disabled or flaky Chromium tests. It starts by finding why the test was disabled, using the disablement markers, git history, the tracking bug, and LUCI test history. It then reproduces the failure before changing code, using a red-green TDD approach. After the fix, it removes the disablement, runs repeated local stress tests, and runs formatting and presubmit checks.
The skill also covers writing the CL description, triggering cross-platform and sanitizer try jobs, and handing off for review. A separate post-submit step checks CI history after the change lands and posts results to the tracking bug. It is written for Chromium developers who work on test stability.
Written from the project's SKILL.md and checked against it.
What it can do
- Triage historyFinds the disablement markers, the commit that disabled the test, and the tracking bug.
- Red-green reproductionReproduces the failure locally with repeated runs before applying a fix.
- Root-cause fixApplies a fix and removes the test disablement and filter entries.
- Local stress verificationRuns the re-enabled test repeatedly and runs the full fixture to check for regressions.
- CL descriptionDrafts a CL description with reproduction status, root cause, verification, and bug reference.
- Try-job verificationUploads the CL and triggers trybots for the platforms and sanitizers where the test failed.
- Post-submit verificationQueries CI history after landing and posts pass counts and a LUCI Analysis link to the tracking bug.
What you need
- A Chromium source checkout with depot_tools
- A built output directory with gn and autoninja
- git and vpython3
- Access to LUCI test history and trybots
Try asking
- Deflake the test ChromeMediaTest.PlaybackStarts and re-enable it
- Investigate why this disabled Android Java test was turned off
- Write a CL description for my re-enabled test with verification details
Good to know
- Stops after the CL is uploaded and handed off for review and merge
- Post-submit steps run only after the CL has landed on main
- Retries a failing fix at most 3 times before escalating to the user
- Not for disabling a failing test without fixing it; use the disable-test skill
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: agents/skills/reenable-test/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
OWNERS20 B -
SKILL.md11 KB -
references/common_flakiness_patterns.md6 KB
Alternatives to reenable-test
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
reenable-test: common questions
Does this skill disable flaky tests?
No. The source says not to use it for disabling a failing test without fixing it, and points to the disable-test skill for that case.
What if the flaky test cannot be reproduced locally?
The source says to try the Universal Test Runner first, and to state in the CL description why local reproduction was not possible. It then suggests trybot validation.
Which test types does it support?
The source lists C++ (GTest), Android Java, and WebUI tests, including browser_tests and Robolectric or instrumentation tests.
How do I install reenable-test?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is reenable-test free?
The code is published under the BSD-3-Clause licence. The service it connects to may have its own pricing.
Is reenable-test safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to reenable-test?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
