feat: add collaborative math board and draw guess mode
This commit is contained in:
@@ -61,9 +61,16 @@ def test_toolbox_and_games_资源入口与移动端触控样式存在():
|
||||
assert "js/games.js" in template
|
||||
assert 'id="whiteboard-canvas"' in template
|
||||
assert 'id="geometry-canvas"' in template
|
||||
assert template.count('data-tool="whiteboard"') == 1
|
||||
assert 'data-tool="geometry"' not in template
|
||||
assert 'id="board-join-form"' in template
|
||||
assert "函数书写规则" in template
|
||||
assert 'id="math-game-list"' in template
|
||||
assert "window.HuluToolbox" in toolbox
|
||||
assert "pointerdown" in toolbox
|
||||
assert "class BoardRealtime" in toolbox
|
||||
assert 'boardRealtime.send("canvas", payload)' in toolbox
|
||||
assert 'boardRealtime.send("geometry", payload)' in toolbox
|
||||
assert "window.HuluGames" in games
|
||||
assert "sudoku-board" in games
|
||||
assert 'errorMessage.className = "form-error game-form-error"' in games
|
||||
|
||||
Reference in New Issue
Block a user