Tests

A test in Traceback is a natural-language description of a user flow. Traceback’s autonomous runtime interprets the prompt, drives a real browser, and determines whether the flow passed or failed.

Anatomy of a test

FieldDescription
NameA short human-readable label (e.g. “Login flow — standard user”)
PromptThe plain-English instructions for the test
URLThe starting URL for the browser session
ModeAutonomous or Deterministic
TimeoutMaximum time before the run is marked as timed out

Writing good test prompts

Good prompts are:

  • Specific about the user — “Sign in as an admin user” vs. “Sign in”
  • Specific about the outcome — “Verify that the dashboard loads” vs. “Check that login worked”
  • Action-oriented — use verbs: go to, click, type, verify, wait for
Tip

Avoid referencing DOM selectors or CSS classes in your prompts. Traceback is designed to work at the semantic level, not the implementation level.