For the complete documentation index, see llms.txt. This page is also available as Markdown.

Goals & Intent Tests

Understand goals, intents, and how intent tests work.

Goals tell Duku what matters. Intent tests prove those journeys still work.

Goals

A goal is a business-critical destination in the state graph, such as a checkout confirmation page, a successful login redirect, or a registration completion screen.

Duku identifies likely goals from graph structure, page characteristics, and navigation patterns.

Intents

An intent is a human-readable description of a path to a goal. Duku generates descriptions like:

  • User opens the login page, enters credentials, and reaches the dashboard

  • User adds an item to cart, completes checkout, and reaches order confirmation

Intent tests

Intent tests replay discovered journeys in a real browser. Duku selects the shortest known paths to each goal, then executes them against the target.

This gives you a simple answer to a hard question: can users still complete the journeys that matter?

Intent tests are derived from exploration data, so they adapt as your application changes.

Run intent tests

  • From the app: Open a product, choose a target from the top-right target menu, then click Run Tests

  • From the API: Call startIntentRuns

Results

Each run includes:

  • Status: Whether the journey completed

  • Step log: Which steps passed or failed

  • Screenshots: Visual evidence for each step

  • Errors: Any issue captured during replay

Last updated