feat: rebuild math life around marks and directed endings
This commit is contained in:
@@ -165,3 +165,18 @@ def test_contest_统一玩家池并提供三种实时玩法():
|
||||
assert "state.matchMode = button.dataset.matchMode" in app
|
||||
assert "difficultySelect" not in games
|
||||
assert "body: { game_kind: state.matchMode }" in realtime
|
||||
|
||||
|
||||
def test_math_life_使用独立界面印记面板且清理交叉点():
|
||||
template = (settings.BASE_DIR / "templates" / "index.html").read_text(encoding="utf-8")
|
||||
app = (STATIC_ROOT / "js" / "app.js").read_text(encoding="utf-8")
|
||||
styles = (STATIC_ROOT / "css" / "app.css").read_text(encoding="utf-8")
|
||||
|
||||
assert 'id="story-experience"' in template
|
||||
assert 'id="story-mark-list"' in template
|
||||
assert "数学人生交叉点" not in template
|
||||
assert "<circle " not in template
|
||||
assert '$("#story-experience").classList.remove("hidden")' in app
|
||||
assert "function renderStoryMarks(run)" in app
|
||||
assert "choice.special" in app
|
||||
assert ".story-experience { position: fixed; inset: 0" in styles
|
||||
|
||||
Reference in New Issue
Block a user