From a0d3fef62daa3e655f038d6743aa83edd793f566 Mon Sep 17 00:00:00 2001 From: Robert Oskamp Date: Wed, 18 Mar 2020 15:21:19 +0100 Subject: [PATCH] Fix typo --- .../file_based/components/import_settings/simple.js | 2 +- .../services/machine_learning/data_visualizer_file_based.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/ml/public/application/datavisualizer/file_based/components/import_settings/simple.js b/x-pack/plugins/ml/public/application/datavisualizer/file_based/components/import_settings/simple.js index 924ab551b61f5..271b9493aa1f3 100644 --- a/x-pack/plugins/ml/public/application/datavisualizer/file_based/components/import_settings/simple.js +++ b/x-pack/plugins/ml/public/application/datavisualizer/file_based/components/import_settings/simple.js @@ -64,7 +64,7 @@ export const SimpleSettings = ({ checked={createIndexPattern === true} disabled={initialized === true} onChange={onCreateIndexPatternChange} - data-test-subj="mlFileDataVistCreateIndexPatternCheckbox" + data-test-subj="mlFileDataVisCreateIndexPatternCheckbox" /> ); diff --git a/x-pack/test/functional/services/machine_learning/data_visualizer_file_based.ts b/x-pack/test/functional/services/machine_learning/data_visualizer_file_based.ts index f4c617285acdd..eea0a83879ea7 100644 --- a/x-pack/test/functional/services/machine_learning/data_visualizer_file_based.ts +++ b/x-pack/test/functional/services/machine_learning/data_visualizer_file_based.ts @@ -82,7 +82,7 @@ export function MachineLearningDataVisualizerFileBasedProvider( }, async assertCreateIndexPatternCheckboxValue(expectedValue: boolean) { - const isChecked = await testSubjects.isChecked('mlFileDataVistCreateIndexPatternCheckbox'); + const isChecked = await testSubjects.isChecked('mlFileDataVisCreateIndexPatternCheckbox'); expect(isChecked).to.eql( expectedValue, `Expected create index pattern checkbox to be ${expectedValue ? 'checked' : 'unchecked'}` @@ -90,7 +90,7 @@ export function MachineLearningDataVisualizerFileBasedProvider( }, async setCreateIndexPatternCheckboxState(newState: boolean) { - const isChecked = await testSubjects.isChecked('mlFileDataVistCreateIndexPatternCheckbox'); + const isChecked = await testSubjects.isChecked('mlFileDataVisCreateIndexPatternCheckbox'); if (isChecked !== newState) { // this checkbox can't be clicked directly, instead click the corresponding label const panel = await testSubjects.find('mlFileDataVisImportSettingsPanel');