Skip to content

Commit

Permalink
test: identify input by id and not by tag
Browse files Browse the repository at this point in the history
Required because we don't display `input` for expression editor.
  • Loading branch information
barmac committed Feb 21, 2025
1 parent c0aef63 commit faab365
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/spec/provider/zeebe/ConditionProps.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ describe('provider/zeebe - ConditionProps', function() {
it('should display', inject(async function(elementRegistry, selection) {

// given
const elements = [ 'Flow2', 'Flow3', 'Flow4' ];
const elements = [
'Flow2',
'Flow3',
'Flow4'
];

for (const ele of elements) {
const sequenceFlow = elementRegistry.get(ele);
Expand All @@ -71,7 +75,7 @@ describe('provider/zeebe - ConditionProps', function() {
selection.select(sequenceFlow);
});

const conditionExpressionInput = domQuery('input[name=conditionExpression]', container);
const conditionExpressionInput = domQuery('[id=bio-properties-panel-conditionExpression]', container);

// then
expect(conditionExpressionInput).to.exist;
Expand Down

0 comments on commit faab365

Please sign in to comment.