Test Baseline Review
Learn how to review, approve, and reject AI-generated test cases to build a verified test baseline for your regression suite.
Test Baseline Review
When AI generates test cases, each test starts with a pending review status. The Test Baseline system lets you review, approve, or reject AI-generated tests before they become part of your regression suite. This ensures your test baseline only contains verified, meaningful tests.
Every AI-generated test includes an intent field ā a plain-language description of what the test verifies (e.g., "Verify that submitting the contact form with valid data shows a success message"). This helps you quickly understand each test without reading individual steps.
Review Statuses
Each test case has one of three review statuses:
| Status | Meaning |
|---|---|
| Pending | AI-generated test awaiting human review |
| Approved | Test has been reviewed and accepted into the baseline |
| Rejected | Test has been reviewed and excluded from the baseline |
Reviewing Individual Tests
-
1
Open a Test Suite
Navigate to your project and open any test suite. Click on a test case to expand it.
-
2
Read the Intent
Each test displays an intent description at the top explaining what the test verifies. Use this to quickly understand the purpose without reading every step.
-
3
Review the Steps
Confirm the test steps match the intended behavior. Check that selectors target the correct elements and assertions verify the right outcomes.
-
4
Approve or Reject
Click Approve to add the test to your baseline, or Reject to exclude it. The reviewer's identity and timestamp are recorded for audit purposes.
Bulk Review
Review multiple test cases at once to speed up baseline setup after AI generates a full suite.
- Open a test suite
- Select multiple test cases using the checkboxes
- Click Bulk Approve or Bulk Reject
Tip: After AI generates a suite, quickly skim the intents and bulk-approve all tests that look correct, then individually review any that need closer inspection.
Review Summary
The suite overview displays a review summary showing how many tests are approved, rejected, and pending. This gives you a quick view of your baseline coverage.
| Metric | Description |
|---|---|
| Approved | Tests verified and part of the active baseline |
| Rejected | Tests excluded from the baseline |
| Pending | Tests still awaiting review |
| Total | Total test cases in the suite |
API Reference
Set Review Status (Single Test)
PUT /api/v1/cases/{caseId}/review
{
"reviewStatus": "approved"
}
Valid values: approved, rejected, pending.
Bulk Review
POST /api/v1/suites/{suiteId}/cases/bulk-review
{
"caseIds": ["uuid-1", "uuid-2", "uuid-3"],
"reviewStatus": "approved"
}
Review Summary
GET /api/v1/suites/{suiteId}/review-summary
Returns:
{
"approved_count": 12,
"rejected_count": 2,
"pending_count": 6,
"total_count": 20
}