release: prepare Hulumath v1.2.0
This commit is contained in:
@@ -180,3 +180,13 @@ def test_math_life_使用独立界面印记面板且清理交叉点():
|
||||
assert "function renderStoryMarks(run)" in app
|
||||
assert "choice.special" in app
|
||||
assert ".story-experience { position: fixed; inset: 0" in styles
|
||||
|
||||
|
||||
def test_home_公众号入口可复制并跳转微信():
|
||||
template = (settings.BASE_DIR / "templates" / "index.html").read_text(encoding="utf-8")
|
||||
app = (STATIC_ROOT / "js" / "app.js").read_text(encoding="utf-8")
|
||||
|
||||
assert 'id="wechat-copy"' in template
|
||||
assert 'href="weixin://"' in template
|
||||
assert "function copyWechatName()" in app
|
||||
assert 'navigator.clipboard.writeText(name)' in app
|
||||
|
||||
Reference in New Issue
Block a user