Conversation
…pshots, and updated equality conditions for specific test cases
…ing for strict text equality to account for text coming from the EuiScreenReaderOnly component. Also updated tests to account for EuiIcon text that is now rendered when the icon is imported from .testenv (PR 5709 - elastic/eui#5709).
…into upgrade-eui-52.1.0 Pulling the latest code from the upgrade-eui-52.1.0 branch
…apshots. Updated tests using getAllByLabelText and getByLabelText to getAllByText and getByText respectively as the former have been deprecated
…pshots. Updated instances of getByLabelText and getAllByLabelText to getByText and getAllByText as the former are now deprecated.
| expect(callOut).toMatchSnapshot(); | ||
| expect(mounted.text()).toMatchInlineSnapshot( | ||
| `"There is a problem with this saved objectThe saved search associated with this object no longer exists.If you know what this error means, you can use the Saved objects APIs(opens in a new tab or window) to fix it — otherwise click the delete button above."` | ||
| `"There is a problem with this saved objectThe saved search associated with this object no longer exists.If you know what this error means, you can use the Saved objects APIsExternal link(opens in a new tab or window) to fix it — otherwise click the delete button above."` |
There was a problem hiding this comment.
Hmm I am not sure this change from APIs to APIsExternal link is intended?
There was a problem hiding this comment.
Hey Bamieh, this change comes from PR 5709 (elastic/eui#5709) where all of the icons being used by .testenv now render text as a <span> to notate what the icon is. Now, where an icon would be used, we will see text for that icon inline. I'm in the process of updating the tests that were affected by this.
… Updated required snapshots. Updated various tests to account for text rendering of the EuiIcon text.
…age.json and license_checker/config.ts
|
Pinging @elastic/uptime (Team:uptime) |
YulNaumenko
left a comment
There was a problem hiding this comment.
security_solution and timelines changes LGTM
alisonelizabeth
left a comment
There was a problem hiding this comment.
deployment management changes LGTM
💛 Build succeeded, but was flakyTest Failures
Metrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
thomheymann
left a comment
There was a problem hiding this comment.
security changes LGTM
flash1293
left a comment
There was a problem hiding this comment.
VisEditors changes LGTM, code review only
kertal
left a comment
There was a problem hiding this comment.
LGTM, just snapshot were changed, did also a very basic cloud test, works as expected
|
Merging ahead of the awaiting reviews at the request of the EUI team. If you have any issues here please raise them with EUI, thanks. |
This reverts commit dccd829.
awahab07
left a comment
There was a problem hiding this comment.
Uptime and User Experience plugin changes LGTM. Only reviewed code as just a few tests are changed.
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Summary
eui@51.1.0⏩eui@52.2.0EuiIconcontent including thearia-labelas text. This helps the automated a11y testing suite, but the EUI team is evaluating a different approach that would be less invasive. It's possible that these snapshot changes will be negated in the next release of EUI.52.2.0branchUser,desktopandsessionViewerglyphs toEuiIcon(#5740)52.1.0anchorprop toEuiTourStepto allow for DOM selector attachment (#5696)EuiDataGridnow forcesisExpandableto be true if anycellActionsare passed, as keyboard users are otherwise unable to access cell actions without the expansion popover (#5710)Bug fixes
EuiContextMenurequiring two tab keypresses to advance to the next focusable menu item (#5719)EuiDataGridfooter cell focus bugging out after moving its column (#5720)52.0.0editorChecklistglyph toEuiIcon(#5705)testenvmock forEuiIconto renderaria-labelas text (#5709)compressedprop toEuiFilterGroupand reduced the size of theEuiFilterButtonnotification badge (#5717)EuiSelectableTemplateSitewideinput text when in dark header (#5724)Breaking changes
flushandsizeprops inEuiFilterButtonProps(#5717)CSS-in-JS conversions
EuiMarkto CSS-in-JS styling (#4575)