Skip to content

Commit

Permalink
chore: add failing choices tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marstamm committed Feb 9, 2024
1 parent a27dc5a commit 3b9c194
Showing 1 changed file with 59 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,65 @@ export const template = {
'type': 'zeebe:property',
'name': 'method'
}
},
{
'id': 'valid',
'label': 'Dropdown',
'type': 'Dropdown',
'choices': [
{
'value': 'opt1',
'name':'opt1'
},
{
'value': 'opt2',
'name': 'opt2'
},
{
'value': 'opt3',
'name': 'opt3',
'condition': {
'property': 'myId',
'equals': 'text'
}
}
],
'binding': {
'type': 'zeebe:property',
'name': 'method'
}
},
{
'id': 'validAllMatch',
'label': 'Dropdown',
'type': 'Dropdown',
'choices': [
{
'value': 'opt1',
'name':'opt1'
},
{
'value': 'opt2',
'name': 'opt2'
},
{
'value': 'opt3',
'name': 'opt3',
'condition': {
'allMatch': [
{
'property': 'myId',
'equals': 'text'
}
]

}
}
],
'binding': {
'type': 'zeebe:property',
'name': 'method'
}
}
]
};
Expand Down

0 comments on commit 3b9c194

Please sign in to comment.