Skip to content

Commit c3cc4df

Browse files
committed
test: identify input by id and not by tag
Required because we don't display `input` for expression editor.
1 parent cce251f commit c3cc4df

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/spec/provider/zeebe/ConditionProps.spec.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@ describe('provider/zeebe - ConditionProps', function() {
6161
it('should display', inject(async function(elementRegistry, selection) {
6262

6363
// given
64-
const elements = [ 'Flow2', 'Flow3', 'Flow4' ];
64+
const elements = [
65+
'Flow2',
66+
'Flow3',
67+
'Flow4'
68+
];
6569

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

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

7680
// then
7781
expect(conditionExpressionInput).to.exist;

0 commit comments

Comments
 (0)