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

# Reporter & Analytics Troubleshooting

> Common issues and solutions for Stably's Reporter & Analytics features

This guide covers common issues you might encounter when using Stably's Reporter & Analytics features and how to resolve them.

# Trace is not available for this test case

If you see the message **"Trace is not available for this test case"** in the Stably reporter view, it means that Playwright traces were not captured for your test run.

## Problem

By default, if you follow Playwright's official installation instructions, the trace configuration is set to `"on-first-retry"`. This means traces are only captured when a test fails and is retried—not on the first run or for passing tests.

## Solution

### Solution #1 (Preferred)

Ensure you are using `npx stably test` instead of `npx playwright test`. The Stably command will ensure the correct tracing behavior is set.

### Solution #2

Update your `playwright.config.ts` file to change the trace setting to capture traces for all test runs:

```typescript theme={null}
use: {
  /* Base URL to use in actions like `await page.goto('')`. */
  // baseURL: 'http://localhost:3000',

  /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
  trace: "on", // Changed from "on-first-retry"
},
```
