diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/pipeline_processors_editor.helpers.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/pipeline_processors_editor.helpers.tsx index 4677ea4b747b5..7c8289592a555 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/pipeline_processors_editor.helpers.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/pipeline_processors_editor.helpers.tsx @@ -183,6 +183,7 @@ type TestSubject = | 'pipelineEditorOnFailureToggle' | 'addProcessorsButtonLevel1' | 'editProcessorForm' + | 'mockCodeEditor' | 'editProcessorForm.submitButton' | 'addProcessorForm.submitButton' | 'addProcessorForm' diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/processors/bytes.test.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/processors/bytes.test.tsx index 9cfeb6b625ca4..0579cc67a054d 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/processors/bytes.test.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/processors/bytes.test.tsx @@ -109,7 +109,7 @@ describe('Processor: Bytes', () => { // Trying to get the monaco text editor to work with CITs. const jsonContent = JSON.stringify({ content: "ctx?.network?.name == 'Guest'" }); - find('mockCodeEditor').simulate('change', { jsonContent }); + await find('mockCodeEditor').simulate('change', { jsonContent }); // Save the field await saveNewProcessor();