Skip to content

Conversation

@qn895
Copy link
Member

@qn895 qn895 commented Feb 24, 2021

Summary

Part of #88811. This PR adds functional tests for Transform runtime mappings editor during cloning and creation. It validates:

  • The runtime mappings editor is showing the runtime config correctly
  • The index data preview is showing the runtime fields correctly (the cells should not be empty)
  • The group by/aggregation should have the runtime fields
  • The Transform preview is showing correctly (the cells should not be empty for Pivot)
  • The index pattern is created with the runtime mappings defined

Checklist

@qn895 qn895 self-assigned this Feb 24, 2021
@qn895 qn895 mentioned this pull request Feb 24, 2021
9 tasks
@qn895 qn895 marked this pull request as ready for review February 25, 2021 14:56
@qn895 qn895 requested a review from a team as a code owner February 25, 2021 14:56
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@qn895 qn895 added the release_note:skip Skip the PR/issue when compiling release notes label Feb 25, 2021
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 🎉
Just one small suggestion.

@qn895
Copy link
Member Author

qn895 commented Mar 1, 2021

Started flaky test suite runner... Successful after 42 runs ✅

@qn895
Copy link
Member Author

qn895 commented Mar 8, 2021

@elasticmachine merge upstream

@qn895 qn895 requested a review from darnautov March 8, 2021 15:23
@qn895 qn895 added v7.13.0 and removed v7.12.0 labels Mar 8, 2021
Copy link
Contributor

@darnautov darnautov left a comment

Choose a reason for hiding this comment

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

LGTM

await transform.testExecution.logTestStep('redirects to Discover page');
await transform.wizard.redirectToDiscover();

if (testData.type === 'latest') {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if (testData.type === 'latest') {
if (isLatestTransformTestData(testData)) {

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated here 24bb5d1

Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

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

LGTM

@qn895
Copy link
Member Author

qn895 commented Mar 9, 2021

Started flaky test suite runner... Successful after 42 runs ✅

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
ml 6.4MB 6.4MB -1.0B
transform 946.1KB 946.2KB +65.0B
total +64.0B

History

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

cc @qn895

@qn895 qn895 added the auto-backport Deprecated - use backport:version if exact versions are needed label Mar 9, 2021
@qn895 qn895 merged commit fcf397f into elastic:master Mar 9, 2021
@qn895 qn895 deleted the ml-transform-runtime-tests branch March 9, 2021 17:26
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Mar 9, 2021
…#92738)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

💚 Backport successful

7.x / #94155

Successful backport PRs will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Mar 9, 2021
…#94155)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Quynh Nguyen <43350163+qn895@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Deprecated - use backport:version if exact versions are needed Feature:Transforms Transforms :ml release_note:skip Skip the PR/issue when compiling release notes test_ui_functional v7.13.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants