diff --git a/.dump/_experience_browser_check.py b/.dump/_experience_browser_check.py
index f2edbce..ec6a38c 100644
--- a/.dump/_experience_browser_check.py
+++ b/.dump/_experience_browser_check.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-"""V3 产品体验层的真实浏览器冒烟:首页叙事、快捷搜索、图谱阅读器。"""
+"""Classic UI 真实浏览器冒烟:旧导航/旧首页/图谱仍可用,V2/V3 覆盖层不再出现。"""
from __future__ import annotations
import os
@@ -47,7 +47,6 @@ def chrome_dump(path: Path, hash_: str = "", budget: int = 7000) -> str:
def rendered_only(dom: str) -> str:
- # 产物把组件 HTML 模板字符串内联在 ", "", dom, flags=re.I | re.S)
dom = re.sub(r"", "", dom, flags=re.I | re.S)
return dom
@@ -59,60 +58,54 @@ def assert_has(dom: str, *patterns: str):
raise AssertionError("缺少渲染结果:%s" % p)
+def assert_not_has(dom: str, *patterns: str):
+ for p in patterns:
+ if re.search(p, dom, re.S):
+ raise AssertionError("经典 UI 不应出现:%s" % p)
+
+
def check_home():
dom = rendered_only(chrome_dump(TARGET))
- assert_has(
- dom,
- r'