This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
Update react monorepo (major) #855
Annotations
10 errors
test/components/views/messages/MPollBody-test.tsx#L746
expect(received).toMatchSnapshot()
Snapshot name: `MPollBody renders a poll with no votes 1`
- Snapshot - 12
+ Received + 4
@@ -36,13 +36,11 @@
>
Pizza
</div>
<div
class="mx_PollOption_optionVoteCount"
- >
-
- </div>
+ />
</div>
</div>
<div
class="mx_StyledRadioButton_spacer"
/>
@@ -82,13 +80,11 @@
>
Poutine
</div>
<div
class="mx_PollOption_optionVoteCount"
- >
-
- </div>
+ />
</div>
</div>
<div
class="mx_StyledRadioButton_spacer"
/>
@@ -128,13 +124,11 @@
>
Italian
</div>
<div
class="mx_PollOption_optionVoteCount"
- >
-
- </div>
+ />
</div>
</div>
<div
class="mx_StyledRadioButton_spacer"
/>
@@ -174,13 +168,11 @@
>
Wings
</div>
<div
class="mx_PollOption_optionVoteCount"
- >
-
- </div>
+ />
</div>
</div>
<div
class="mx_StyledRadioButton_spacer"
/>
at Object.toMatchSnapshot (test/components/views/messages/MPollBody-test.tsx:746:27)
|
test/components/views/messages/MPollBody-test.tsx#L799
expect(received).toMatchSnapshot()
Snapshot name: `MPollBody renders a poll that I have not voted in 1`
- Snapshot - 12
+ Received + 4
@@ -36,13 +36,11 @@
>
Pizza
</div>
<div
class="mx_PollOption_optionVoteCount"
- >
-
- </div>
+ />
</div>
</div>
<div
class="mx_StyledRadioButton_spacer"
/>
@@ -82,13 +80,11 @@
>
Poutine
</div>
<div
class="mx_PollOption_optionVoteCount"
- >
-
- </div>
+ />
</div>
</div>
<div
class="mx_StyledRadioButton_spacer"
/>
@@ -128,13 +124,11 @@
>
Italian
</div>
<div
class="mx_PollOption_optionVoteCount"
- >
-
- </div>
+ />
</div>
</div>
<div
class="mx_StyledRadioButton_spacer"
/>
@@ -174,13 +168,11 @@
>
Wings
</div>
<div
class="mx_PollOption_optionVoteCount"
- >
-
- </div>
+ />
</div>
</div>
<div
class="mx_StyledRadioButton_spacer"
/>
at Object.toMatchSnapshot (test/components/views/messages/MPollBody-test.tsx:799:27)
|
test/components/views/messages/MPollBody-test.tsx#L846
expect(received).toMatchSnapshot()
Snapshot name: `MPollBody renders an undisclosed, unfinished poll 1`
- Snapshot - 12
+ Received + 4
@@ -36,13 +36,11 @@
>
Pizza
</div>
<div
class="mx_PollOption_optionVoteCount"
- >
-
- </div>
+ />
</div>
</div>
<div
class="mx_StyledRadioButton_spacer"
/>
@@ -82,13 +80,11 @@
>
Poutine
</div>
<div
class="mx_PollOption_optionVoteCount"
- >
-
- </div>
+ />
</div>
</div>
<div
class="mx_StyledRadioButton_spacer"
/>
@@ -128,13 +124,11 @@
>
Italian
</div>
<div
class="mx_PollOption_optionVoteCount"
- >
-
- </div>
+ />
</div>
</div>
<div
class="mx_StyledRadioButton_spacer"
/>
@@ -174,13 +168,11 @@
>
Wings
</div>
<div
class="mx_PollOption_optionVoteCount"
- >
-
- </div>
+ />
</div>
</div>
<div
class="mx_StyledRadioButton_spacer"
/>
at Object.toMatchSnapshot (test/components/views/messages/MPollBody-test.tsx:846:27)
|
src/components/views/dialogs/spotlight/SpotlightDialog.tsx#L175
TypeError: Cannot read properties of undefined (reading 'getUserIdForRoomId')
at toRoomResult (src/components/views/dialogs/spotlight/SpotlightDialog.tsx:175:43)
at Array.map (<anonymous>)
at map (src/components/views/dialogs/spotlight/SpotlightDialog.tsx:351:42)
at updateMemo (node_modules/react-dom/cjs/react-dom.development.js:16427:19)
at Object.useMemo (node_modules/react-dom/cjs/react-dom.development.js:17067:16)
at useMemo (node_modules/react/cjs/react.development.js:1650:21)
at SpotlightDialog (src/components/views/dialogs/spotlight/SpotlightDialog.tsx:349:36)
at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at updateFunctionComponent (node_modules/react-dom/cjs/react-dom.development.js:19617:20)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21640:16)
at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:26124:20)
at flushSyncCallbacks (node_modules/react-dom/cjs/react-dom.development.js:12042:22)
at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:27099:3)
at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:27023:14)
at flushSync (node_modules/react-dom/cjs/react-dom.development.js:26215:5)
at Object.unmountComponentAtNode (node_modules/react-dom/cjs/react-dom.development.js:29781:5)
at node_modules/@testing-library/react/dist/pure.js:144:23
at act (node_modules/react/cjs/react.development.js:2512:16)
at actWithWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
at cleanupAtContainer (node_modules/@testing-library/react/dist/pure.js:143:26)
at Set.forEach (<anonymous>)
at cleanup (node_modules/@testing-library/react/dist/pure.js:137:21)
at Object.<anonymous> (node_modules/@testing-library/react/dist/index.js:33:25)
|
test/components/views/spaces/ThreadsActivityCentre-test.tsx#L108
expect(received).toMatchSnapshot()
Snapshot name: `ThreadsActivityCentre should render the release announcement 1`
- Snapshot - 10
+ Received + 10
@@ -4,12 +4,12 @@
>
<div
class="mx_ThreadsActivityCentre_container"
>
<button
- aria-controls="floating-ui-6"
- aria-describedby="floating-ui-6"
+ aria-controls=":r8:"
+ aria-describedby=":r8:"
aria-expanded="true"
aria-haspopup="dialog"
aria-label="Threads"
class="_icon-button_bh2qc_17 mx_ThreadsActivityCentreButton"
role="button"
@@ -40,11 +40,11 @@
role="button"
style="border: 0px; height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: fixed; white-space: nowrap; width: 1px; top: 0px; left: 0px;"
tabindex="0"
/>
<span
- aria-owns="floating-ui-12"
+ aria-owns=":re:"
style="border: 0px; height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: fixed; white-space: nowrap; width: 1px; top: 0px; left: 0px;"
/>
<span
data-floating-ui-focus-guard=""
data-type="outside"
@@ -54,25 +54,25 @@
/>
</div>
</div>
<div
data-floating-ui-portal=""
- id="floating-ui-12"
+ id=":re:"
>
<span
data-floating-ui-focus-guard=""
data-floating-ui-inert=""
data-type="inside"
role="button"
style="border: 0px; height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: fixed; white-space: nowrap; width: 1px; top: 0px; left: 0px;"
tabindex="0"
/>
<div
- aria-describedby="floating-ui-5"
- aria-labelledby="floating-ui-4"
+ aria-describedby=":r7:"
+ aria-labelledby=":r6:"
class="_content_1oa1y_17"
- id="floating-ui-6"
+ id=":r8:"
role="dialog"
style="position: absolute; left: 0px; top: 0px; transform: translate(0px, 0px);"
tabindex="-1"
>
<svg
@@ -86,11 +86,11 @@
<path
d="M0,0 H20 L10,12 Q10,12 10,12 Z"
stroke="none"
/>
<clippath
- id="floating-ui-13"
+ id=":rf:"
>
<rect
height="20"
width="20"
x="0"
@@ -98,17 +98,17 @@
/>
</clippath>
</svg>
<h3
class="_typography_yh5dq_162 _font-body-lg-semibold_yh5dq_83 _header_1oa1y_46"
- id="floating-ui-4"
+ id=":r6:"
>
Threads Activity Centre
</h3>
<span
class="_typography_yh5dq_162 _font-body-sm-regular_yh5dq_40 _description_1oa1y_52"
- id="floating-ui-5"
+ id=":r7:"
>
Threads notifications have moved, find them here from now on.
</span>
<button
class="_button_zt6rp_17 _button_1oa1y_57"
at Object.toMatchSnapshot (test/components/views/spaces/ThreadsActivityCentre-test.tsx:108:31)
|
test/components/views/spaces/ThreadsActivityCentre-test.tsx#L129
expect(received).toMatchSnapshot()
Snapshot name: `ThreadsActivityCentre should close the release announcement when the TAC button is clicked 1`
- Snapshot - 5
+ Received + 5
@@ -15,18 +15,18 @@
>
<div
class="mx_ThreadsActivityCentre_container"
>
<button
- aria-controls="radix-3"
+ aria-controls="radix-:r15:"
aria-disabled="false"
aria-expanded="true"
aria-haspopup="menu"
aria-label="Threads"
class="_icon-button_bh2qc_17 mx_ThreadsActivityCentreButton"
data-state="open"
- id="radix-2"
+ id="radix-:r14:"
role="button"
style="--cpd-icon-button-size: 32px;"
tabindex="0"
type="button"
>
@@ -54,27 +54,27 @@
data-radix-popper-content-wrapper=""
dir="ltr"
style="position: fixed; left: 0px; top: 0px; transform: translate(0px, -8px); min-width: max-content; --radix-popper-available-width: 0px; --radix-popper-available-height: -8px; --radix-popper-anchor-width: 0px; --radix-popper-anchor-height: 0px; --radix-popper-transform-origin: 0% 0px;"
>
<div
- aria-labelledby="radix-2"
+ aria-labelledby="radix-:r14:"
aria-orientation="vertical"
class="_menu_1x5h1_17"
data-align="start"
data-orientation="vertical"
data-radix-menu-content=""
data-side="top"
data-state="open"
dir="ltr"
- id="radix-3"
+ id="radix-:r15:"
role="menu"
style="outline: none; --radix-dropdown-menu-content-transform-origin: var(--radix-popper-transform-origin); --radix-dropdown-menu-content-available-width: var(--radix-popper-available-width); --radix-dropdown-menu-content-available-height: var(--radix-popper-available-height); --radix-dropdown-menu-trigger-width: var(--radix-popper-anchor-width); --radix-dropdown-menu-trigger-height: var(--radix-popper-anchor-height); pointer-events: auto;"
tabindex="-1"
>
<h3
class="_typography_yh5dq_162 _font-body-sm-semibold_yh5dq_45 _title_1x5h1_83"
- id=":r1:"
+ id=":r1a:"
>
Threads activity
</h3>
<div
class="mx_ThreadsActivityCentre_rows"
at Object.toMatchSnapshot (test/components/views/spaces/ThreadsActivityCentre-test.tsx:129:31)
|
test/components/views/spaces/ThreadsActivityCentre-test.tsx#L182
expect(received).toMatchSnapshot()
Snapshot name: `ThreadsActivityCentre renders notifications matching the snapshot 1`
- Snapshot - 3
+ Received + 3
@@ -1,23 +1,23 @@
<div
- aria-labelledby="radix-16"
+ aria-labelledby="radix-:r2f:"
aria-orientation="vertical"
class="_menu_1x5h1_17"
data-align="start"
data-orientation="vertical"
data-radix-menu-content=""
data-side="top"
data-state="open"
dir="ltr"
- id="radix-17"
+ id="radix-:r2g:"
role="menu"
style="outline: none; --radix-dropdown-menu-content-transform-origin: var(--radix-popper-transform-origin); --radix-dropdown-menu-content-available-width: var(--radix-popper-available-width); --radix-dropdown-menu-content-available-height: var(--radix-popper-available-height); --radix-dropdown-menu-trigger-width: var(--radix-popper-anchor-width); --radix-dropdown-menu-trigger-height: var(--radix-popper-anchor-height); pointer-events: auto;"
tabindex="-1"
>
<h3
class="_typography_yh5dq_162 _font-body-sm-semibold_yh5dq_45 _title_1x5h1_83"
- id=":r6:"
+ id=":r2l:"
>
Threads activity
</h3>
<div
class="mx_ThreadsActivityCentre_rows"
at Object.toMatchSnapshot (test/components/views/spaces/ThreadsActivityCentre-test.tsx:182:42)
|
test/components/views/spaces/ThreadsActivityCentre-test.tsx#L200
expect(received).toMatchSnapshot()
Snapshot name: `ThreadsActivityCentre should match snapshot when empty 1`
- Snapshot - 3
+ Received + 3
@@ -1,23 +1,23 @@
<div
- aria-labelledby="radix-22"
+ aria-labelledby="radix-:r2v:"
aria-orientation="vertical"
class="_menu_1x5h1_17"
data-align="start"
data-orientation="vertical"
data-radix-menu-content=""
data-side="top"
data-state="open"
dir="ltr"
- id="radix-23"
+ id="radix-:r30:"
role="menu"
style="outline: none; --radix-dropdown-menu-content-transform-origin: var(--radix-popper-transform-origin); --radix-dropdown-menu-content-available-width: var(--radix-popper-available-width); --radix-dropdown-menu-content-available-height: var(--radix-popper-available-height); --radix-dropdown-menu-trigger-width: var(--radix-popper-anchor-width); --radix-dropdown-menu-trigger-height: var(--radix-popper-anchor-height); pointer-events: auto;"
tabindex="-1"
>
<h3
class="_typography_yh5dq_162 _font-body-sm-semibold_yh5dq_45 _title_1x5h1_83"
- id=":r8:"
+ id=":r35:"
>
Threads activity
</h3>
<div
class="mx_ThreadsActivityCentre_rows"
at Object.toMatchSnapshot (test/components/views/spaces/ThreadsActivityCentre-test.tsx:200:42)
|
test/components/views/spaces/ThreadsActivityCentre-test.tsx#L246
expect(received).toMatchSnapshot()
Snapshot name: `ThreadsActivityCentre should order the room with the same notification level by most recent 1`
- Snapshot - 3
+ Received + 3
@@ -1,23 +1,23 @@
<div
- aria-labelledby="radix-24"
+ aria-labelledby="radix-:r36:"
aria-orientation="vertical"
class="_menu_1x5h1_17"
data-align="start"
data-orientation="vertical"
data-radix-menu-content=""
data-side="top"
data-state="open"
dir="ltr"
- id="radix-25"
+ id="radix-:r37:"
role="menu"
style="outline: none; --radix-dropdown-menu-content-transform-origin: var(--radix-popper-transform-origin); --radix-dropdown-menu-content-available-width: var(--radix-popper-available-width); --radix-dropdown-menu-content-available-height: var(--radix-popper-available-height); --radix-dropdown-menu-trigger-width: var(--radix-popper-anchor-width); --radix-dropdown-menu-trigger-height: var(--radix-popper-anchor-height); pointer-events: auto;"
tabindex="-1"
>
<h3
class="_typography_yh5dq_162 _font-body-sm-semibold_yh5dq_45 _title_1x5h1_83"
- id=":r9:"
+ id=":r3c:"
>
Threads activity
</h3>
<div
class="mx_ThreadsActivityCentre_rows"
at Object.toMatchSnapshot (test/components/views/spaces/ThreadsActivityCentre-test.tsx:246:42)
|
test/components/views/rooms/wysiwyg_composer/SendWysiwygComposer-test.tsx#L83
thrown: "Exceeded timeout of 5000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
at it (test/components/views/rooms/wysiwyg_composer/SendWysiwygComposer-test.tsx:83:5)
at Object.describe (test/components/views/rooms/wysiwyg_composer/SendWysiwygComposer-test.tsx:34:1)
|
This job failed
Loading