@echo off
REM Quick Test launcher for AI Event Boost
echo ========================================
echo AI Event Boost - Quick Test
echo ========================================
echo.
echo 1. Check if server is running...
curl -s http://localhost:8000/health >nul 2>&1
if errorlevel 1 (
    echo [ERROR] Server is NOT running!
    echo.
    echo Please start the server first:
    echo   cd /d D:\cnf\chatbot-canifa-feedback
    echo   python backend\server.py
    echo.
    echo Then run this script again.
    pause
    exit /b 1
)

echo [OK] Server is running
echo.

echo 2. Opening chatbot debug UI...
start http://localhost:8000/static/ai_event/chatbot.html
timeout /t 2 /nobreak >nul

echo 3. Running automated tests...
echo.
python quick_test.py
echo.
pause
