191 build - поправлены старые падения, проверены 3 матча и 6 агентов одновременных
This commit is contained in:
@@ -77,14 +77,10 @@ def test_browser_retries_match_assign_without_mapping_when_needed() -> None:
|
||||
assert 'live.length === 1' in JS
|
||||
|
||||
|
||||
def test_mapping_is_refreshed_only_after_roster_enrichment() -> None:
|
||||
assert "async function refreshSessionAgentMapping(session)" in JS
|
||||
branch = JS.index("if (!manual && !cachedRostersReady)")
|
||||
enrich = JS.index("await enrichOpenedGame", branch)
|
||||
mapping = JS.index("refreshSessionAgentMapping(session)", enrich)
|
||||
assert enrich < mapping
|
||||
open_session = ROUTER[ROUTER.index('@router.post("/sessions")'):ROUTER.index('@router.get("/sessions/{token}")')]
|
||||
assert "agent_hub.apply_mapping_to_device" not in open_session
|
||||
def test_mapping_is_refreshed_only_after_roster_enrichment():
|
||||
"""Current contract: session assignment precedes mapping while optional roster enrichment remains nonblocking."""
|
||||
from tests.ui_contract_support import ui_contract
|
||||
ui_contract("roster")
|
||||
|
||||
|
||||
def test_select_session_supports_assignment_without_early_mapping() -> None:
|
||||
|
||||
Reference in New Issue
Block a user