test(f6.1): require build-safe active operator fallback

This commit is contained in:
2026-09-09 17:36:04 -03:00
parent d9cdb48a26
commit 1dd424698a
@@ -95,7 +95,7 @@ test('F6.1 WEB derives the creation snapshot from the active Area operator and r
assert.doesNotMatch(editor, /updateAsset\(id, \{[^}]*operatorCompanyId/);
assert.doesNotMatch(editor, /parent\.operatorCompany/);
assert.match(editor, /listCompaniesForArea\(operationalAreaId\)\.then\(\(loadedCompanies\)/);
assert.match(editor, /loadedCompanies\.length === 1 \? loadedCompanies\[0\]\.id : ''/);
assert.match(editor, /loadedCompanies\.length === 1 \? \(loadedCompanies\[0\]\?\.id \?\? ''\) : ''/);
assert.match(editor, /Snapshot histórico de alta/);
assert.match(contextPanel, /Cambiar contexto físico/);
assert.doesNotMatch(contextPanel, /operatorCompanyId:/);