CLI reference

The CLI is run with npx aitp. It runs tests locally in Chromium by default, or in hosted browsers with --cloud.

Commands

CommandWhat it does
npx aitp initCreates aitp.config.yaml and tests/.
npx aitp runRuns all tests locally in Chromium.
npx aitp run tests/checkout.test.yamlRuns one spec file.
npx aitp run --tag smoke --cloudRuns tests tagged smoke in hosted browsers.
npx aitp run --cloud --region euRuns in hosted browsers in the EU region.
npx aitp heal --reviewLists healed steps since the last run for approval.
npx aitp report --lastOpens the last run report.

In this section