kibana icon indicating copy to clipboard operation
kibana copied to clipboard

[ML] Data Frame Analytics functional tests: ensure consistent testing of ROC chart in results

Open alvarezmelissa87 opened this issue 9 months ago • 2 comments

Summary

Fixes https://github.com/elastic/kibana/issues/176938 Flaky test runner: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5783

In ML data_frame_analytics.x-pack/test/functional/apps/ml/data_frame_analytics/classification_creation_saved_search.ts

The assertColorsInCanvasElement has ongoing flakiness because of color variation dependent on then environment in which the test is run. Due to this, the specific color check for this particular test suite has been replaced with a basic chart check.

The color assertion is less flaky in the other types of DFA creation so this case is still covered by those tests.

Checklist

Delete any items that are not applicable to this PR.

alvarezmelissa87 avatar Apr 26 '24 20:04 alvarezmelissa87

Pinging @elastic/ml-ui (:ml)

elasticmachine avatar Apr 26 '24 20:04 elasticmachine

@elasticmachine merge upstream

alvarezmelissa87 avatar Apr 29 '24 15:04 alvarezmelissa87

LGTM 🎉

qn895 avatar Apr 29 '24 15:04 qn895

:green_heart: Build Succeeded

Metrics [docs]

✅ unchanged

History

  • :green_heart: Build #206455 succeeded 9ed5a9b3d6ef4aa28f042922b935165eecd178ad

To update your PR or re-run it, just comment with: @elasticmachine merge upstream

cc @alvarezmelissa87

kibana-ci avatar Apr 29 '24 17:04 kibana-ci