- CLI + Web 双平台,基于 LLM 的 TDD+DDD 自动化测试生成 - 集成 unified-test-platform 903 个 D-Cloud 用例 + 13 个 Robogo 场景 - Agent 5 步流水线: 扫描 -> DDD -> LLM 生成测试 - 精确回归 + UI 变更检查 - 可视化 HTML 测试报告 - 暗色/亮色主题切换 - 19 个 API 端点 + 6 个 SPA 页面 - 15/15 项 TDD+DDD 合规
23 lines
492 B
Python
23 lines
492 B
Python
"""
|
|
设备管理模块测试配置
|
|
|
|
提供设备管理模块专用的fixtures
|
|
"""
|
|
|
|
import pytest
|
|
from tests.device_manage.device_manage_page import DeviceManagePage
|
|
|
|
|
|
@pytest.fixture
|
|
def device_manage_page(authenticated_page):
|
|
"""设备管理页面fixture
|
|
|
|
Args:
|
|
authenticated_page: 已认证的页面对象
|
|
|
|
Returns:
|
|
DeviceManagePage: 设备管理页面对象
|
|
"""
|
|
page = DeviceManagePage(authenticated_page)
|
|
page.navigate()
|
|
return page |