Skip to content

Commit

Permalink
[File Data Visualizer] Fixing missing css imports for file stats table (
Browse files Browse the repository at this point in the history
#98312)

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
jgowdyelastic and kibanamachine authored Apr 27, 2021
1 parent 6dd6376 commit c983283
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
@import 'file_datavisualizer_view/index';
@import 'results_view/index';
@import 'analysis_summary/index';
@import 'about_panel/index';
@import 'import_summary/index';
@import 'analysis_summary/index';
@import 'edit_flyout/index';
@import 'embedded_map/index';
@import 'experimental_badge/index';
@import 'file_contents/index';
@import 'file_datavisualizer_view/index';
@import 'import_summary/index';
@import 'results_view/index';
@import 'stats_table/index';
@import 'top_values/top_values';
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const Contents: FC<{
username: string | null;
}> = ({ value, index, username }) => {
return (
<EuiFlexItem>
<EuiFlexItem data-test-subj="fileDataVisFilebeatConfigPanel">
<EuiTitle size="s">
<h5>
<FormattedMessage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ export const ResultsLinks: FC<Props> = ({
<EuiFlexItem>
<EuiCard
icon={<EuiIcon size="xxl" type={`filebeatApp`} />}
data-test-subj="fileDataVisFilebeatConfigLink"
title={
<FormattedMessage
id="xpack.fileDataVisualizer.resultsLinks.fileBeatConfig"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,9 @@ export default function ({ getService }: FtrProviderContext) {

await ml.testExecution.logTestStep('imports the file');
await ml.dataVisualizerFileBased.startImportAndWaitForProcessing();

await ml.testExecution.logTestStep('creates filebeat config');
await ml.dataVisualizerFileBased.selectCreateFilebeatConfig();
});
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,11 @@ export function MachineLearningDataVisualizerFileBasedProvider(
await testSubjects.existOrFail('mlFileImportSuccessCallout');
});
},

async selectCreateFilebeatConfig() {
await testSubjects.scrollIntoView('fileDataVisFilebeatConfigLink');
await testSubjects.click('fileDataVisFilebeatConfigLink');
await testSubjects.existOrFail('fileDataVisFilebeatConfigPanel');
},
};
}

0 comments on commit c983283

Please sign in to comment.