fix: ignore warnings when running cypress

This commit is contained in:
Sagar Vora 2026-01-08 13:17:55 +05:30
parent cbb277dd62
commit aa8210a6fe

View file

@ -465,7 +465,13 @@ def run_ui_tests(
os.chdir(app_base_path)
node_bin = subprocess.getoutput("(cd ../frappe && yarn bin)")
node_bin = subprocess.run(
"(cd ../frappe && yarn bin)",
shell=True,
stdout=subprocess.PIPE,
stderr=subprocess.DEVNULL,
text=True,
).stdout.strip()
cypress_path = f"{node_bin}/cypress"
drag_drop_plugin_path = f"{node_bin}/../@4tw/cypress-drag-drop"
real_events_plugin_path = f"{node_bin}/../cypress-real-events"