-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Dashboard] Adds migration smoke tests for TSVB panels on dashboard #105655
Conversation
Pinging @elastic/kibana-presentation (Team:Presentation) |
@stratoula Would also love any feedback if you think of any other cases that might should be covered. |
@crob611 it looks awesome! My only feedback is that maybe we should test a 7.13.3 TSVB viz which uses index pattern. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code only review, so I haven't seen the TSVB charts used in these smoke tests - but from what I've heard, you and the Kibana app team were able to create a representative sample.
It will be good to get all of these tests into master, so that we can clean them up all at once after the testing harness is merged, as part of #106290. This PR duplicates coverage of dashboards from 7.13.1, and 7.12.1, so ideally we can write a generic system which loads all of these dashboards at once via kbn_archiver
, then loops through them and runs the same smoke tests. At that point, testing migrations from a new version -> latest will be as easy as appending a new kbn_archiver
export to the end of the file.
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Public APIs missing comments
Any counts in public APIs
Public APIs missing exports
Unknown metric groupsAPI count
References to deprecated APIs
History
To update your PR or re-run it, just comment with: |
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…lastic#105655) * Adds migration smoke tests for TSVB panels on dashboard * Adds index pattern TSVB panel * Update 7.13.3 export Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…lastic#105655) * Adds migration smoke tests for TSVB panels on dashboard * Adds index pattern TSVB panel * Update 7.13.3 export Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Summary
This adds some smoke tests for migration of TSVB By Value panels on a Dashboard.
There are two exported dashboards that get tested by being imported through Saved Object import and confirming the import was successful, and by visiting the dashboard and confirming there are no error panels.
One is created using 7.12.1. It has panels for Time Series, Metric, Top N, Gauge, Markdown, Table, and a Time Series w/ Annotations. It also includes some drilldowns on some panels and tests that those drill downs are also properly migrated.
The second is created using 7.13.3. It has a Time Series panel that is not using a Kibana Index Pattern.