Update hover regression for gesture state machine

This commit is contained in:
dobby-d-elf committed 2026-05-17 12:54:11 -06:00
1 parent a902bfb905
commit ab3fd4ceca
1 file changed
+4 -4
@@ -118,10 +118,10 @@ def test_timestamp_hidden_when_attention_state_is_present():
def test_plain_mouse_hover_does_not_mark_session_row_dragging():
"""Pointermove fires during ordinary hover; drag styling must require an active press."""
assert "let _pointerActive=false;" in SESSIONS_JS
assert "_pointerActive=true;" in SESSIONS_JS
assert "if(!_pointerActive) return;" in SESSIONS_JS
assert "_pointerActive=false;" in SESSIONS_JS
assert "let _gestureState='idle';" in SESSIONS_JS
assert "_gestureState='pressing';" in SESSIONS_JS
assert "if(_gestureState==='idle') return;" in SESSIONS_JS
assert "_gestureState='idle';" in SESSIONS_JS
assert ".session-item.dragging:hover" in STYLE_CSS