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

# View Test Results

> Analyze test execution results with auto-healing, trace visualization, and flakiness detection

<Frame type="glass">
  <img src="https://mintcdn.com/stablyai/WSnPb8SMIsluP_7v/images/test-execution/test-run-view.png?fit=max&auto=format&n=WSnPb8SMIsluP_7v&q=85&s=8f9f010cca75a63420630b099160734e" alt="Test run view showing suite results" width="2568" height="1362" data-path="images/test-execution/test-run-view.png" />
</Frame>

To get a detailed, visual replay of your test execution and understand exactly what happened during each step,
Stably provides comprehensive analysis tools for understanding and improving your test suite's performance.

* **Playwright Trace**: View the standard Playwright trace viewer
* **Stably Trace**: Access Stably's enhanced execution viewer
* **Auto-heal Changes**: Compare original vs. AI-modified tests
* **Heatmap**: View flakiness patterns across test runs
* **Test History**: View historical test run data

### Playwright Trace Viewer

<Frame type="glass">
  <img src="https://mintcdn.com/stablyai/N2gl_yYzjw5V_xLo/images/test-results/test-results-playwright-traceview.png?fit=max&auto=format&n=N2gl_yYzjw5V_xLo&q=85&s=8ff479b3429fcc6a7205d35e3b6175a9" alt="Playwright Trace Viewer Interface" width="3404" height="1154" data-path="images/test-results/test-results-playwright-traceview.png" />
</Frame>

The **Playwright Trace Viewer** provides standard debugging capabilities with step-by-step action replay, screenshot comparisons, timeline visualization, and network activity monitoring. It offers comprehensive console logs and error highlighting to help identify test failures quickly.

### Stably Trace Viewer

<Frame type="glass">
  <img src="https://mintcdn.com/stablyai/N2gl_yYzjw5V_xLo/images/test-results/test-results-stably-traceview.png?fit=max&auto=format&n=N2gl_yYzjw5V_xLo&q=85&s=0f105f56c3a978ecec536859e967cc5a" alt="Stably Trace Viewer Interface" width="1710" height="1126" data-path="images/test-results/test-results-stably-traceview.png" />
</Frame>

The **Stably Trace Viewer** enhances the debugging experience with AI-powered insights, advanced error analysis, conditional logic visualization, and historical comparison features. It tracks healing attempts and provides action-level details for deeper test execution understanding.

<Info>
  Traces are stored securely in cloud storage and are accessible through the platform's trace viewer interface.
</Info>

## Diff View

The Diff View provides a powerful interface for reviewing and managing AI-suggested test modifications through intelligent auto-healing.

<Frame type="glass">
  <img src="https://mintcdn.com/stablyai/N2gl_yYzjw5V_xLo/images/test-results/test-results-diffview.png?fit=max&auto=format&n=N2gl_yYzjw5V_xLo&q=85&s=0a4e593ae8410ac030f5de0b3b15c792" alt="Diffview showing original vs modified test comparison" width="3360" height="1112" data-path="images/test-results/test-results-diffview.png" />
</Frame>

### Auto-Healing with Diff View

The Diff View displays AI-suggested test modifications when auto-healing detects outdated tests. For detailed information about how auto-healing works, see [AI Auto-heal](/platform-capabilities/ai-auto-heal).

**Diffview Benefits:**

* **Side-by-side comparison** of original vs. AI-modified test steps
* **Visual screenshot comparisons** to validate changes
* **Accept or edit options** - apply changes immediately or use the no-code editor for further refinement
* **Version control** - accepted changes become the new baseline for future test runs

You can configure auto-healing sensitivity levels in [AI Agents](/core-configuration/ai-agents) to control how aggressively the system suggests modifications to your tests.

## Heatmap View

The heatmap visualization provides a color-coded grid to quickly identify flaky and unreliable tests across your test suite.

<Frame type="glass">
  <img src="https://mintcdn.com/stablyai/N2gl_yYzjw5V_xLo/images/test-results/test-results-heatmap.png?fit=max&auto=format&n=N2gl_yYzjw5V_xLo&q=85&s=a76f59fe8b4fa895b3a2e00deded4e2c" alt="Flakiness Heatmap showing test execution patterns" width="3138" height="1034" data-path="images/test-results/test-results-heatmap.png" />
</Frame>

### Understanding Heatmap Colors

* **🟢 Green**: Passed tests
* **🟢 Dark Green**: Flaky tests (passed after retries)
* **🔴 Red**: Failed or error tests
* **🟡 Yellow**: Running or retrying tests
* **⚪ Gray**: Skipped or cancelled tests

### Identifying Flaky Tests

Use the heatmap to spot reliability issues by identifying tests that consistently fail or show intermittent issues. You can spot tests becoming less reliable over time and get a comprehensive view of your entire test suite's stability.

Interactive features help you analyze patterns: filter by status by clicking legend items to focus on specific test outcomes, hover for detailed information including duration and timestamps, click any cell to navigate to the specific test run, and analyze timeline patterns across recent runs.

When flaky tests are identified, prioritize fixes by improving element selectors to be more robust, adding appropriate waits for dynamic content, ensuring consistent test environments, and breaking down complex tests into smaller, focused ones.

## Export Reports

Export comprehensive test reports in HTML format by navigating to your test suite run results page and clicking the export button to generate a downloadable HTML report.

The exported report includes project and suite information, individual test results with status icons, detailed test steps and descriptions, execution duration metrics, and browser and environment details.
