Update hover regression for gesture state machine
This commit is contained in:
parent
a902bfb905
commit
ab3fd4ceca
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue