Squash Odysseus development history

This commit is contained in:
pewdiepie-archdaemon
2026-09-11 06:04:19 +00:00
parent e5c99a5eee
commit 6ee6502010
2050 changed files with 538359 additions and 57745 deletions
+20
View File
@@ -0,0 +1,20 @@
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
def test_agent_thread_chevron_uses_css_shape_in_live_and_history_renderers():
live = (ROOT / "static/js/chat.js").read_text()
history = (ROOT / "static/js/chatRenderer.js").read_text()
css = (ROOT / "static/style.css").read_text()
for src in (live, history):
assert 'class="agent-thread-chevron" aria-hidden="true"></span>' in src
assert 'class="agent-thread-chevron">\\u25B6</span>' not in src
assert ".agent-thread-chevron::before" in css
assert "border-top: 4px solid transparent;" in css
assert "border-bottom: 4px solid transparent;" in css
assert "border-left: 6px solid currentColor;" in css
assert ".agent-thread-node.open .agent-thread-chevron::before" in css