[Emotion] Use patched Emotion library to resolve Flyout System issue#256086
[Emotion] Use patched Emotion library to resolve Flyout System issue#256086tsullivan merged 8 commits intoelastic:mainfrom
Conversation
|
@elasticmachine merge upstream |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
|
The snapshot failures come from The real difference is that in the original package (1.2.2), Emotion checks Considering these are just a few snapshots, I'm tempted to just update them so that the tests reflect what's in production builds. |
Thanks @tkajtoch. I concluded the same thing I have updated the test snapshots. Earlier this week I sent an email to Kibana contributors asking them to migrate away from tests that assert snapshots of rendered components as this type of this is low-value and brittle. Hopefully as people migrate away from Enzyme they can do so in a way that replaces snapshot tests with things that verify component behaviors with RTL. |
cauemarcondes
left a comment
There was a problem hiding this comment.
Obs exploration changes LGTM
davismcphee
left a comment
There was a problem hiding this comment.
Ran through the Scout test scenario manually to verify. Data Discovery changes LGTM 👍 Thanks for all the investigation here and fixing this!
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#10984[✅] src/platform/plugins/shared/discover/test/scout/ui/parallel.playwright.config.ts: 15/15 tests passed. |
nreese
left a comment
There was a problem hiding this comment.
kibana-presentation changes LGTM - jest snapshot update
code review only
|
/ci |
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Public APIs missing comments
Public APIs missing exports
Page load bundle
Unknown metric groupsAPI count
History
|
…lastic#256086) ## Summary Closes elastic#255318 ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - ~[ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)~ - ~[ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials~ - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - ~[ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~ - ~[ ] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations.~ - ~[ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed~ - ~[ ] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)~ - ~[ ] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels.~ ### Identify risks Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss. Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging. - [x] Added a `resolution` field for `@emotion/sheet` to use an [Elastic fork](https://github.com/elastic/emotion) ([see diff](emotion-js/emotion@main...elastic:emotion:main)). We trust any issue this may add can be caught by functional tests, especially the new one added. --------- Co-authored-by: Tomasz Kajtoch <tomasz.kajtoch@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…lastic#256086) ## Summary Closes elastic#255318 ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - ~[ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)~ - ~[ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials~ - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - ~[ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~ - ~[ ] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations.~ - ~[ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed~ - ~[ ] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)~ - ~[ ] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels.~ ### Identify risks Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss. Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging. - [x] Added a `resolution` field for `@emotion/sheet` to use an [Elastic fork](https://github.com/elastic/emotion) ([see diff](emotion-js/emotion@main...elastic:emotion:main)). We trust any issue this may add can be caught by functional tests, especially the new one added. --------- Co-authored-by: Tomasz Kajtoch <tomasz.kajtoch@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Summary
Closes #255318
Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
[ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support[ ] Documentation was added for features that require explanation or tutorials[ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list[ ] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. Therelease_note:breakinglabel should be applied in these situations.[ ] Flaky Test Runner was used on any tests changed[ ] The PR description includes the appropriate Release Notes section, and the correctrelease_note:*label is applied per the guidelines[ ] Review the backport guidelines and apply applicablebackport:*labels.Identify risks
Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss.
Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging.
resolutionfield for@emotion/sheetto use an Elastic fork (see diff). We trust any issue this may add can be caught by functional tests, especially the new one added.