refactor: 优化日志系统及增加定位转换器

- 更新 pytest.ini 统一配置日志格式和基础命令。
- 优化 main.py 增加测试后的日志自动备份与定期清理功能。
- 新增 finder.py 实现定位元素转换机制
This commit is contained in:
2026-01-21 15:29:52 +08:00
parent 5df8f686a6
commit e59ffa36d3
6 changed files with 256 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
[pytest]
addopts = -q --show-capture=no
;addopts = --tb=short
# 1. 开启实时控制台日志
log_cli = True
log_cli_level = INFO