Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ML] DF Analytics: adds functional tests for edit form #73885

Conversation

alvarezmelissa87
Copy link
Contributor

@alvarezmelissa87 alvarezmelissa87 commented Jul 30, 2020

Summary

Adds functional tests for 'edit' functionality.

Flaky test run: https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/719/
Flaky test run for updates: https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/734/
Flaky test run for final update: https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/749/

Checklist

Delete any items that are not applicable to this PR.

@alvarezmelissa87 alvarezmelissa87 added :ml test_ui_functional release_note:skip Skip the PR/issue when compiling release notes Feature:Data Frame Analytics ML data frame analytics features v7.10.0 labels Jul 30, 2020
@alvarezmelissa87 alvarezmelissa87 requested a review from a team as a code owner July 30, 2020 20:56
@alvarezmelissa87 alvarezmelissa87 self-assigned this Jul 30, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)


async assertJobMmlEditValue(expectedValue: string) {
const actualMml = await testSubjects.getAttribute(
'mlAnalyticsEditFlyoutmodelMemoryLimitInput',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: not sure if model is meant to be capitalized but if it's intentional then please disregard this comment

@alvarezmelissa87 alvarezmelissa87 force-pushed the ml-dfanalytics-edit-functional-tests branch from 8b6c99a to 00ad323 Compare August 3, 2020 14:01
@alvarezmelissa87
Copy link
Contributor Author

This has been updated and is ready for a final look when you get a chance @pheyos, @qn895 😄

@qn895
Copy link
Member

qn895 commented Aug 3, 2020

LGTM

@pheyos
Copy link
Member

pheyos commented Aug 5, 2020

Checking test stability in a flaky test runner job... was already done, see PR description.

@alvarezmelissa87 alvarezmelissa87 force-pushed the ml-dfanalytics-edit-functional-tests branch from a2b564a to 4157177 Compare August 5, 2020 14:48
Copy link
Member

@pheyos pheyos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉
Thanks for adding these tests @alvarezmelissa87!

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

async chunks size

id value diff baseline
ml 7.9MB +159.0B 7.9MB

History

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

@alvarezmelissa87 alvarezmelissa87 merged commit af358c9 into elastic:master Aug 5, 2020
alvarezmelissa87 added a commit to alvarezmelissa87/kibana that referenced this pull request Aug 5, 2020
* add edit analytics functional test

* adds edit test service

* update edit test wording for clarity

* check flyout closes after edit

* rename testSubj for consitency
@alvarezmelissa87 alvarezmelissa87 deleted the ml-dfanalytics-edit-functional-tests branch August 5, 2020 22:01
alvarezmelissa87 added a commit that referenced this pull request Aug 6, 2020
* add edit analytics functional test

* adds edit test service

* update edit test wording for clarity

* check flyout closes after edit

* rename testSubj for consitency
gmmorris added a commit to gmmorris/kibana that referenced this pull request Aug 6, 2020
* master: (208 commits)
  Observability Overview fix extra basepath prepend for alerting fetch (elastic#74465)
  [Lens] Clean and inline disabling of react-hooks/exhaustive-deps eslint rule (elastic#70010)
  Skip "space with index pattern management disabled" functional test for cloud env (elastic#74073)
  Filter out non-security jobs when collecting Detections telemetry (elastic#74456)
  [Security Solution][Test] Enzyme test for related events button (elastic#74411)
  [SECURITY_SOLUTION] add z-index to get over nav bar (elastic#74427)
  Rename package configs SO to package policies (elastic#74422)
  [DOCS] Add Kibana alerts to Stack Monitoring (elastic#73762)
  skip flaky suite (elastic#71390)
  [ML] DF Analytics: adds functional tests for edit form (elastic#73885)
  Rename agent configs SO to agent policies (elastic#74397)
  [Jenkins] run CI when plugin readmes change (elastic#74388)
  [Metrics UI] Fix validating Metrics Explorer URL (elastic#74311)
  fixing encoding issue with \ for enroll command (elastic#74379)
  [Ingest Manager] Update package registry for testing to f6b01d (elastic#74341)
  Change experimental message for visualizations (elastic#74354)
  [Alerting] Reload the Alerts List when alerts are deleted (elastic#73715)
  [Enterprise Search] Fix/DRY out plugin i18n strings (elastic#74323)
  update empty prompt in analytics list (elastic#74174)
  [Task Manager] Correctly handle `running` tasks when calling RunNow and reduce flakiness in related tests (elastic#73244)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Data Frame Analytics ML data frame analytics features :ml release_note:skip Skip the PR/issue when compiling release notes test_ui_functional v7.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants