mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
Feat: UI testing automation with playwright (#12749)
### What problem does this PR solve? This PR helps automate the testing of the ui interface using pytest Playwright ### Type of change - [x] New Feature (non-breaking change which adds functionality) - [x] Other (please describe): test automation infrastructure --------- Co-authored-by: Liu An <asiro@qq.com>
This commit is contained in:
@@ -174,6 +174,7 @@ test = [
|
||||
"requests>=2.32.2",
|
||||
"requests-toolbelt>=1.0.0",
|
||||
"pycryptodomex==3.20.0",
|
||||
"pytest-playwright>=0.7.2",
|
||||
"codecov>=2.1.13",
|
||||
]
|
||||
|
||||
@@ -211,9 +212,12 @@ python_classes = ["Test*"]
|
||||
python_functions = ["test_*"]
|
||||
|
||||
markers = [
|
||||
"p0: critical priority test cases",
|
||||
"p1: high priority test cases",
|
||||
"p2: medium priority test cases",
|
||||
"p3: low priority test cases",
|
||||
"smoke: smoke test cases",
|
||||
"auth: authentication UI tests",
|
||||
]
|
||||
|
||||
# Test collection and runtime configuration
|
||||
|
||||
Reference in New Issue
Block a user