Skip to content

Add public docs for QA Wolf's local execution CLI#140

Open
Simon Ingeson (smonn) wants to merge 5 commits into
mainfrom
local-execution-cli
Open

Add public docs for QA Wolf's local execution CLI#140
Simon Ingeson (smonn) wants to merge 5 commits into
mainfrom
local-execution-cli

Conversation

@smonn
Copy link
Copy Markdown

@smonn Simon Ingeson (smonn) commented May 26, 2026

Add public docs for the new local execution CLI.

@smonn Simon Ingeson (smonn) changed the title docs: add public docs for the qawolf CLI Add public docs for QA Wolf's local execution CLI May 26, 2026
@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented May 26, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
qawolf 🟢 Ready View Preview May 26, 2026, 8:42 PM

Adds a Libraries > @qawolf/cli reference subsection (commands,
configuration, environment variables, exit codes, troubleshooting)
and an Integrations > Local execution group with task-oriented pages
for authenticating, running flows, pulling, installing dependencies,
scaffolding a local-only project, and diagnosing problems.

Refs WIZ-10629.
Match the precision used in the CLI README review: pulls happen only
when the local .qawolf/<env>/ cache is missing the flows, and a fresh
pull is opt-in via qawolf flows pull --env <env>.
- Parallel workers are now supported for web flows; Android still requires --workers 1
- Document the new --junit [path] flag and how it composites with console/JSON/agent output
- Add a precompiled binary install path alongside npm
- Rewrite the stale "workers capped at 1" troubleshooting entry to cover the Android constraint
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new public documentation section for QA Wolf’s local execution CLI, covering authentication, pulling and running flows locally, runtime dependency installation, project scaffolding, diagnostics, and a stable CLI API reference with troubleshooting.

Changes:

  • Added a “Local execution” docs section with end-to-end guides for running/pulling flows, installing dependencies, and diagnosing issues.
  • Added a CLI “API Reference” (commands, configuration, environment variables, exit codes) plus a troubleshooting page.
  • Updated docs.json navigation to surface the new CLI and local execution documentation.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
qawolf/local-execution/set-up-a-project.mdx New guide for scaffolding a local-only flows project via qawolf init.
qawolf/local-execution/run-flows-locally.mdx New guide for running cached/pulled environment flows locally, with common flags and behaviors.
qawolf/local-execution/pull-flows.mdx New guide for pulling environment flows into a local cache without running them.
qawolf/local-execution/install-dependencies.mdx New guide for explicitly installing Playwright/Android runtime dependencies.
qawolf/local-execution/diagnose-problems.mdx New guide for qawolf doctor and log locations.
qawolf/local-execution/authenticate.mdx New guide for installing the CLI and authenticating locally/CI.
qawolf/libraries/cli/troubleshooting.mdx New CLI troubleshooting reference for common failure cases.
qawolf/libraries/cli/api-reference/index.mdx New landing page for CLI API reference, globals, and exit codes.
qawolf/libraries/cli/api-reference/environment-variables.mdx New reference for CLI environment variables and CI/agent detection.
qawolf/libraries/cli/api-reference/configuration.mdx New reference for qawolf.config.ts fields and generated layout.
qawolf/libraries/cli/api-reference/commands.mdx New command-by-command reference for auth, flows, install, init, and doctor.
docs.json Adds navigation entries for the new CLI docs and local execution guides.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


<Steps>
<Step>
Find the environment's ID in your QA Wolf workspace under **Workspace settings → Environments**.

<Steps>
<Step>
Find the environment's ID in your QA Wolf workspace under **Workspace settings → Environments**.
- `--har-content <mode>` — `omit` or `full`. `full` includes response bodies and uses more memory. Default: `omit`.
- `--output-dir <path>` — directory for artifacts. Default: `qawolf-output`.
- `--headed` — show the browser window instead of running headless. Default: `false`.
- `--env <env>` — environment ID. When set, missing flows are pulled before the run.

## Capture artifacts on failure

By default, no video or trace is recorded. To keep artifacts only when a flow fails, set the mode to `retain-on-failure`:
qawolf flows run --env staging --video retain-on-failure --trace retain-on-failure
```

Artifacts land in `qawolf-output/` (or the directory set by `--output-dir`).
@michael-pr
Copy link
Copy Markdown

On my list to review in more details. Just wanted to note that we're aiming to make everything public by the end of next week (12th). So we will get these docs in after that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants