Skip to content

Commit

Permalink
[ML] Modifies script for DFA screenshots. (elastic#140105)
Browse files Browse the repository at this point in the history
  • Loading branch information
szabosteve authored Sep 7, 2022
1 parent ed2c3e5 commit 5af2544
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ export default function ({ getService }: FtrProviderContext) {
await ml.dataFrameAnalyticsResults.expandClassificationEvaluationSection(false);
await ml.dataFrameAnalyticsResults.expandFeatureImportanceSection(false);
await ml.dataFrameAnalyticsResults.expandScatterplotMatrixSection(false);
await ml.dataFrameAnalyticsResults.enableResultsTablePreviewHistogramCharts(true);
await ml.dataFrameAnalyticsResults.scrollAnalysisIntoView();
await commonScreenshots.removeFocusFromElement();
await commonScreenshots.takeScreenshot(
Expand Down Expand Up @@ -156,7 +157,7 @@ export default function ({ getService }: FtrProviderContext) {
'confusion-matrix-binary-accuracy',
screenshotDirectories
);
await ml.dataFrameAnalyticsResults.scrollRocCurveChartIntoView();
await ml.dataFrameAnalyticsResults.scrollClassificationEvaluationIntoView();
await commonScreenshots.takeScreenshot(
'flights-classification-roc-curve',
screenshotDirectories
Expand Down

0 comments on commit 5af2544

Please sign in to comment.