Understanding Results

Bug0 provides detailed results for every test run, helping you understand what happened and why.

Result Components

Step Results

Each step shows:

FieldDescription
StatusPass (✓) or Fail (✗)
DurationHow long the step took
ReasoningAI's decision-making explanation
Action takenWhat the AI did (click, type, etc.)

Assertion Results

Each assertion shows:

FieldDescription
StatusPass or Fail
ConfidenceHow certain the AI is (0-100%)
ReasoningWhy the assertion passed or failed

Overall Result

Interpreting Step Results

Successful Step

✓ Click the "Add to Cart" button
  Duration: 1.2s

  Reasoning: Located button with text "Add to Cart"
  below the product price. Clicked successfully and
  observed cart icon update.

Failed Step

✗ Click the "Checkout" button
  Duration: 5.3s (timeout)

  Error: Could not find element matching description

  Reasoning: Searched for button with text "Checkout"
  but found "Proceed to Checkout" and "Express Checkout".
  Unable to determine which one matches the step
  description.

How to fix: Make the description more specific:

Interpreting Assertion Results

Passed Assertion

✓ User should see the dashboard
  Confidence: 95%

  Reasoning: The page displays a heading "Dashboard"
  and shows user-specific content including the
  user's name and recent activity.

Failed Assertion

✗ Cart should show 3 items
  Confidence: 88%

  Reasoning: The cart displays 2 items. The expected
  count was 3, but only 2 products are visible in
  the cart summary.

Low Confidence

? Product was added to cart
  Confidence: 62%

  Reasoning: A toast notification appeared briefly,
  but it's unclear if it confirmed the add action
  or was an unrelated message.

Low confidence indicates the AI is uncertain. Consider:

HTML Reports

For CI/CD runs, Bug0 generates detailed HTML reports:

Report Contents

Accessing Reports

Common Failure Patterns

Element Not Found

✗ Click the submit button
Error: Could not find element

Causes:

Solutions:

Timeout

✗ Wait for dashboard to load
Error: Timeout waiting for condition (30s)

Causes:

Solutions:

Wrong Element

✗ Click the delete button
Error: Clicked wrong element

Causes:

Solutions:

Assertion Failed

✗ User should be logged in

Causes:

Solutions:

Debugging Workflow

  1. Identify the failure - Which step or assertion?
  2. Read the reasoning - What did AI try?
  3. Check screenshots - What was the page state?
  4. Reproduce manually - Does the flow work?
  5. Adjust and rerun - Fix and verify

Success Metrics

Track these metrics across runs:

MetricMeaning
Pass rate% of successful runs
Flaky testsTests that sometimes pass, sometimes fail
Average durationHow long tests take
Failure patternsCommon failure types

Aim for: