feat(e2e-tests): 添加端到端测试框架及测试用例
refactor(components): 调整头部和页脚布局样式 style(hero-section): 更新徽章动画效果 docs: 添加测试框架README文档 test: 实现首页、导航和联系表单的测试用例 ci: 添加CI测试脚本和配置
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
[pytest]
|
||||
# 配置文件
|
||||
testpaths = tests
|
||||
python_files = test_*.py
|
||||
python_classes = Test*
|
||||
python_functions = test_*
|
||||
addopts =
|
||||
--tb=short
|
||||
-v
|
||||
markers =
|
||||
smoke: 冒烟测试,快速验证核心功能
|
||||
regression: 回归测试,完整功能验证
|
||||
performance: 性能测试,页面加载和响应时间
|
||||
responsive: 响应式测试,不同屏幕尺寸
|
||||
cross_browser: 跨浏览器测试
|
||||
form: 表单相关测试
|
||||
navigation: 导航测试
|
||||
interactive: 用户交互测试
|
||||
|
||||
[tool:pytest]
|
||||
filterwarnings =
|
||||
ignore::DeprecationWarning
|
||||
ignore::PendingDeprecationWarning
|
||||
ignore::pytest.PytestUnraisableExceptionWarning
|
||||
Reference in New Issue
Block a user