-
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
unskip Chrome UI Functional Tests.test/functional/apps/dashboard/group3/dashboard_state·ts #152245
Conversation
…-ref HEAD~1..HEAD --fix'
Pinging @elastic/kibana-presentation (Team:Presentation) |
@elasticmachine merge upstream |
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.
lgtm! nice cleanup!
code review
💚 Build Succeeded
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
…p3/dashboard_state·ts (elastic#152245) Fixes elastic#139762 flaky test runner https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1965 2 changes where required to get functional tests running * Switch application state updating from string replace to rison decode/encode. `_a` is not longer provided in the URL unless there are unsaved changes to simple string replace did not work in some cases. Using rison decode/encode was easier then handling a lot of if statements around whether `_a` exists before attempting string replace, plus rison decode/encode is a lot more maintainable and robust. * Fix bug where appending `&_a=(panels:())` to URL would not remove panels. Updated logic in sync_dashboard_url_state to handle case where panels has no length. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Fixes #139762
flaky test runner https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1965
2 changes where required to get functional tests running
_a
is not longer provided in the URL unless there are unsaved changes to simple string replace did not work in some cases. Using rison decode/encode was easier then handling a lot of if statements around whether_a
exists before attempting string replace, plus rison decode/encode is a lot more maintainable and robust.&_a=(panels:())
to URL would not remove panels. Updated logic in sync_dashboard_url_state to handle case where panels has no length.