Skip to content

chore(core): Cover font construction with unit (snapshot) tests#262103

Merged
awahab07 merged 1 commit into
elastic:mainfrom
awahab07:251576_Follow-up_Add-font-face-structuring-tests-in-Kibana
Apr 10, 2026
Merged

chore(core): Cover font construction with unit (snapshot) tests#262103
awahab07 merged 1 commit into
elastic:mainfrom
awahab07:251576_Follow-up_Add-font-face-structuring-tests-in-Kibana

Conversation

@awahab07
Copy link
Copy Markdown
Contributor

@awahab07 awahab07 commented Apr 8, 2026

Summary

Small follow-up to #251576 to add missing unit coverage for src/core/packages/rendering/server-internal/src/views/fonts.tsx.

The new test verifies the generated @font-face CSS handles optional declarations correctly:

  • Elastic UI Numeric emits both font-display and unicode-range
  • Inter omits optional declarations when they are not configured
  • Roboto Mono emits unicode-range without font-display

@awahab07 awahab07 added chore Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting labels Apr 8, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-core (Team:Core)

@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Apr 8, 2026

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #9 / should call onSelectionChange on user selection

Metrics [docs]

‼️ ERROR: no builds found for mergeBase sha [0cd3493]

History

@awahab07 awahab07 merged commit e8465f6 into elastic:main Apr 10, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting chore release_note:skip Skip the PR/issue when compiling release notes Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants