smoke-tests
Skill by woocommerce
Prepares a local Android environment for the Maestro smoke-test suite and hands over the lab-store CLI command. It is built for developers on the WooCommerce Android app who run these tests.
Install smoke-tests
Built from the published package, never by AI.
git clone --depth 1 https://github.com/woocommerce/woocommerce-android /tmp/woocommerce-android && mkdir -p ~/.claude/skills && cp -r /tmp/woocommerce-android/.agents/skills/smoke-tests ~/.claude/skills/smoke-testsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/woocommerce/woocommerce-android /tmp/woocommerce-android && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/woocommerce-android/.agents/skills/smoke-tests ~/.gemini/antigravity-cli/skills/smoke-testsAntigravity 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 up the local environment for the Maestro smoke-test suite in the WooCommerce repository. It checks the pinned Maestro 2.9.0 and Java 21 toolchain, confirms adb is available, and makes sure an emulator is running. It can also offer a local release build instead of the latest GitHub release.
The skill validates the .maestro/.env.local file by variable name only, using lint-env.py and the doctor script, so values are never printed. Once the checks pass, it prints the exact run-smoke-tests.sh command. If the user asks, it runs the script and reports the result, with the HTML report path. The test runner itself handles ordering, recordings, reports and cleanup. The skill is for WooCommerce Android developers who run the Maestro smoke tests.
Written from the project's SKILL.md and checked against it.
What it can do
- Toolchain setupInstalls the pinned Maestro 2.9.0 and selects Java 21 using configure-toolchain.sh.
- Emulator checkLists AVDs, boots one when asked, and waits for the emulator to finish booting.
- Build selectionRuns the runner with the latest stable release, or with a local vanilla release APK build.
- .env.local validationChecks variable names with lint-env.py and the doctor without printing secret values.
- CLI handoffPrints the exact run-smoke-tests.sh command and explains profiles, stores and artifact locations.
- Test run on requestInvokes the runner script when the user asks and summarizes the final report and failed flows.
What you need
- Maestro 2.9.0 (installed by the setup script)
- Java 21
- Android SDK platform-tools (adb)
- An Android emulator or AVD, created in Android Studio
- A filled .maestro/.env.local file with the required variables
Try asking
- Check my environment for the Maestro smoke tests and tell me what is missing.
- Prepare the smoke tests for the full profile on my emulator.
- Run the smoke tests now against my phone emulator and summarize the report.
Good to know
- Runs one flow at a time; the script does not run tests in parallel.
- Local builds must be vanilla release; debug and wasabi builds are rejected.
- The runner refuses destructive flows on the shared store.
- The HTML report auto-opens only on macOS; elsewhere it is opened manually from the printed path.
Security check
B- Allowed to use Bash, Edit, Write without limitsIn
SKILL.md
Checked automatically: .agents/skills/smoke-tests/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: BashReadEditWriteGrepGlobAskUserQuestion
Alternatives to smoke-tests
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
smoke-tests: common questions
Does this skill store my store credentials?
The source says .env.local is git-ignored and must never be committed or pasted into chat. The skill reads it only through variable-name checks and does not echo secret values.
Where are the test artifacts saved?
By default they are written outside the repo under $HOME/woocommerce-maestro-output/<timestamp>/. The --output-dir flag or WOO_MAESTRO_OUTPUT_DIR can override this.
Which flows run without the full profile?
Without --profile, the runner runs smoke_core only and excludes the quarantine tag. The full profile runs every flow except the quarantined ones.
How do I install smoke-tests?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is smoke-tests free?
The code is published under the GPL-2.0 licence. The service it connects to may have its own pricing.
Is smoke-tests safe to use?
It scores 70 of 100. Grades: maintenance A, licence C, quality B. Security check: grade B (allowed to use bash, edit, write without limits). Review the code before you install. How grades work.
What are alternatives to smoke-tests?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
