> For the complete documentation index, see [llms.txt](https://docs.walnutai.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.walnutai.ai/test-and-quality-management/test-management/defects/link-existing-defects-to-test-cases.md).

# Link Existing Defects to Test Cases

A single defect may impact multiple test cases. Instead of creating duplicate defect records, WalnutAI allows you to associate an existing defect with any number of test cases.

**To link a defect to a test case:**

* Open the required **Test Case**.

<figure><img src="/files/9V8HqVEQ3E50Y34KtM8n" alt=""><figcaption></figcaption></figure>

* Click **Defects** from the top-right panel.

<figure><img src="/files/ASg3EMpYwS6pFh46Uj1A" alt=""><figcaption></figcaption></figure>

* Select **Link Defect**.

<figure><img src="/files/7uMuMP2VkQshO58vgmam" alt=""><figcaption></figcaption></figure>

* Choose the required defect from the list.
* Click **Done**.

<figure><img src="/files/1tRD91MMKhbTQA0KdcOJ" alt=""><figcaption></figcaption></figure>

* The selected defect is now associated with the test case.

<figure><img src="/files/PR0OE7IfNgmdFxoZEckB" alt=""><figcaption></figcaption></figure>

Linking existing defects helps maintain a single source of truth for an issue while providing complete visibility into every test case affected by that defect. This simplifies defect tracking, avoids duplicate records, and makes regression validation easier.
