Skip to content

Commit

Permalink
[ML] fix functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
darnautov committed Oct 30, 2020
1 parent 49f3d0e commit 9783cfa
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,13 +185,10 @@ export default function ({ getService }: FtrProviderContext) {
await ml.testExecution.logTestStep('modify the entity config');
await ml.singleMetricViewer.setEntityConfig('geoip.city_name', false, 'name', 'asc');

// make sure anomalous only control has been synced
await ml.singleMetricViewer.assertEntityConfig(
'day_of_week',
false,
'anomaly_score',
'desc'
);
// Make sure anomalous only control has been synced.
// Also sorting by name is enforced because the model plot is enabled
// and anomalous only is disabled
await ml.singleMetricViewer.assertEntityConfig('day_of_week', false, 'name', 'desc');

await ml.testExecution.logTestStep('displays the chart');
await ml.singleMetricViewer.assertChartExist();
Expand Down

0 comments on commit 9783cfa

Please sign in to comment.