Skip to content

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

test(dashboard): add playwright fixture and skip when not available

JerrettDaviscc7ad822f47e
diff --git a/tests/test_dashboard/test_live_feed.py b/tests/test_dashboard/test_live_feed.py
index b135b768b..171afbcd8 100644
--- a/tests/test_dashboard/test_live_feed.py
+++ b/tests/test_dashboard/test_live_feed.py
@@ -1,4 +1,20 @@
import pytest
+from playwright.sync_api import sync_playwright
+
+pytest.importorskip("playwright", reason="Playwright not installed — dashboard E2E tests skipped")
+
+
[email protected](scope="module")
+def browser():
+ with sync_playwright() as p:
+ b = p.chromium.launch()
+ yield b
+ b.close()
+
+
+def page(browser):
+ return browser.new_page()
@pytest.fixture