mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-05-04 01:07:48 +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:
6
test/playwright/helpers/debug_utils.py
Normal file
6
test/playwright/helpers/debug_utils.py
Normal file
@ -0,0 +1,6 @@
|
||||
from test.playwright.helpers.env_utils import env_bool
|
||||
|
||||
|
||||
def debug(msg: str) -> None:
|
||||
if env_bool("PW_DEBUG_DUMP"):
|
||||
print(msg, flush=True)
|
||||
Reference in New Issue
Block a user