fixed tests w/ burnettk
This commit is contained in:
parent
d888c37b07
commit
1816c7f088
|
@ -131,8 +131,8 @@ describe('Properties Panel for User Tasks', function () {
|
||||||
eventBus.fire('spiff.jsonSchema.update', {
|
eventBus.fire('spiff.jsonSchema.update', {
|
||||||
value: 'new-schema.json',
|
value: 'new-schema.json',
|
||||||
});
|
});
|
||||||
const jsonFile = getExtensionValue(userElement, 'formJsonSchemaFilename');
|
const jsonFile = getExtensionValue(userElement.businessObject, 'formJsonSchemaFilename');
|
||||||
const uiFile = getExtensionValue(userElement, 'formUiSchemaFilename');
|
const uiFile = getExtensionValue(userElement.businessObject, 'formUiSchemaFilename');
|
||||||
expect(jsonFile).to.equal('new-schema.json');
|
expect(jsonFile).to.equal('new-schema.json');
|
||||||
expect(uiFile).to.equal('new-uischema.json');
|
expect(uiFile).to.equal('new-uischema.json');
|
||||||
|
|
||||||
|
@ -155,7 +155,7 @@ describe('Properties Panel for User Tasks', function () {
|
||||||
const businessObject = getBusinessObject(userElement);
|
const businessObject = getBusinessObject(userElement);
|
||||||
// The change is reflected in the business object
|
// The change is reflected in the business object
|
||||||
let instructions = getExtensionValue(
|
let instructions = getExtensionValue(
|
||||||
userElement,
|
businessObject,
|
||||||
'spiffworkflow:InstructionsForEndUser'
|
'spiffworkflow:InstructionsForEndUser'
|
||||||
);
|
);
|
||||||
expect(instructions).to.equal('#Hello!');
|
expect(instructions).to.equal('#Hello!');
|
||||||
|
|
Loading…
Reference in New Issue