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

# TeamCity Integration

> Upload Playwright test reports from TeamCity builds directly to TestDino using the TestDino TeamCity Recipe. Track failures and trends across every build.

The TestDino TeamCity Recipe uploads Playwright test reports directly from your TeamCity builds to the TestDino platform.

## How does it work?

Once installed, the recipe runs as a build step after your Playwright tests complete. It collects reports, screenshots, videos, and traces, then uploads everything to TestDino automatically.

* Detects Playwright reports in your build workspace
* Bundles JSON, HTML, and all artifacts
* Uploads to your TestDino project using your API key
* Posts a direct link to the test run in your build log

With each build, your test results flow into TestDino for flaky test detection and trend tracking.

## Quick Start Steps

### 1. Install the recipe

In TeamCity, go to **Administration → Plugins → Browse Plugins**. Search for **"TestDino"** and click **Install**.

Or install directly when adding a build step: click **Browse Marketplace** under Runner Type, search for **"TestDino – Upload Playwright Report"**, and click **Download & Install**.

### 2. Add the build step

Open your **Build Configuration → Build Steps → Add build step**. Select **TestDino - Upload Playwright Report** from the Runner Type dropdown.

<img src="https://tdstorageus.blob.core.windows.net/public/docs/_unlisted/integrations/ci-cd/teamcity/adding-build-step.webp" alt="Adding a build step in TeamCity" />

<img src="https://tdstorageus.blob.core.windows.net/public/docs/_unlisted/integrations/ci-cd/teamcity/select-runner.webp" alt="Select TestDino runner in TeamCity" />

### 3. Configure the upload

Enter your settings:

* **Report Directory**: Path to your Playwright reports (default: `./playwright-report`)
* **TestDino API Token**: Your project API key from **Settings → API Keys**
* **Upload options**: Check the boxes for HTML reports, images, videos, traces, or use **Full JSON Bundle** for everything

  <img src="https://tdstorageus.blob.core.windows.net/public/docs/_unlisted/integrations/ci-cd/teamcity/configuration-reference.webp" alt="TeamCity configuration reference for TestDino" />

### 4. Run your build

Trigger a build. After tests complete, the recipe uploads results and shows a link to view them in TestDino.

## What gets uploaded

| Option                | What it includes                                       |
| --------------------- | ------------------------------------------------------ |
| **JSON Report**       | Test results, pass/fail data, timing (always uploaded) |
| **HTML Reports**      | Interactive Playwright report UI                       |
| **Image Attachments** | Screenshots from test runs                             |
| **Video Attachments** | Video recordings of test executions                    |
| **Trace Files**       | Playwright trace archives for debugging                |
| **File Attachments**  | Extra files like `.md`, `.pdf`, `.log`, `.txt`         |
| **Full JSON Bundle**  | All of the above in one upload                         |

## Why this helps

* **Zero manual work** - Reports upload automatically after every build
* **Full context in TestDino** - Screenshots, videos, and traces travel with your results
* **Error grouping on every run** - Failures get grouped by error message and pattern
* **Historical tracking** - Compare runs across builds and branches

## Related

<CardGroup cols={2}>
  <Card title="TeamCity Setup Guide" icon="infinity" href="/guides/playwright-teamcity">
    Detailed setup, configuration options, and troubleshooting
  </Card>

  <Card title="Azure DevOps" icon="microsoft" href="/integrations/playwright-azure-devops">
    View test runs inside Azure DevOps
  </Card>

  <Card title="GitHub Integration" icon="github" href="/integrations/ci-cd/github">
    Connect TestDino with GitHub CI/CD
  </Card>

  <Card title="Getting Started" icon="rocket" href="/getting-started">
    Initial TestDino setup
  </Card>
</CardGroup>
