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

[Lens]Test color syncing #86906

Merged
merged 14 commits into from
Jan 7, 2021
Merged

Conversation

flash1293
Copy link
Contributor

@flash1293 flash1293 commented Dec 23, 2020

Adds rudimentary functional test for the color syncing setting on dashboards.

@flash1293
Copy link
Contributor Author

Jenkins, test this

@flash1293 flash1293 added release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.12.0 v8.0.0 Feature:Lens labels Jan 4, 2021
@flash1293 flash1293 marked this pull request as ready for review January 4, 2021 12:18
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@flash1293 flash1293 requested a review from a team January 4, 2021 12:19
@wylieconlon
Copy link
Contributor

@elasticmachine merge upstream

Copy link
Contributor

@wylieconlon wylieconlon left a comment

Choose a reason for hiding this comment

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

Tests LGTM, but left a potential change

await dashboardAddPanel.clickCreateNewLink();
await dashboardAddPanel.clickVisType('lens');
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.lens.goToTimeRange();
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the time range cleared in between the previous page load and this one? I would have expected it to persist.

await PageObjects.lens.save('vis2', true, true);
await PageObjects.header.waitUntilLoadingHasFinished();
await elasticChart.setNewChartUiDebugFlag(true);
await PageObjects.lens.goToTimeRange();
Copy link
Contributor

Choose a reason for hiding this comment

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

Same question here

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

@flash1293
Copy link
Contributor Author

Good catch @wylieconlon - cleaned that up

@flash1293 flash1293 merged commit 3c7bd2f into elastic:master Jan 7, 2021
flash1293 added a commit to flash1293/kibana that referenced this pull request Jan 7, 2021
flash1293 added a commit that referenced this pull request Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Lens release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants