mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-03-08 17:07:39 +08:00
### 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>
7 lines
151 B
Python
7 lines
151 B
Python
from test.playwright.helpers.env_utils import env_bool
|
|
|
|
|
|
def debug(msg: str) -> None:
|
|
if env_bool("PW_DEBUG_DUMP"):
|
|
print(msg, flush=True)
|