test: update smoke and regression suites for dual-renderer paths

Offscreen harnesses now resize+show before load, use per-instance webengine profile dirs and explicit exit codes; compaction and bash stream suites follow the renamed internals.
This commit is contained in:
2026-09-17 16:40:06 +08:00
parent 0a62877cde
commit acbf73f2c3
10 changed files with 916 additions and 213 deletions
+3 -1
View File
@@ -173,7 +173,9 @@ _mw_path = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__
"ui", "views", "main_window.py")
with open(_mw_path, "r", encoding="utf-8") as f:
_src = f.read()
check("T9.渲染过滤含 compaction", 'msg["role"] not in ("system", "compaction")' in _src)
# 注意:探针与循环变量名解耦(源码列表推导式用 `m` 或 `msg` 均可),
# 只锁死“渲染过滤排除 system/compaction”这一语义。
check("T9.渲染过滤含 compaction", '["role"] not in ("system", "compaction")' in _src)
# ---------- T12Fix A — 摘要条目 timestamp → P0 失效过期锚点 ----------
# 场景(长程会话 92.7k→11k):保留行里 assistant 的入库 usage 是压缩前快照;