Skip to main content

Profiles and Presets

Profiles and presets allow you to run the same workflow across different environments without changing the workflow file.

Profiles

Profiles are named environment configurations in your replay.yaml. Activate a profile with --profile.

Definition

Usage

Use Case

Run the same smoke tests against every environment in your CI pipeline:

Presets

Presets are reusable configuration bundles that a workflow can opt into.

Definition

Activation in Workflow

Workflows activate presets via vars.presets:

Multiple Presets

Presets are merged in order — later presets override earlier ones.

Combining Profiles and Presets

You can use both together:
The merge order is: config default → profile → presets → workflow config.

What’s Next?