diff --git a/h5/home/assets/welfare/index/coin-icon.png b/h5/home/assets/welfare/index/coin-icon.png new file mode 100644 index 0000000..02861d3 Binary files /dev/null and b/h5/home/assets/welfare/index/coin-icon.png differ diff --git a/tests/test_h5_hosting.py b/tests/test_h5_hosting.py index 79399bd..8164f3a 100644 --- a/tests/test_h5_hosting.py +++ b/tests/test_h5_hosting.py @@ -87,3 +87,9 @@ def test_compare_records_requires_auth(client) -> None: # 横幅靠 Bearer token 才拿得到数据;无鉴权必须 401(无桥/未登录时横幅隐藏) resp = client.get("/api/v1/compare/records?limit=5") assert resp.status_code == 401 + + +def test_h5_home_coupon_popup_coin_icon_served(client) -> None: + # 「去领取」弹窗右上角金币图标:welfare 资源子树曾漏本地化 → 404 不显示;补齐后须 200 + resp = client.get("/h5/home/assets/welfare/index/coin-icon.png") + assert resp.status_code == 200