chore(deps): update react monorepo to v19 (major) #4384
Annotations
2 errors and 1 warning
Test:
packages/filter/__tests__/FilterButton.spec.tsx#L56
TestingLibraryElementError: Unable to find an element with the text: Clear filter. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_buttonContainer_5f4754"
data-test-id="filter-button"
>
<button
aria-haspopup="true"
aria-labelledby=":rd: "
class="_button_5f4754 _isClearable_5f4754"
type="button"
>
<span
id=":rd:"
>
<span
class="_name_5f4754"
>
author
</span>
</span>
</button>
<span
class="_Popover-target_2663ad _clearTooltip_5f4754"
data-test-id="popover-target"
>
<button
aria-describedby="popover-:rf:"
aria-label="Clear filter"
class="_IconButton_13e703 _Button_13e703 _Button--icon_13e703 _Button--minimal_13e703 _Button--small_13e703 _clear_5f4754"
data-state="open"
data-test-id="clear-filter-button"
type="button"
>
<svg
aria-hidden="true"
class="_base_b1d28f _small_b1d28f _default_b1d28f Button-icon"
data-icon="cancel"
focusable="false"
role="img"
>
<use
href="#lp-icon-cancel"
/>
</svg>
</button>
</span>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="_buttonContainer_5f4754"
data-test-id="filter-button"
>
<button
aria-haspopup="true"
aria-labelledby=":rd: "
class="_button_5f4754 _isClearable_5f4754"
type="button"
>
<span
id=":rd:"
>
<span
class="_name_5f4754"
>
author
</span>
</span>
</button>
<span
class="_Popover-target_2663ad _clearTooltip_5f4754"
data-test-id="popover-target"
>
<button
aria-describedby="popover-:rf:"
aria-label="Clear filter"
class="_IconButton_13e703 _Button_13e703 _Button--icon_13e703 _Button--minimal_13e703 _Button--small_13e703 _clear_5f4754"
data-state="open"
data-test-id="clear-filter-button"
type="button"
>
<svg
aria-hidden="true"
class="_base_b1d28f _small_b1d28f _default_b1d28f Button-icon"
data-icon="cancel"
focusable="false"
role="img"
>
<use
href="#lp-icon-cancel"
/>
</svg>
</button>
</span>
</div>
</div>
</body>
</html>
❯ waitFor ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ __tests__/FilterButton.spec.tsx:56:10
|
Test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading