-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SALTO-4207: Missing reference in FlexiPage criterias #7243
Conversation
@@ -60,8 +61,8 @@ describe('changeValidator', () => { | |||
metadataType: ITEM_INSTANCE, | |||
}, | |||
fields: { | |||
[COMPONENT_INSTANCE_FILED_NAMES.COMPONENT_INSTANCE_PROPERTIES]: { | |||
refType: new ListType(componentInstanceProperty), | |||
[ITEM_INSTANCE_FIELD_NAMES.COMPONENT]: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a bug you found?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It’s not a bug, the structure of the mocked Flow instance doesn’t affect the functionality. I wanted the structure to be correct, and apparently, ItemInstance contains a single ComponentInstance rather than an array of instances: here
expect(componentInstanceCreatedReference).toBeInstanceOf(ReferenceExpression) | ||
expect(itemComponentInstanceCreatedReference).toBeInstanceOf(ReferenceExpression) | ||
expect(fieldInstanceCreatedReference).toBeInstanceOf(ReferenceExpression) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we want to check we got the right reference?
7455508
to
7b3fcb2
Compare
7b3fcb2
to
e0ab514
Compare
SALTO-4207: Missing reference in FlexiPage criterias
Workspace Diff: salto-io/almog-sf@75f4631#diff-bf6841af5dcdd8f35c9cacd4cbee8c00d31a550c52f2d40ab84298d222163cc8
Release Notes:
Salesforce Adapter:
User Notifications:
Salesforce Adapter: