If a test or feature is flaky or unstable, you can quarantine it to prevent it from failing pipelines. This allows pipelines to continue running without being affected. Once a test is quarantined, it will be skipped in all environments, and across all branches, until it is unquarantined.

How to quarantine a test

CLI

You can quarantine and unquarantine tests using the quarantine command in the Momentic CLI.
npx momentic quarantine add <test> --reason <reason>

Cloud

Select Quarantine on the left sidebar, and click the Quarantine test button in the top right corner.
To unquarantine a test, navigate to the same page, hover over the test to unquarantine, and select the Unquarantine option in the dropdown menu.
You can also quarantine a test directly from the run viewer, by clicking on the Quarantine test button in the top right corner of the page.