-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Failing test: Jest Tests.src/plugins/vis_type_vega/public #71834
Conversation
|
||
await vegaVis.render(vegaParser); | ||
const vegaView = vegaVis._vegaView._view; | ||
expect(vegaView.height()).toBe(250.00000001); |
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.
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@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.
I think problem was in that line.
Quite possible. Actually, while we are at it - I introduced this weird hack a while back because the height signal would not work right when the height of the canvas is an even number.
https://github.com/flash1293/kibana/blob/97d81288bd1d3e19e8dece12c08d1cb9dbe1203a/src/plugins/vis_type_vega/public/vega_view/vega_base_view.js#L200
As we updated to vega 5 lately it's very possible this bug got fixed. If this is. the case, let's not just remove the test but the workaround itself as well. Could you test whether that's the case?
The test spec deleted in this PR is a good way to validate:
https://github.com/elastic/kibana/pull/71834/files#diff-ac66b0b6d3fe13ce5d2bc22b202f7450L194-L213
This should display a centered "Test" text. When slowly changing the height of the browser window, the text should stay centered - if the bug is still present in vega, it will jump to the top and back to the center.
@elasticmachine merge upstream |
#31461 fix was removed. All works fine with new version of Vega |
Pinging @elastic/kibana-app (Team:KibanaApp) |
Pinging @elastic/kibana-test-triage (failed-test) |
💚 Build SucceededBuild metricsasync chunks size
History
To update your PR or re-run it, just comment with: |
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.
Seen it works, code LGTM
) * Failing test: Jest Tests.src/plugins/vis_type_vega/public * remove workaround for vega height bug Related to elastic#31461 Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* master: (35 commits) Migrated karma tests to jest (elastic#72649) Migrate status page app to core (elastic#72017) Failing test: Jest Tests.src/plugins/vis_type_vega/public (elastic#71834) Fix Firefox TSVB flaky test with switch index patterns (elastic#72882) [ML] Fixing link to index management from file data visualizer (elastic#72863) test: 💍 add test for sub-expression variables (elastic#71644) fix bug (elastic#72809) [keystore] use get_keystore in server cli (elastic#72954) Show step number instead of incomplete step. (elastic#72866) Fix bug where user can't add an exception when "close alert" is checked (elastic#72919) [Monitoring] Fix issues displaying alerts (elastic#72891) [Ingest Manager] Add more Fleet concurrency tests elastic#71744 (elastic#72338) [Security Solution][Exceptions] - Update UI exceptions builder nested logic (elastic#72490) disable renovate masterIssue [ML] API integration tests for UPDATE data frame analytics endpoint (elastic#72710) [Uptime] Fix accessibility issue in Uptime app nav links (elastic#72926) [Maps] fix removing global filter from layer can cause app to start thrashing (elastic#72763) [Maps] fix blended layer aggregation error when using composite aggregation (elastic#72759) fix unexpected arguments to unload command Limits the upload size of lists to 9 meg size (elastic#72898) ...
Closes: #71713
Summary
A test failed on a tracked branch
First failure: Jenkins Build
Checklist
Delete any items that are not applicable to this PR.
For maintainers