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

# Test Cases

> Search, sort, filter, and edit test cases in a list, resize its columns, and open full details with steps, attachments, history, and linked tests.

The Test Cases view shows a flat list of all test cases across all suites. This view is useful when you want to search, sort, or filter without navigating the suite hierarchy.

<img src="https://tdstorageus.blob.core.windows.net/public/docs/test-management/test-cases/list-view/test-intro-shows-all-three-view.webp" alt="Test Cases list view showing search bar, test case rows, and Details Sheet with properties sidebar" />

## Create Or Edit Test Case

Click **+ New** in the header to open the **New test case** sheet. It uses the same editors as the [Details Sheet](#details-sheet): pick the **Suite**, then fill in the title, description, and steps, and set the fields in the **Details** panel below them. To edit an existing case, open it from the list and change any field in the Details Sheet.

The suite defaults to the one selected in the sidebar; choose **None (Unassigned)** to leave the case out of any suite. `Title` is required, and so is any custom field your project marks as required. Click **Create** or press `⌘` + `Enter` to create the case. Attachments and reusable steps are added after the case exists.

Closing the sheet with unsaved input asks `Discard this test case?` first.

### Steps

Switch between **Classic** and **Gherkin** with the toggle above the steps.

| Format | Step fields |
| :- | :- |
| `Classic` | `Action` (what to perform), `Test Data` (optional), `Expected Result` |
| `Gherkin` | Keyword (`Given`, `When`, `Then`, `And`, `But`) + text |

A test case holds steps in 1 format. Switching away from a format that already has steps asks `Switch to Gherkin?` (or `Switch to Classic?`) and removes those steps when you click **Switch and remove**. An empty format switches without asking.

Click **Add step** to add more steps. Expand **Pre/Post-conditions** to set what must be true before the case runs and the expected system state after.

## Search

Use the search bar at the top to find test cases. It matches the title, case ID, description, pre- and post-conditions, tags, and step text. Results update as you type. Press `/` to jump to the search bar and `Esc` to clear it.

## Sort

Sorting depends on where you are in the sidebar.

| Sidebar selection | How the list is ordered |
| :- | :- |
| **All test cases** or **Unassigned** | Click the `ID`, `Title`, or `Updated at` header to sort by it. Click again to flip the direction. The default is `ID` ascending. |
| A suite | The suite's own order. Drag a row to move it. The headers do not sort. |

The order you drag into a suite is the same order a [run](/test-management/manual-testing/manual-runs#sort-and-reorder) shows under **Manual Order**, so arranging cases once arranges them everywhere.

## Filter

Click **Filter** to narrow the list by status, priority, severity, type, layer, behavior, automation status, flags (`To Be Automated`, `Flaky`, `Muted`), tags, linked automated tests or issues, and dropdown, multi-select, or checkbox custom fields. Applied filters appear as chips above the list. Click **Clear all** on that row to remove them all at once.

## Columns

Click **Columns** to choose what each row shows. `Status` and `Priority` are on by default; `Severity`, `Type`, `Layer`, `Behaviour`, and `Created by` can be turned on. `Tags` and `Updated at` always show on wide screens. A field turned off in [Test Case Settings](/test-management/key-concepts#test-case-fields) is not offered as a column.

The same menu has a **Density** section. Tick **Compact rows** to fit more test cases on screen.

To change a column's width, drag the divider at its left edge. Double-click the divider to restore the default width. Widths are remembered per project.

<Callout icon="lightbulb" color="#0ea5e9">
  Columns need room to render, so some appear only on wider screens. The picker tells you which ones: a column ticked on a narrow window shows once there is space for it.
</Callout>

## Edit From The Row

`Status`, `Priority`, `Severity`, `Type`, `Layer`, and `Behaviour` are dropdowns in the row. Click a value to change it without opening the case. The options are the values your project defines in [Test Case Settings](/test-management/key-concepts#test-case-fields).

Click the automation icon before a title to switch the case between `Manual` and `Automated`. Turning automation off asks `Turn off automation?` first, because it removes the case's links to automated tests. See [Keeping links accurate](#keeping-links-accurate).

## Details Sheet

Click any test case row to open the Details Sheet from the right side. It shows all test case information on a single scrollable page without tabs.

The header includes the suite name (click it to move the case), case ID with copy link, pagination controls, print option, close button, and status badge. You can update the test case status directly from the header dropdown.

Press `J` for the next test case and `K` for the previous one, the same as the pagination controls. `J` and `K` do nothing while you are typing in a field. `Esc` cancels the field you are editing; with nothing open, it closes the sheet.

If you leave a case while an edit is still open and changed, TestDino asks `Discard changes?` before moving on. Choose **Keep editing** to stay, or **Discard** to drop the edit. An edit you have not changed switches cases without a prompt.

### Description

The Description section gives a brief overview of what the test case is meant to validate, helping users quickly understand its purpose and scope before execution.

Pasting Markdown into the description, or any other formatted text field, converts it to formatting: headings, lists, quotes, code, bold, strikethrough, and links. Text copied from a web page keeps its original formatting.

### Steps

The Steps section defines the test execution flow using `Action`, `Test data`, and `Expected result` columns. Switch between **Classic** and **Gherkin** with the format toggle; a test case keeps steps in 1 format, so switching away from steps you wrote removes them after you confirm (see [Steps](#steps)). Show or hide the `Expected result` and `Test data` columns with the eye icons.

Steps can include inline images. Add more steps with the **Add step** button.

<img src="https://tdstorageus.blob.core.windows.net/public/docs/test-management/test-cases/list-view/testcase-detail-steps.webp" alt="Test case detail sheet Steps section showing Action and Expected Result columns with Classic and Gherkin view toggle and Add Step button" style={{ maxWidth:"100%" }} />

### Pre-conditions and Post-conditions

This section appears above Steps as a collapsible block, where Pre-conditions define the required setup or system state that must be in place before execution begins, and Post-conditions define the expected system state after execution is completed.

<img src="https://tdstorageus.blob.core.windows.net/public/docs/test-management/test-cases/list-view/testcase-detail-precondition-postcondition.webp" alt="Test case detail sheet showing the collapsible Pre-conditions and Post-conditions block below the Steps section" style={{ maxWidth:"100%" }} />

### Attachments

Drag-and-drop or browse to upload. A case allows up to **10 attachments total**.

<img src="https://tdstorageus.blob.core.windows.net/public/docs/test-management/test-cases/list-view/test-details-attachments-tab.webp" alt="Attachments section showing uploaded files with drag-and-drop upload area" style={{ maxWidth:"100%" }} />

### Linked Automation Tests

A link connects a test case to the automated Playwright test that covers it. Linking is what makes a case report its result automatically: in a [run](/test-management/manual-testing/manual-runs), a linked case takes its verdict from CI instead of waiting for someone to test it by hand. An unlinked case stays manual and is never reported as an automation gap.

The section lists each linked automated test. Click **Show run history** on a test to see its recent results with run, branch, and date.

* If no tests are linked, a **Link automation** button appears. Once linked, a **Link** button is shown to add more tests.
* Search by test name or spec file, and filter by **Linked only**, **Unlinked only**, or **Linked + unlinked**.
* Each row shows the browsers the test runs on, so you can confirm you picked the right one before linking.

<img src="https://tdstorageus.blob.core.windows.net/public/docs/test-management/test-cases/list-view/link-automated-test-dialog.webp" alt="Link Automated Test dialog showing search bar, All Linked Unlinked tabs with counts, list of automated tests with checkboxes, an N selected badge, and a Link test button" style={{ maxWidth: "100%" }} />

The picker groups tests under the spec file they live in, and names the test case you are linking to at the top so you do not lose track of it mid-search. Each test shows the **platform** it runs on and its **last run**, which is how you tell two similarly named tests apart before you commit to one. Use **Expand all** to open every spec file at once, and the filter to show **Unlinked only** while you work through a backlog.

<img src="https://tdstorageus.blob.core.windows.net/public/docs/test-management/test-cases/list-view/linked-automation-tests.webp" alt="Link automated tests dialog grouped by spec file, showing a search box, an Unlinked only filter, a count of spec files and unlinked tests, and each test with its platform and last run number" style={{ maxWidth: "100%" }} />

To create cases from tests you already automated, open **New** and choose **From automation**. It creates the test case and the link together, which avoids a mismatch between the 2.

#### Keeping Links Accurate

A run and a release are only as correct as the links behind them, so getting the mapping right is not optional. 4 rules decide whether a case reports the right result.

| Rule | What it means for you |
| :- | :- |
| Link the test once, not once per browser | 1 link covers every browser CI runs that test on. Adding a browser to CI needs no re-linking |
| Moving or renaming a spec file breaks the link | Re-link the case after a refactor |
| Link the test that proves the case | A link to a loosely related test reports a green CI result for a case nobody validated |
| Links and automation status stay in step | Setting a case to anything other than `Automated` removes its links. TestDino asks first, because switching back does not restore them |

When a link goes stale, the run shows the case as `Not run` with `No CI match in recent runs. Re-link this case to an automated test.` That message means the link is broken, not that the pipeline skipped the test. See [why a case shows Not run](/test-management/manual-testing/manual-runs#why-a-case-shows-not-run).

Unlinking the last automated test from a case reverts it to `Manual`.

### Properties

The **Details** panel shows `Status`, `Priority`, `Tags`, `Automation status`, `Flags`, `Type`, and `Severity` by default. Click **More properties** to reveal:

* `Layer` and `Behaviour`
* **Current Run Status** - the case's result and assignee from the most recent run it was executed in, with a link to that run. Hidden for a case that has never been run.

Each value is editable via its dropdown. Any project-specific custom fields from [Test Case Settings](/test-management/key-concepts#custom-fields) appear here too.

Hover a field and click its pin icon (**Pin to top**) to move it into a **Pinned** group at the top of the panel. Pinned fields apply to every test case in the project, in your browser. Click the icon again (**Unpin**) to put the field back.

Who created and last updated the case is shown at the bottom of the panel, with the date and the person's name.

<img src="https://tdstorageus.blob.core.windows.net/public/docs/test-management/test-cases/list-view/test-details-properties.webp" alt="Properties section showing Status, Priority, Tags, Automation status, Type and Severity, and a More properties toggle that reveals Layer, Behaviour and Current Run Status" style={{ maxWidth:"100%" }} />

### Linked Issues

The **Linked Issues** section lists the Jira or Linear issues linked to this case.

### Activity

3 tabs at the bottom of the page.

| Tab | What It Shows |
| :- | :- |
| `Comments` | Discussion thread on the case |
| `History` | Versioned snapshots with who made each change, when, and a side-by-side diff. Click **Restore** to revert to a previous version. How many versions are kept depends on your plan; see [Version History](/test-management/key-concepts#version-history). |
| `Results` | Manual run results that include this case, with status and the run that produced each result |

Press `M` to start a comment from anywhere in the sheet, unless you are typing in a field.

### Print Test Case

Click the print icon in the top-right corner of the Details Sheet to open your browser's print dialog, where you can print the test case or save it as a PDF. The printout includes the test case ID, title, suite, all classification fields, automation status, description, pre/post-conditions, and test steps.

<img src="https://tdstorageus.blob.core.windows.net/public/docs/test-management/test-cases/list-view/test-details-print-button.webp" alt="Details Sheet header showing print icon in the top-right corner" style={{ maxWidth: "100%" }} />

<img src="https://tdstorageus.blob.core.windows.net/public/docs/test-management/test-cases/list-view/test-details-printtest-pdf.webp" alt="Print preview showing test case PDF with all fields and test steps" style={{ maxWidth: "100%" }} />

<Callout icon="lightbulb" color="#10B981">
  **Tip**

  Use [Bulk Actions](/test-management/bulk-actions) to print multiple test cases at once.
</Callout>

<CardGroup cols={2}>
  <Card title="Suites" icon="folder-tree" href="/test-management/suites">
    Browse test cases organized by suite
  </Card>

  <Card title="Bulk Actions" icon="layer-group" href="/test-management/bulk-actions">
    Edit, delete, or print multiple test cases
  </Card>

  <Card title="Concepts & Settings" icon="book" href="/test-management/key-concepts">
    Field definitions, step formats, and project settings
  </Card>
</CardGroup>


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