feat(admin): 添加用户管理相关文件
添加用户管理视图、API和状态管理文件
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
[pytest]
|
||||
# 测试目录
|
||||
testpaths = tests
|
||||
|
||||
# 测试文件模式
|
||||
python_files = test_*.py
|
||||
python_classes = Test*
|
||||
python_functions = test_*
|
||||
|
||||
# 标记定义
|
||||
markers =
|
||||
smoke: 冒烟测试(快速验证核心功能)
|
||||
regression: 回归测试(完整功能验证)
|
||||
admin: Admin后台管理端测试
|
||||
uniapp: Uniapp客户端测试
|
||||
slow: 慢速测试(执行时间较长的测试)
|
||||
integration: 集成测试
|
||||
e2e: 端到端测试
|
||||
|
||||
# Playwright配置
|
||||
addopts =
|
||||
-v
|
||||
--headed
|
||||
--browser=chromium
|
||||
--slowmo=0
|
||||
--tracing=retain-on-failure
|
||||
--screenshot=only-on-failure
|
||||
--video=retain-on-failure
|
||||
|
||||
# 超时配置
|
||||
timeout = 300
|
||||
|
||||
# 过滤警告
|
||||
filterwarnings =
|
||||
ignore::DeprecationWarning
|
||||
ignore::PendingDeprecationWarning
|
||||
|
||||
# 日志配置
|
||||
log_cli = true
|
||||
log_cli_level = INFO
|
||||
log_cli_format = %(asctime)s [%(levelname)s] %(message)s
|
||||
log_cli_date_format = %Y-%m-%d %H:%M:%S
|
||||
|
||||
# 报告配置
|
||||
render_collapsed = all
|
||||
Reference in New Issue
Block a user