# E2E/UAT 测试环境配置示例

# API配置
BASE_URL=http://localhost:8084
FRONTEND_URL=http://localhost:3000

# 数据库配置
DATABASE=h2
DATABASE_HOST=localhost
DATABASE_PORT=55432
DATABASE_NAME=manage_system
DATABASE_USERNAME=novalon
DATABASE_PASSWORD=novalon123

# 测试用户凭证
TEST_USERNAME=admin
TEST_PASSWORD=admin123

# 浏览器配置
HEADLESS_BROWSER=true
BROWSER_TYPE=chromium

# 超时配置(毫秒)
REQUEST_TIMEOUT=30000

# 测试模式
TEST_MODE=true
ENV=dev

# 并行测试配置
PARALLEL_TEST=true
NUM_WORKERS=4

# 重试配置
RERUN_FAILED_TESTS=true
RERUN_COUNT=2

# 覆盖率配置
COVERAGE_REPORT=true
COVERAGE_THRESHOLD=80

# 报告配置
HTML_REPORT=reports/report.html
JUNIT_REPORT=reports/junit.xml
ALLURE_REPORT=reports/allure

# 日志配置
LOG_LEVEL=INFO
LOG_FILE=reports/test.log
