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

# Overview

> AI-powered front-end testing for web apps. Explore your app, generate plans grounded in real behavior, ship browser tests, watch them run, replay any step.

![UI testing overview](https://mintcdn.com/testspriteinc/NgwJ2RcRMRwjh7Vv/images/first-test-Overview.png?fit=max\&auto=format\&n=NgwJ2RcRMRwjh7Vv\&q=85\&s=593999be8571c331df886d4e87368b66)

UI Testing takes you from "here's my web app" to a regression suite that catches UI bugs without breaking on every minor refactor.

## Key Features

| Feature | Description |
| :- | :- |
| <kbd>Fast Setup</kbd> | Share your URL and, optionally, a test account |
| <kbd>Multiple Sign-In Methods</kbd> | Test account credentials, OTP (one-time password) login with a TestSprite-managed account (email and SMS), or SSO (single sign-on) such as Google |
| <kbd>Feature Exploration</kbd> | TestSprite's testing agent explores your live app so the plan reflects real behavior, not docs |
| <kbd>AI-Generated Test Cases</kbd> | Plans tailored to your real screens and flows; add, remove, or refine any case |
| <kbd>Live Test Preview</kbd> | Watch tests run in real time |
| <kbd>Step-by-Step Replay</kbd> | Every run records a video and per-step screenshots |
| <kbd>Auto-Heal</kbd> | When the UI drifts, TestSprite re-decides selectors against the live DOM instead of failing the test |
| <kbd>Natural Language Refinement</kbd> | Adjust any test in plain language, no code required |
| <kbd>Reusable Test Code</kbd> | Generated Python + Playwright tests, ready for CI/CD or regression suites |

## The UI Testing Journey

> [card]
>
> ```mermaid theme={null}
> flowchart LR
>     Z[1\. Configure Login<br/>pick a sign-in method<br/>for your app]
>     A[2\. Feature Exploration<br/>walk the live app<br/>feature by feature]
>     M[3\. Feature Map<br/>features and use cases<br/>on Test Coverage]
>     B[4\. Plan Generation<br/>test cases grounded<br/>in observed flows]
>     C[5\. Test Generation<br/>Python + Playwright<br/>per test case]
>     D[6\. Run + Step-by-Step<br/>watch live, replay later]
>     E[7\. Rerun<br/>re-execute on demand<br/>or on a schedule]
>     F[8\. Auto-Heal<br/>absorb UI drift on<br/>subsequent runs]
>
>     Z --> A --> M --> B --> C --> D --> E --> F
> ```

Each step has its own page. New to TestSprite? Start with the [Quickstart](https://docs.testsprite.com/web-portal/core/ui/quickstart.md), which walks the whole journey in about 10 minutes.

> [card] [Authentication (UI)](https://docs.testsprite.com/web-portal/core/ui/ui-authentication.md)
>
> Configure how TestSprite signs in: test account credentials, OTP, or SSO

> [card] [Feature Exploration](https://docs.testsprite.com/web-portal/core/ui/feature-exploration.md)
>
> How TestSprite walks your live app to discover what to test

> [card] [Plan Generation & Editing](https://docs.testsprite.com/web-portal/core/ui/ui-plan-gen.md)
>
> Review the plan grounded in observed flows; edit, add, prune

> [card] [Test Generation & Execution](https://docs.testsprite.com/web-portal/core/ui/ui-test-gen.md)
>
> Python + Playwright code per test case

> [card] [Step-by-Step Replay](https://docs.testsprite.com/web-portal/core/ui/ui-step-by-step.md)
>
> Per-step screenshots, video, and behavior trace for one test

> [card] [Agent Actions](https://docs.testsprite.com/web-portal/core/ui/agent-actions.md)
>
> Every recording from a run, bucketed by status

> [card] [Edit & Rerun](https://docs.testsprite.com/web-portal/core/ui/ui-rerun.md)
>
> Re-execute a single test, the whole project, or a scheduled run

> [card] [Auto-Heal](https://docs.testsprite.com/web-portal/core/ui/auto-heal.md)
>
> Recover UI tests when the page changed but the flow is fine

> [!TIP]
>
> **Each UI test is self-contained**: sign in, do the thing, assert. Unlike API tests, no data is passed between tests, so the work is in the single test (the page, timing, and absorbing UI change).

## Where Things Live

A UI project's sidebar is grouped into Setup, Workspace, Analytics, Activity, and Project Settings; see the [Test Detail Page](https://docs.testsprite.com/web-portal/core/working-with-test/test-detail.md) for what each item does. Scheduling lives outside the project, under **Automation → Test Schedules**.

## Refining Tests in Natural Language

You can refine any test in plain language, by editing its description or asking in **Chats**. For example:

```text theme={null}
Add a test that signs up a new user with an invalid email and confirms the inline validation appears.
```

![Review proposed tests: edit and refine test cases before confirming](https://mintcdn.com/testspriteinc/NgwJ2RcRMRwjh7Vv/images/overview-plan.png?fit=max\&auto=format\&n=NgwJ2RcRMRwjh7Vv\&q=85\&s=12e36ac72596ca0b3f943d70ec7db241)

See [Managing Test Cases](https://docs.testsprite.com/web-portal/core/working-with-test/managing-test-cases.md) for every way to do it.

## Testing an API Instead?

See [API Testing](https://docs.testsprite.com/web-portal/core/api/api-testing.md). The flow mirrors this one; API projects discover and probe endpoints instead of walking pages, chain tests that depend on each other, and use [Auto-Auth](https://docs.testsprite.com/web-portal/core/api/auto-auth.md) for token refresh rather than Auto-Heal. [Testing Lifecycle](https://docs.testsprite.com/web-portal/concepts/testing-lifecycle.md) compares the two side by side.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.