Failing test: Jest Tests.src/plugins/vis_type_vega/public#71834
Failing test: Jest Tests.src/plugins/vis_type_vega/public#71834alexwizp merged 12 commits intoelastic:masterfrom
Conversation
|
|
||
| await vegaVis.render(vegaParser); | ||
| const vegaView = vegaVis._vegaView._view; | ||
| expect(vegaView.height()).toBe(250.00000001); |
|
@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 |
flash1293
left a comment
There was a problem hiding this comment.
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: |
flash1293
left a comment
There was a problem hiding this comment.
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