kibana
kibana copied to clipboard
[ML] Data Frame Analytics functional tests: ensure consistent testing of ROC chart in results
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.
- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
- [ ] Documentation was added for features that require explanation or tutorials
- [ ] Unit or functional tests were updated or added to match the most common scenarios
- [ ] Flaky Test Runner was used on any tests changed
- [ ] Any UI touched in this PR is usable by keyboard only (learn more about keyboard accessibility)
- [ ] Any UI touched in this PR does not create any new axe failures (run axe in browser: FF, Chrome)
- [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
- [ ] This renders correctly on smaller devices using a responsive layout. (You can test this in your browser)
- [ ] This was checked for cross-browser compatibility
Pinging @elastic/ml-ui (:ml)
@elasticmachine merge upstream
LGTM 🎉
:green_heart: Build Succeeded
- Buildkite Build
- Commit: 0233ee1ac6bc95ea2ebeca24af84cf681e566697
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