Skip to content

Commit 6f45d31

Browse files
committed
Add test subject id to inline edit read mode button for test assertions
1 parent 3b953a8 commit 6f45d31

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/pipeline_processors_editor_item

x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/pipeline_processors_editor_item/inline_text_input.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ function _InlineTextInput({
3535
<EuiInlineEditText
3636
size="s"
3737
defaultValue={text || ''}
38+
readModeProps={{ 'data-test-subj': 'inlineTextInputNonEditableText' }}
3839
placeholder={placeholder}
3940
inputAriaLabel={ariaLabel}
4041
isReadOnly={disabled}

0 commit comments

Comments
 (0)