Skip to main content
Configuration

Testing Configuration

Test execution behavior settings.

Configuration

testing:
  screenshot_on_failure: true

Example: Screenshot on Test Failure

# Task input to gem-browser-tester
objective: "Verify login flow"
acceptance_criteria:
  - "Login succeeds with valid credentials"
  - "Error shown for invalid credentials"
handoff:
  constraints: ["Staging env", "Chrome"]
  relevant_context:
    - "screenshot_on_failure: true"

When test fails:

  • Browser Tester captures full-page screenshot
  • Saved to: wave-{n}/{task}/artifacts/failure-screenshot.png
  • Included in failure evidence for Debugger/Reviewer

Settings

SettingTypeDefaultDescription
testing.screenshot_on_failurebooleantrueCapture screenshot when browser/UI tests fail

Behavior

When screenshot_on_failure: true:

  • Browser Tester captures full-page screenshot on test failure
  • Screenshot saved to task artifacts: wave-{n}/{task}/artifacts/failure-screenshot.png
  • Included in failure evidence for Debugger/Reviewer
  • Works with both browser and mobile testing

When screenshot_on_failure: false:

  • No automatic screenshot capture
  • Manual screenshots only via explicit acceptance criteria