[ Documentation ]
peach test

peach test

Detect a Maestro flow or a Detox suite from its path or configuration, then run it with the existing interpreter. Add —cloud to submit the prebuilt bundle and test files to the hosted executor. Maestro flow selection and Jest suite settings remain owned by the customer files.

terminal
peach test <flow-or-suite> --app <bundle>
peach test <flow-or-suite> --app <bundle> --cloud

Options

flagdescription
--app <bundle>bundle, dev-server target, or shell URL to run
--cloudsubmit the bundle and suite to the hosted executor
--origin <url>use a specific Contrast API origin
--poll-interval <ms>set the hosted result polling interval
--timeout <ms>bound the hosted result wait

Examples

terminal
peach test .maestro/login.yaml --app http://localhost:8081
peach test e2e/login.test.ts --app http://localhost:8081
peach test .maestro/login.yaml --app ./dist/main.js --cloud