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

# Run History

> Review workflow artifacts to debug, analyze, and share test results.

# 📦 View Artifacts

Each time you execute a workflow in Nota AI, it generates **artifacts** that capture what happened during the test.\
These artifacts help developers and QA teams **debug, analyze, and share** results more effectively.

You’ll get:

* **Test case code** — the generated automation script
* **Task breakdown** — a step-by-step view of what happened
* **Video and GIF recordings** — to visually verify test execution
* Downloadable trace archive (`trace.zip`)

***

## Sidebar Overview

The left sidebar on the Artifacts Overview page provides powerful organizational tools:

* **Group by Workflow**\
  Organize artifacts based on the workflow they belong to, making it easier to analyze test runs by functionality or module.

* **Group by Date**\
  View artifacts chronologically to track execution history and identify recent changes or regressions.

* **Filters**
  Apply filters to narrow down artifacts by various criteria such as:
  * Workflow name
  * Result (Passed, Failed, Failed (Bug), Env Failure)
  * [Triage Category](/view-artifacts/triage) (Real Bug, Stale Selector, UI Redesign, Environment Issue, Agent Limitation, Precondition Not Met)
  * Coverage created by
  * Sort by date

* **Triage Dots**
  Each workflow group displays color-coded dots summarizing the triage breakdown of its failed runs, so you can spot patterns at a glance.

> 💡 Tip: Combining filters with grouping lets you drill down into specific workflows during a given timeframe or isolate failed test cases. Use the Triage Category filter to focus on real bugs and ignore environment-related noise.

<img src="https://mintcdn.com/notaai/XieAOD5SGc_2nuPX/images/artifacts/triage_filters.png?fit=max&auto=format&n=XieAOD5SGc_2nuPX&q=85&s=ea7e34fe0340ae3e47280b7208188dcb" className="w-full rounded-xl shadow-xl" alt="Sidebar Overview with triage filters" width="2992" height="1574" data-path="images/artifacts/triage_filters.png" />

***

## ✨ Prompt Optimizer

When viewing a **failed run**, the run metadata bar displays an **"Analyze Prompt"** button. Clicking it triggers an AI analysis of the workflow prompt based on the failure context.

The results appear in an inline **Comparison Panel** between the metadata bar and the artifact tabs, showing:

* A word-level **diff** of the original vs. optimized prompt
* Severity-coded **change pills** (Breaking, Risk, Improvement)
* **Context quality** indicator and **triage category** badge
* Action buttons: **Save Changes**, **Test First**, or **Dismiss**

For full details, see the [Prompt Optimizer](/view-artifacts/prompt-optimizer) page.

<img src="https://mintcdn.com/notaai/V9Kwk166XeIaxGuU/images/artifacts/prompt-optimizer-panel.png?fit=max&auto=format&n=V9Kwk166XeIaxGuU&q=85&s=20c29d7f6ab3335f773135df1e2646bd" className="w-full rounded-xl shadow-xl" alt="Prompt Optimizer panel in artifact view" width="1136" height="614" data-path="images/artifacts/prompt-optimizer-panel.png" />

***

## 🧑‍💻 Code

Each executed workflow produces **test case code**—a representation of all the steps performed during automation.

<img src="https://mintcdn.com/notaai/XieAOD5SGc_2nuPX/images/artifacts/code.png?fit=max&auto=format&n=XieAOD5SGc_2nuPX&q=85&s=541e944667cb6da6db379b97188eca85" className="w-full rounded-xl shadow-xl" alt="Artifact: test case code" width="1040" height="826" data-path="images/artifacts/code.png" />

You can **copy**, **download**, **modify**, or **reuse** this code across your own automation suite.

***

## ✅ Task Breakdown

The **Task** tab shows a **step-by-step breakdown** of the workflow as executed.

<img src="https://mintcdn.com/notaai/XieAOD5SGc_2nuPX/images/artifacts/task.png?fit=max&auto=format&n=XieAOD5SGc_2nuPX&q=85&s=6c21684ec1d0b1d94a0dbac37ce25e6e" className="w-full rounded-xl shadow-xl" alt="Artifact: task breakdown" width="1034" height="890" data-path="images/artifacts/task.png" />

This helps you:

* Understand how the AI interpreted your prompt
* Pinpoint failures or unexpected behavior

⚠️ Inline Error Display

See exactly where and why the agent encountered errors — inline and in context.

* Errors are displayed within the interaction trace, so you can debug faster.

<img src="https://mintcdn.com/notaai/XieAOD5SGc_2nuPX/images/artifacts/inline-error.png?fit=max&auto=format&n=XieAOD5SGc_2nuPX&q=85&s=a69f9ad93ddfb3a89484ce7cbb2853b1" className="w-full rounded-xl shadow-xl" alt="Artifact: inline error" width="1322" height="1248" data-path="images/artifacts/inline-error.png" />

***

## 🎥 Video Playback

Nota records a **video** of the full test run for in-depth debugging.

<video controls muted playsInline className="rounded-xl shadow-xl w-full">
  <source src="https://mintcdn.com/notaai/xJ1WAvzVpMDznN3Q/images/video.webm?fit=max&auto=format&n=xJ1WAvzVpMDznN3Q&q=85&s=53a2327da47e372126f25f01520ff643" type="video/webm" data-path="images/video.webm" />

  <source src="https://mintcdn.com/notaai/xJ1WAvzVpMDznN3Q/images/video.mp4?fit=max&auto=format&n=xJ1WAvzVpMDznN3Q&q=85&s=446357d72bb5bff887530c98b53e5b3c" type="video/mp4" data-path="images/video.mp4" />

  Your browser does not support the video tag.
</video>

Use the video to:

* Visually confirm test flow
* Share with your team
* Spot subtle UI issues

***

## 🖼 GIF Summary

For quick review or sharing, Nota also generates a **compressed GIF** of the test run.

<img src="https://mintcdn.com/notaai/xJ1WAvzVpMDznN3Q/images/agent_history.gif?s=b9cd1ea5ce15329613095128629ba8d2" className="w-full rounded-xl shadow-xl" alt="Artifact: test summary gif" width="1400" height="1100" data-path="images/agent_history.gif" />

Perfect for:

* Pull request comments
* Slack/issue sharing
* Quick team updates

***

## 🗂 Trace File (trace.zip)

With every test you run, Nota AI gives you a **full trace of execution**—from raw test code to visual artifacts—so you can debug faster, share insights easily, and continuously improve your workflows. 🚀

<img src="https://mintcdn.com/notaai/1x5ZOEq8LGaWrXEp/images/artifacts/trace.png?fit=max&auto=format&n=1x5ZOEq8LGaWrXEp&q=85&s=6b3f0f2f9b7821ea5cc284840c270888" className="w-full rounded-xl shadow-xl" alt="Artifact: trace zip" width="1918" height="955" data-path="images/artifacts/trace.png" />

This archive includes:

* Browser trace logs
* Screenshot snapshots (if applicable)
* Raw execution data

Use this when:

* You need a deeper debugging view
* Sharing detailed logs with teammates
* Integrating into CI/CD pipelines
