Skip to main content
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

Test orchestration on Maestro

Learn how test orchestration strategies on App Automate control which Maestro flows run in a build and how they run.

As test suites scale, running every test on every build can slow down release cycles and create CI bottlenecks. To maintain fast and reliable delivery, it becomes essential to optimize what tests run and how without compromising confidence.

Test orchestration determines which flows run and defines how those flows are executed. For Maestro, you enable each strategy with parameters in the builds REST API.

Supported strategies

App Automate supports the following test orchestration strategies for Maestro flows:

Strategy Description
Auto rerun Immediately retries failed flows for a configurable number of attempts.
Fail fast Stops the execution of a test suite once a failure threshold is reached.
Run failures only Runs only the flows that failed in the previous build.

Learn how to combine different orchestration strategies.

Supported orchestration strategy combinations

You can combine different orchestration strategies to optimize your testing workflow for speed, stability, or efficiency. The following table highlights the most effective combinations for common workflows:

Combination Use case
Run failures only + Fail fast Use for rapid debugging to verify fixes for previous failures and stop the build if those critical flows still fail.
Auto rerun + Fail fast Automatically retries failed flows and aborts the build if failures persist beyond the configured threshold of allowable failures.

Auto rerun and fail fast can be combined with any other test orchestration strategy. Fail fast counts a flow as failed only after its automatic reruns are exhausted, and run failures only records the final outcome of each flow after any reruns.

The list of supported strategies is actively being expanded. If you have a requirement for a specific test orchestration feature that isn’t listed, we encourage you to submit a feature request by contacting BrowserStack support.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle