chore(h5): 清空「上次比价」横幅静态 mock 占位文案(窑鸡王/¥57.9/淘宝)
横幅默认 display:none + 真实数据覆盖,占位本不显示;清空源码里的 mock 串,留结构与标签(最低价/去查看)。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -80,6 +80,7 @@ def test_h5_home_last_compare_wired(client) -> None:
|
||||
assert "/api/v1/compare/records" in body # 接真实比价记录端点
|
||||
assert "pickFreshLastCompare" in body # 4 分钟新鲜窗口逻辑
|
||||
assert "DEFAULT_LAST_COMPARE_RECORD" not in body # 写死 mock 默认已移除
|
||||
assert 'id="lastCompareShop">窑鸡王' not in body # 横幅店名静态 mock 占位已清空
|
||||
|
||||
|
||||
def test_compare_records_requires_auth(client) -> None:
|
||||
|
||||
Reference in New Issue
Block a user