> ## 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.

# Playwright Test Run AI Insights

> AI-powered failure categorization, error variants, and patterns per run.

export const VideoSchema = ({name, description, thumbnailUrl, uploadDate, duration, contentUrl, embedUrl}) => {
  const schema = {
    "@context": "https://schema.org",
    "@type": "VideoObject",
    name,
    description,
    thumbnailUrl,
    uploadDate,
    ...duration ? {
      duration
    } : {},
    ...contentUrl ? {
      contentUrl
    } : {},
    ...embedUrl ? {
      embedUrl
    } : {},
    publisher: {
      "@type": "Organization",
      name: "TestDino",
      logo: {
        "@type": "ImageObject",
        url: "https://docs.testdino.com/logo/light.svg"
      }
    }
  };
  return <script type="application/ld+json" dangerouslySetInnerHTML={{
    __html: JSON.stringify(schema)
  }} />;
};

<VideoSchema name="Playwright Test Run AI Insights in TestDino" description="How TestDino AI categorizes Playwright run failures into error variants, categories, and patterns, and how to filter the error analysis table." thumbnailUrl="https://testdinostr.blob.core.windows.net/docs/posters/docs__test-runs__ai-insight.jpg" uploadDate="2026-05-25T00:00:00+00:00" contentUrl="https://testdinostr.blob.core.windows.net/docs/docs/test-runs/ai-insight.mp4" embedUrl="https://docs.testdino.com/platform/playwright-test-runs/ai-insights" />

<Callout icon="book-open" color="#3B82F6">
  **What you'll learn**

  * How AI categorizes failures (Actual Bug, UI Change, Unstable, Miscellaneous)
  * What error variants and failure patterns reveal
  * How to filter the error analysis table by variant, category, and pattern
</Callout>

The AI Insights tab analyzes a test run and summarizes failures. It groups similar errors, assigns a category to failures, and highlights patterns across recent executions.

<img src="https://testdinostr.blob.core.windows.net/docs/docs/test-runs/ai-kpi-tiles.webp" alt="AI Insights KPI tiles showing error variants, failure categorization, and failure patterns" />

## KPI Tiles

### Error Variants

Shows distinct error signatures and how many tests match each variant, for example, timeout, element not found, network error, or timing-related.

Use this to identify the most common failure shape in the run.

### AI Failure Categorization

Shows how failures are classified into:

* Actual bug
* UI change
* Unstable Test
* Miscellaneous

Each label includes a confidence score.

Use this to separate likely product issues from unstable tests.

### Failure Patterns

Highlights how failing tests behave across recent executions:

* **New Failures:** Tests that started failing within the selected window.
* **Regressions:** Tests that passed recently but now fail again.
* **Consistent Failures:** Tests failing across most or all recent runs.

Use this to decide what to investigate first.

## Error Analysis

<video controls loop preload="metadata" aria-label="AI insights error analysis table with filtering by variant, category, and pattern" poster="https://testdinostr.blob.core.windows.net/docs/posters/docs__test-runs__ai-insight.jpg" src="https://testdinostr.blob.core.windows.net/docs/docs/test-runs/ai-insight.mp4" />

This table lists failing tests with:

* Test case
* Failure category
* Error text
* Error variant
* Duration

Use the duration filter to scope by runtime, for example, fast or medium, when investigating clusters.

### Filtering

Selecting any tile (variant, category, or pattern) adds an active filter chip and scopes the table to matching tests.

Combine one **Error Variant** with one **AI Category** to get a focused slice, for example, **Actual Bug** + **Timeout**.

## Related

<CardGroup cols={3}>
  <Card title="Summary" icon="chart-pie" href="/platform/test-runs/playwright-failure-summary">
    Group failures by cause
  </Card>

  <Card title="Specs" icon="file-lines" href="/platform/playwright-test-runs/specs">
    Review results by spec file
  </Card>

  <Card title="Errors" icon="triangle-exclamation" href="/platform/playwright-test-runs/errors">
    Group failures by error message
  </Card>

  <Card title="History" icon="clock-rotate-left" href="/platform/playwright-test-run-history">
    Spot regressions and drift
  </Card>

  <Card title="Configuration" icon="sliders" href="/platform/playwright-test-runs/configuration">
    Debug environment differences
  </Card>

  <Card title="Test Cases" icon="flask" href="/platform/playwright-test-cases">
    Individual test analysis
  </Card>
</CardGroup>
