mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-28806 Consume-dynamic-Drop-Down-Radio-Button-form-variables (#10442)
* [AAE-28806] Enable form variables in REST for RadioButton * [AAE-28806] Enable form variables in REST for Dropdown widget * [AAE-28806] removed debugging information * [AAE-28806] Removed code repitition * [AAE-28806] Made fields readonly * [AAE-28806] fixed pipeline --------- Co-authored-by: Andreas Philippi <90837097+andrphilippi@users.noreply.github.com>
This commit is contained in:
@@ -555,11 +555,21 @@ describe('FormModel', () => {
|
||||
expect(value).toBeUndefined();
|
||||
});
|
||||
|
||||
it('should find a process variable by form variable name', () => {
|
||||
it('should find a process variable by full form variable name', () => {
|
||||
const value = form.getProcessVariableValue('variables.name1');
|
||||
expect(value).toBe('hello');
|
||||
});
|
||||
|
||||
it('should find a process variable by form variable name', () => {
|
||||
const value = form.getProcessVariableValue('name1');
|
||||
expect(value).toBe('hello');
|
||||
});
|
||||
|
||||
it('should find default form variable by form variable name', () => {
|
||||
const value = form.getProcessVariableValue('name2');
|
||||
expect(value).toBe('29.09.2019T00:00:00.000Z');
|
||||
});
|
||||
|
||||
it('should find a process variable by name', () => {
|
||||
const value = form.getProcessVariableValue('booleanVar');
|
||||
expect(value).toEqual(true);
|
||||
|
Reference in New Issue
Block a user