test(f6.1): require build-safe active operator fallback
This commit is contained in:
@@ -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, /updateAsset\(id, \{[^}]*operatorCompanyId/);
|
||||||
assert.doesNotMatch(editor, /parent\.operatorCompany/);
|
assert.doesNotMatch(editor, /parent\.operatorCompany/);
|
||||||
assert.match(editor, /listCompaniesForArea\(operationalAreaId\)\.then\(\(loadedCompanies\)/);
|
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(editor, /Snapshot histórico de alta/);
|
||||||
assert.match(contextPanel, /Cambiar contexto físico/);
|
assert.match(contextPanel, /Cambiar contexto físico/);
|
||||||
assert.doesNotMatch(contextPanel, /operatorCompanyId:/);
|
assert.doesNotMatch(contextPanel, /operatorCompanyId:/);
|
||||||
|
|||||||
Reference in New Issue
Block a user