CLI reference
The CLI is run with npx aitp. It runs tests locally in Chromium by default, or in hosted browsers with --cloud.
Commands
| Command | What it does |
|---|---|
npx aitp init | Creates aitp.config.yaml and tests/. |
npx aitp run | Runs all tests locally in Chromium. |
npx aitp run tests/checkout.test.yaml | Runs one spec file. |
npx aitp run --tag smoke --cloud | Runs tests tagged smoke in hosted browsers. |
npx aitp run --cloud --region eu | Runs in hosted browsers in the EU region. |
npx aitp heal --review | Lists healed steps since the last run for approval. |
npx aitp report --last | Opens the last run report. |