mirror of
https://github.com/nesquena/hermes-webui.git
synced 2026-07-20 22:51:07 +00:00
test(#5201): widen sse-visibility reopen window to 2200 after master-rebase (maintainer rebase-fix)
The rebase onto current master (which carries #5172's window bumps) left the reopen-path test window at 1600, but #5201 grows startSessionStream so the 'else if (_sessionStreamHiddenSid)' reopen assertion now lands at offset ~1741. Widen to 2200 (matching #5201's sibling windows) so the assertion reaches the code. Test-window only; production unchanged.
This commit is contained in:
@@ -61,7 +61,7 @@ def test_session_stream_reopens_from_dedicated_var_not_nulled_id():
|
||||
)
|
||||
|
||||
start_idx = MESSAGES_JS.find("function startSessionStream(sid)")
|
||||
block = MESSAGES_JS[start_idx:start_idx + 1600]
|
||||
block = MESSAGES_JS[start_idx:start_idx + 2200]
|
||||
|
||||
# On hide: capture the id, then stop.
|
||||
assert "_sessionStreamHiddenSid = _sessionStreamSessionId" in block
|
||||
|
||||
Reference in New Issue
Block a user