TBC/.env.example
d-robotics 633a797226 AutoFlow v2.0: 合并 Test (Robogo) + data-loop-automation (D-Cloud) 为统一平台
- 16 个业务模块,856 个测试用例,40 个 E2E 测试
- 单一 React 19 前端 + PlatformSwitcher 二合一切换
- Flask 后端支持 scenario/dcloud_module/dcloud_e2e/dcloud_all 四种任务类型
- E2E 测试面板:API 全链路(8条) + UI 点击(3条) + 分步测试(3个)
- SSE 实时日志流 + 飞书告警 + 定时调度
- 完整还原原 ToB 平台 TestPanel E2E 模块
2026-06-23 11:48:29 +08:00

65 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ===========================================
# 测试环境配置示例
# ===========================================
# 复制此文件为 .env 并填入实际值
# cp .env.example .env
# ===========================================
# 必需配置
# ===========================================
# 平台基础 URL
BASE_URL=https://cloud-fat.d-robotics.cc
# SSO 登录 URL
SSO_URL=https://sso-fat.d-robotics.cc
# 测试账号(必须配置)
TEST_USERNAME=your_test_username
TEST_PASSWORD=your_test_password
# ===========================================
# 浏览器配置(可选)
# ===========================================
# 浏览器类型
BROWSER=chromium
# 无头模式(CI 环境建议 true)
HEADLESS=true
# 慢动作延迟(调试时使用)
SLOW_MO=0
# 视口大小
VIEWPORT_WIDTH=1920
VIEWPORT_HEIGHT=1080
# ===========================================
# 超时配置(可选)
# ===========================================
# 默认操作超时(毫秒)
DEFAULT_TIMEOUT=15000
# 导航超时(毫秒)
NAVIGATION_TIMEOUT=30000
# ===========================================
# LLM 配置(可选 - AI辅助测试生成)
# ===========================================
LLM_API_BASE=
LLM_API_KEY=
LLM_MODEL=ali/glm-5
LLM_TEMPERATURE=0.7
LLM_MAX_TOKENS=4096
# ===========================================
# 代理配置(可选)
# ===========================================
# HTTP_PROXY=http://proxy.example.com:8080
# HTTPS_PROXY=http://proxy.example.com:8080
# all_proxy=http://proxy.example.com:8080