Skip to content

Commit

Permalink
🔥 Remove test ID
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed May 2, 2023
1 parent 04fa796 commit da9e85f
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions packages/editor-ui/src/components/ParameterInputWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,21 @@
@textInput="onTextInput"
@valueChanged="onValueChanged"
/>
<div data-test-id="parameter-input-hint">
<input-hint
v-if="expressionOutput"
:class="$style.hint"
data-test-id="parameter-expression-preview"
class="ph-no-capture"
:highlight="!!(expressionOutput && targetItem) && isInputParentOfActiveNode"
:hint="expressionOutput"
:singleLine="true"
/>
<input-hint
v-else-if="parameterHint"
:class="$style.hint"
:renderHTML="true"
:hint="parameterHint"
/>
</div>
<input-hint
v-if="expressionOutput"
:class="$style.hint"
data-test-id="parameter-expression-preview"
class="ph-no-capture"
:highlight="!!(expressionOutput && targetItem) && isInputParentOfActiveNode"
:hint="expressionOutput"
:singleLine="true"
/>
<input-hint
v-else-if="parameterHint"
:class="$style.hint"
:renderHTML="true"
:hint="parameterHint"
/>
</div>
</template>

Expand Down Expand Up @@ -162,7 +160,6 @@ export default mixins(showMessage, workflowHelpers).extend({
},
expressionValueComputed(): string | null {
const value = isResourceLocatorValue(this.value) ? this.value.value : this.value;
if (!this.activeNode || !this.isValueExpression || typeof value !== 'string') {
return null;
}
Expand Down

0 comments on commit da9e85f

Please sign in to comment.