Debug Output
Command Failure Reason
If a command fails, failure reason will be shown in red at the end.


Screenshot On Failure
By default, a screenshot will be generated upon failure under the Maestro directory i.e for Mac it's ~/.maestro/tests/<datetime>/

Maestro Logs
Each flow run will generate:
A
maestro.log
file that contains Maestro related logsA
commands-*.json
file that contains command metadata
Located under the Maestro directory by default: ~/.maestro/tests/<datetime>/
.
You can also configure the default path for debug output by using the --debug-output <path>
option. Example usage:
maestro test --debug-output /path/to/debug/logs
Configurable Test Output Directory
You can configure where Maestro stores test artifacts (screenshots, logs, and AI reports) using either:
Command line option:
--test-output-dir
Workspace configuration:
testOutputDir
inconfig.yaml
maestro test workspace --test-output-dir=test_output_directory
Command line flag takes priority over workspace config, with fallback to default behavior.
For detailed configuration options, see the Test Output Directory documentation.
Last updated
Was this helpful?