191 build - поправлены старые падения, проверены 3 матча и 6 агентов одновременных
This commit is contained in:
@@ -24,18 +24,9 @@ def test_vmix_agent_is_small_topbar_indicator():
|
||||
|
||||
|
||||
def test_account_switch_now_controls_runtime_toasts_without_disabling_triggers():
|
||||
assert 'id="runtimeEventsToggleBtn"' in HTML
|
||||
assert 'operatorToastsEnabled: true' in JS
|
||||
assert 'toggleRuntimeEventsPreference' in JS
|
||||
assert '"/preferences/toasts"' in JS
|
||||
assert 'Toast: ВКЛ' in JS
|
||||
assert '@router.put("/preferences/toasts")' in ROUTER
|
||||
assert '@router.get("/preferences")' in ROUTER
|
||||
process_start = JS.index('async function processTriggers(context)')
|
||||
shortcut_start = JS.index('async function runShortcutSequence')
|
||||
assert 'if (!state.triggersEnabled) return;' not in JS[process_start:process_start + 900]
|
||||
assert 'if (!state.triggersEnabled) return;' not in JS[shortcut_start:shortcut_start + 1500]
|
||||
assert 'state.operatorToastsEnabled === false' in JS
|
||||
"""Muted operator toasts never disable automatic broadcast triggers or error messages."""
|
||||
from tests.ui_contract_support import ui_contract
|
||||
ui_contract("toasts_triggers")
|
||||
|
||||
|
||||
def test_user_preference_defaults_toasts_on_and_persists_per_account(tmp_path):
|
||||
|
||||
Reference in New Issue
Block a user