удаления поправлены, сортировка элементов в титре поправлено, обоюдное удаление поправлено

This commit is contained in:
2026-08-20 12:48:11 +03:00
parent 81fd030846
commit 72d89ec02b
8 changed files with 142 additions and 38 deletions

View File

@@ -12,13 +12,10 @@ def test_mapping_data_group_count_is_right_aligned_before_fixed_arrow():
assert ".hockey-map-data-group summary>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}" in CSS
def test_mapping_vmix_input_selector_preserves_inventory_api_order():
start = JS.index("function mappingInventoryInputs(profile)")
end = JS.index("function mappingInputByKey", start)
block = JS[start:end]
assert "return Array.isArray(profile?.inventory?.inputs) ? [...profile.inventory.inputs] : [];" in block
assert ".sort(" not in block
assert "numberValue" not in block
def test_mapping_inventory_raw_order_remains_available_on_server():
# Build81 intentionally sorts the operator-facing picker by vMix number.
# The Agent/server inventory still preserves the raw API array for identity/rebind work.
assert "function mappingInventoryInputs(profile)" in JS
def test_server_preserves_agent_inventory_array_order():