> ## Documentation Index
> Fetch the complete documentation index at: https://docs.testdino.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AI in TestDino for Playwright Testing

> TestDino classifies Playwright failures by category, groups related errors across a run, and exposes test data to AI agents over MCP.

TestDino uses AI on your test run data to classify failures and recommend fixes. Connect your own assistants through MCP when you want the same data in chat.

## Quick Reference

| Feature                | Where                               | Page                                                                 |
| :--------------------- | :---------------------------------- | :------------------------------------------------------------------- |
| Failure classification | Test runs, test cases, dashboard    | [AI Failure Analysis](/platform/playwright-ai-failure-analysis)      |
| Per-test analysis      | Test case AI Insights               | [Test Case AI Insights](/platform/playwright-test-cases/ai-insights) |
| Error grouping         | Test runs, analytics                | [Error Grouping](/guides/playwright-error-grouping)                  |
| Test Audit             | Project AI                          | [AI Test Audit](/platform/playwright-ai-test-audit)                  |
| MCP                    | Claude, Cursor, ChatGPT             | [MCP Overview](/mcp/overview)                                        |
| Agent setup            | Docs + prompts                      | [AI Onboarding](/ai-onboarding)                                      |
| Test generation        | Recorder, step editor, AI authoring | [Test Generation](/test-generation/overview)                         |
| Playwright skill       | Coding agents                       | [Playwright Skill](/ai/playwright-skill)                             |

<Note>
  AI features are on by default. Toggle them in [Project Settings → AI Features](/platform/project-settings#ai-features). Changes apply from the next test run. Providers do not train on customer content: [AI data handling](/security/overview#certifications).
</Note>

## Failure classification

Every failed test gets a category and confidence score.

<img src="https://tdstorageus.blob.core.windows.net/public/docs/ai-and-automation/overview/ai-kpi-tiles.webp" alt="AI failure categorization KPI tiles showing error variants and categories" />

| Category      | Meaning                                               |
| :------------ | :---------------------------------------------------- |
| Actual Bug    | Consistent failure that points to a product defect    |
| UI Change     | Selector or DOM change broke a test step              |
| Unstable Test | Intermittent failure that passes on retry             |
| Miscellaneous | Setup, data, or CI issue outside the categories above |

Classification shows on [Test run AI Insights](/platform/playwright-test-runs/ai-insights) and [Test case AI Insights](/platform/playwright-test-cases/ai-insights). Correct a misclassification from the feedback form on a test case.

## Per-test analysis

Each failing test case gets a category, a confidence score, and fix recommendations drawn from its execution history.

<img src="https://tdstorageus.blob.core.windows.net/public/docs/ai-and-automation/overview/ai-insights.webp" alt="AI Insights panel showing failure category, confidence score, recommendations, and quick fixes" />

Treat AI recommendations as guidance. Validate before you change product or test code. Learn more in [Test Case AI Insights](/platform/playwright-test-cases/ai-insights).

## Error grouping

AI groups similar errors by message, stack trace, and failure location (assertion, timeout, element not found, network, JavaScript, browser).

<video controls loop preload="metadata" aria-label="AI insights error analysis table with filtering by variant, category, and pattern" src="https://tdstorageus.blob.core.windows.net/public/docs/ai-and-automation/overview/ai-insight.mp4" />

Selecting a KPI tile filters the error analysis table. Learn more about clustering in [Error Grouping](/guides/playwright-error-grouping).

## MCP and docs for agents

| Path                                                                                                      | Use when                                                               |
| :-------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------- |
| [MCP Overview](/mcp/overview)                                                                             | The assistant needs live runs, failures, and flaky tests               |
| [OpenClaw](/integrations/communication/openclaw)                                                          | You want the same MCP tools from Slack, Telegram, Discord, or WhatsApp |
| [llms.txt](https://docs.testdino.com/llms.txt) / [llms-full.txt](https://docs.testdino.com/llms-full.txt) | The assistant needs docs context only                                  |
| [AI Onboarding](/ai-onboarding)                                                                           | You want the full agent setup path and starter prompt                  |

<CardGroup cols={2}>
  <Card title="AI Onboarding" icon="robot" href="/ai-onboarding">
    Connect an agent with MCP, CLI, or docs
  </Card>

  <Card title="AI Failure Analysis" icon="brain" href="/platform/playwright-ai-failure-analysis">
    Cross-run classification and patterns
  </Card>

  <Card title="TestDino MCP" icon="plug" href="/mcp/overview">
    Query live test data from an assistant
  </Card>

  <Card title="AI Test Audit" icon="clipboard-check" href="/platform/playwright-ai-test-audit">
    Audit suite quality and coverage gaps
  </Card>
</CardGroup>
