# =============================================================================
# TESTING COMMANDS - Rustelo Framework
# =============================================================================
# Browser testing and automation tools

# Test single page in browser
page-tester *ARGS:
    @echo "🌐 Testing page in browser..."
    ./scripts/testing/page-browser-tester.sh {{ARGS}}

# Generate comprehensive browser report for all pages
pages-report *ARGS:
    @echo "📊 Generating pages browser report..."
    ./scripts/testing/all-pages-browser-report.sh {{ARGS}}

# Test all pages with default configuration
test-all-pages:
    @echo "🌐 Testing all pages..."
    ./scripts/testing/page-browser-tester.sh all

# Generate browser logs for debugging
collect-browser-logs page:
    @echo "📋 Collecting browser logs for {{page}}..."
    ./scripts/testing/browser/collect-single-page.sh {{page}}

# Analyze browser logs for errors
analyze-logs:
    @echo "🔍 Analyzing browser logs..."
    ./scripts/testing/browser/analyze-logs.sh
