As agents take on more of your testing work, you need to be able to trust the changes they make. Two new features help:
- Test objectives - make sure edited tests still check what they're meant to. Write down what a browser test exists to verify, and mabl can check each version's steps against it.
- Agent guardrails - keep you in control of what agents do. Workspace owners decide which actions the mabl agent and connected AI tools can take on their own, which need a person's approval, and which they can't take at all.
Test objectives
A passing test isn't necessarily the right test. As tests change, whether a teammate or an agent edits them, they can drift from what you set out to validate. A test objective is a sentence or two describing that outcome, such as "A returning customer can check out with a saved card and sees the order confirmation."
When you ask the mabl agent to build a test, it drafts an objective with you and asks you to approve the wording before it starts. If you start the agent from your AI coding agent through the mabl MCP, pass an objective with the request, and the agent works to it from the start.
Once a test has an objective, mabl uses it whenever the test changes or fails:
- When the mabl agent edits a test, it checks its steps against the objective before it finishes, and tells you what's missing if they fall short.
- When a teammate edits a test, you can run a check from the test details page or in quick edit. After a quick edit save, mabl offers to check the new version.
- Before you merge a branch, the branch details page shows whether each test's objective changed and what the latest check found.
- When a test fails, results analysis uses the objective to tell a failure in what the test exists to verify from one in an incidental step.
Agent guardrails
Agents can take more and more actions on your behalf. With guardrails, your team can set boundaries on those actions. For example, you might want a person to approve before an agent deletes a test or merges a branch over a teammate's work. Or you may want to block coding agents from running plans.
Each action on the Agents > Guardrails page has one setting for the mabl agent and one for Connected AI tools:
| Setting | What the agent does |
|---|---|
| Allow | Takes the action on its own |
| Ask first | Pauses and sends an approval request |
| Block | Can't take the action |
You can approve or decline a request from the agent's conversation, from the Agents > Approvals page, or from the link a connected AI tool shares with you. An approval covers only the request you reviewed, and agents can't approve their own requests.
Default guardrails
Every workspace starts with guardrails turned on. By default, agents ask before they delete test configuration or change a test's objective.
Learn more
For more information on setting up test objectives and guardrails in your workspace, check out the following resources:
- Test objectives:
- Agent guardrails: