This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
Update react monorepo (major) #855
tests.yml
on: pull_request
Matrix: Jest
Element Web Integration Tests
2m 13s
jest-tests
1s
Annotations
21 errors
<SessionManagerTab /> › Sign out › other devices › deletes a device when interactive auth is required:
test/components/views/settings/tabs/user/SessionManagerTab-test.tsx#L1041
expect(jest.fn()).toHaveBeenCalledWith(...expected)
Expected: ["alices_mobile_device"], {"identifier": {"type": "m.id.user", "user": "@alice:server.org"}, "password": "", "type": "m.login.password"}
Received
1
["alices_mobile_device"],
undefined,
2
["alices_mobile_device"],
Object {
"identifier": Object {
"type": "m.id.user",
"user": "@alice:server.org",
},
- "password": "",
+ "password": "topsecret",
"type": "m.login.password",
},
Number of calls: 2
at Object.toHaveBeenCalledWith (test/components/views/settings/tabs/user/SessionManagerTab-test.tsx:1041:58)
|
<SessionManagerTab /> › MSC3906 QR code login › enters qr code login section when show QR code button clicked:
test/components/views/settings/tabs/user/SessionManagerTab-test.tsx#L1700
expect(received).resolves.toBeTruthy()
Received promise rejected instead of resolved
Rejected to value: [TestingLibraryElementError: Unable to find an element by: [data-testid="login-with-qr"]·
Ignored nodes: comments, script, style
<body>
<div
id="mx_Dialog_Container"
/>
<div
id="mx_Dialog_StaticContainer"
/>
<div
id="mx_ContextualMenu_Container"
/>
<div>
<div
class="mx_Spinner"
>
<div
aria-label="Loading…"
class="mx_Spinner_icon"
data-testid="spinner"
role="progressbar"
style="width: 32px; height: 32px;"
/>
</div>
</div>
</body>·
Ignored nodes: comments, script, style
<body>
<div
id="mx_Dialog_Container"
/>
<div
id="mx_Dialog_StaticContainer"
/>
<div
id="mx_ContextualMenu_Container"
/>
<div>
<div
class="mx_Spinner"
>
<div
aria-label="Loading…"
class="mx_Spinner_icon"
data-testid="spinner"
role="progressbar"
style="width: 32px; height: 32px;"
/>
</div>
</div>
</body>]
at expect (node_modules/expect/build/index.js:113:15)
at Object.expect (test/components/views/settings/tabs/user/SessionManagerTab-test.tsx:1700:19)
|
WysiwygComposer › Standard behavior › Should have contentEditable at true:
test/components/views/rooms/wysiwyg_composer/components/WysiwygComposer-test.tsx#L71
expect(element).toHaveAttribute("contentEditable", "true") // element.getAttribute("contentEditable") === "true"
Expected the element to have attribute:
contentEditable="true"
Received:
contentEditable="false"
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class=""
data-testid="WysiwygComposer"
>
<div
class="mx_WysiwygComposer_AutoCompleteWrapper"
data-testid="autocomplete-wrapper"
/>
<div
class="mx_FormattingButtons"
>
<button
aria-label="Bold"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M8.8 19c-.55 0-1.02-.196-1.413-.587A1.926 1.926 0 0 1 6.8 17V7c0-.55.196-1.02.588-1.412A1.926 1.926 0 0 1 8.8 5h3.525c1.083 0 2.083.333 3 1 .917.667 1.375 1.592 1.375 2.775 0 .85-.192 1.504-.575 1.963-.383.458-.742.787-1.075.987.417.183.88.525 1.387 1.025.509.5.763 1.25.763 2.25 0 1.483-.542 2.52-1.625 3.113-1.083.591-2.1.887-3.05.887H8.8Zm1.025-2.8h2.6c.8 0 1.287-.204 1.462-.612.175-.409.263-.705.263-.888 0-.183-.088-.48-.263-.887-.175-.409-.687-.613-1.537-.613H9.825v3Zm0-5.7h2.325c.55 0 .95-.142 1.2-.425a1.4 1.4 0 0 0 .375-.95c0-.4-.142-.725-.425-.975-.283-.25-.65-.375-1.1-.375H9.825V10.5Z"
/>
</svg>
</button>
<button
aria-label="Italic"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6.25 19c-.35 0-.646-.12-.888-.363A1.207 1.207 0 0 1 5 17.75c0-.35.12-.646.362-.887.242-.242.538-.363.888-.363H9l3-9H9.25c-.35 0-.646-.12-.887-.362A1.207 1.207 0 0 1 8 6.25c0-.35.12-.646.363-.888A1.21 1.21 0 0 1 9.25 5h7.5c.35 0 .646.12.887.362.242.242.363.538.363.888s-.12.646-.363.888a1.207 1.207 0 0 1-.887.362H14.5l-3 9h2.25c.35 0 .646.12.887.363.242.241.363.537.363.887s-.12.646-.363.887a1.207 1.207 0 0 1-.887.363h-7.5Z"
/>
</svg>
</button>
<button
aria-label="Underline"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6 21a.967.967 0 0 1-.713-.288A.968.968 0 0 1 5 20a.97.97 0 0 1 .287-.712A.967.967 0 0 1 6 19h12c.283 0 .52.096.712.288.192.191.288.429.288.712s-.096.52-.288.712A.968.968 0 0 1 18 21H6Zm6-4c-1.683 0-2.992-.525-3.925-1.575-.933-1.05-1.4-2.442-1.4-4.175V4.275c0-.35.13-.65.388-.9A1.27 1.27 0 0 1 7.974 3c.35 0 .65.125.9.375s.375.55.375.9V11.4c0 .933.233 1.692.7 2.275.467.583 1.15.875 2.05.875.9 0 1.583-.292 2.05-.875.467-.583.7-1.342.7-2.275V4.275c0-.35.13-.65.387-.9A1.27 1.27 0 0 1 16.05 3c.35 0 .65.125.9.375s.375.55.375.9v6.975c0 1.733-.467 3.125-1.4 4.175C14.992 16.475 13.683 17 12 17Z"
/>
</svg>
</button>
<button
aria-label="Strikethrough"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
|
WysiwygComposer › Standard behavior › Should have focus:
test/components/views/rooms/wysiwyg_composer/components/WysiwygComposer-test.tsx#L71
expect(element).toHaveAttribute("contentEditable", "true") // element.getAttribute("contentEditable") === "true"
Expected the element to have attribute:
contentEditable="true"
Received:
contentEditable="false"
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class=""
data-testid="WysiwygComposer"
>
<div
class="mx_WysiwygComposer_AutoCompleteWrapper"
data-testid="autocomplete-wrapper"
/>
<div
class="mx_FormattingButtons"
>
<button
aria-label="Bold"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M8.8 19c-.55 0-1.02-.196-1.413-.587A1.926 1.926 0 0 1 6.8 17V7c0-.55.196-1.02.588-1.412A1.926 1.926 0 0 1 8.8 5h3.525c1.083 0 2.083.333 3 1 .917.667 1.375 1.592 1.375 2.775 0 .85-.192 1.504-.575 1.963-.383.458-.742.787-1.075.987.417.183.88.525 1.387 1.025.509.5.763 1.25.763 2.25 0 1.483-.542 2.52-1.625 3.113-1.083.591-2.1.887-3.05.887H8.8Zm1.025-2.8h2.6c.8 0 1.287-.204 1.462-.612.175-.409.263-.705.263-.888 0-.183-.088-.48-.263-.887-.175-.409-.687-.613-1.537-.613H9.825v3Zm0-5.7h2.325c.55 0 .95-.142 1.2-.425a1.4 1.4 0 0 0 .375-.95c0-.4-.142-.725-.425-.975-.283-.25-.65-.375-1.1-.375H9.825V10.5Z"
/>
</svg>
</button>
<button
aria-label="Italic"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6.25 19c-.35 0-.646-.12-.888-.363A1.207 1.207 0 0 1 5 17.75c0-.35.12-.646.362-.887.242-.242.538-.363.888-.363H9l3-9H9.25c-.35 0-.646-.12-.887-.362A1.207 1.207 0 0 1 8 6.25c0-.35.12-.646.363-.888A1.21 1.21 0 0 1 9.25 5h7.5c.35 0 .646.12.887.362.242.242.363.538.363.888s-.12.646-.363.888a1.207 1.207 0 0 1-.887.362H14.5l-3 9h2.25c.35 0 .646.12.887.363.242.241.363.537.363.887s-.12.646-.363.887a1.207 1.207 0 0 1-.887.363h-7.5Z"
/>
</svg>
</button>
<button
aria-label="Underline"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6 21a.967.967 0 0 1-.713-.288A.968.968 0 0 1 5 20a.97.97 0 0 1 .287-.712A.967.967 0 0 1 6 19h12c.283 0 .52.096.712.288.192.191.288.429.288.712s-.096.52-.288.712A.968.968 0 0 1 18 21H6Zm6-4c-1.683 0-2.992-.525-3.925-1.575-.933-1.05-1.4-2.442-1.4-4.175V4.275c0-.35.13-.65.388-.9A1.27 1.27 0 0 1 7.974 3c.35 0 .65.125.9.375s.375.55.375.9V11.4c0 .933.233 1.692.7 2.275.467.583 1.15.875 2.05.875.9 0 1.583-.292 2.05-.875.467-.583.7-1.342.7-2.275V4.275c0-.35.13-.65.387-.9A1.27 1.27 0 0 1 16.05 3c.35 0 .65.125.9.375s.375.55.375.9v6.975c0 1.733-.467 3.125-1.4 4.175C14.992 16.475 13.683 17 12 17Z"
/>
</svg>
</button>
<button
aria-label="Strikethrough"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
|
WysiwygComposer › Standard behavior › Should call onChange handler:
test/components/views/rooms/wysiwyg_composer/components/WysiwygComposer-test.tsx#L71
expect(element).toHaveAttribute("contentEditable", "true") // element.getAttribute("contentEditable") === "true"
Expected the element to have attribute:
contentEditable="true"
Received:
contentEditable="false"
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class=""
data-testid="WysiwygComposer"
>
<div
class="mx_WysiwygComposer_AutoCompleteWrapper"
data-testid="autocomplete-wrapper"
/>
<div
class="mx_FormattingButtons"
>
<button
aria-label="Bold"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M8.8 19c-.55 0-1.02-.196-1.413-.587A1.926 1.926 0 0 1 6.8 17V7c0-.55.196-1.02.588-1.412A1.926 1.926 0 0 1 8.8 5h3.525c1.083 0 2.083.333 3 1 .917.667 1.375 1.592 1.375 2.775 0 .85-.192 1.504-.575 1.963-.383.458-.742.787-1.075.987.417.183.88.525 1.387 1.025.509.5.763 1.25.763 2.25 0 1.483-.542 2.52-1.625 3.113-1.083.591-2.1.887-3.05.887H8.8Zm1.025-2.8h2.6c.8 0 1.287-.204 1.462-.612.175-.409.263-.705.263-.888 0-.183-.088-.48-.263-.887-.175-.409-.687-.613-1.537-.613H9.825v3Zm0-5.7h2.325c.55 0 .95-.142 1.2-.425a1.4 1.4 0 0 0 .375-.95c0-.4-.142-.725-.425-.975-.283-.25-.65-.375-1.1-.375H9.825V10.5Z"
/>
</svg>
</button>
<button
aria-label="Italic"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6.25 19c-.35 0-.646-.12-.888-.363A1.207 1.207 0 0 1 5 17.75c0-.35.12-.646.362-.887.242-.242.538-.363.888-.363H9l3-9H9.25c-.35 0-.646-.12-.887-.362A1.207 1.207 0 0 1 8 6.25c0-.35.12-.646.363-.888A1.21 1.21 0 0 1 9.25 5h7.5c.35 0 .646.12.887.362.242.242.363.538.363.888s-.12.646-.363.888a1.207 1.207 0 0 1-.887.362H14.5l-3 9h2.25c.35 0 .646.12.887.363.242.241.363.537.363.887s-.12.646-.363.887a1.207 1.207 0 0 1-.887.363h-7.5Z"
/>
</svg>
</button>
<button
aria-label="Underline"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6 21a.967.967 0 0 1-.713-.288A.968.968 0 0 1 5 20a.97.97 0 0 1 .287-.712A.967.967 0 0 1 6 19h12c.283 0 .52.096.712.288.192.191.288.429.288.712s-.096.52-.288.712A.968.968 0 0 1 18 21H6Zm6-4c-1.683 0-2.992-.525-3.925-1.575-.933-1.05-1.4-2.442-1.4-4.175V4.275c0-.35.13-.65.388-.9A1.27 1.27 0 0 1 7.974 3c.35 0 .65.125.9.375s.375.55.375.9V11.4c0 .933.233 1.692.7 2.275.467.583 1.15.875 2.05.875.9 0 1.583-.292 2.05-.875.467-.583.7-1.342.7-2.275V4.275c0-.35.13-.65.387-.9A1.27 1.27 0 0 1 16.05 3c.35 0 .65.125.9.375s.375.55.375.9v6.975c0 1.733-.467 3.125-1.4 4.175C14.992 16.475 13.683 17 12 17Z"
/>
</svg>
</button>
<button
aria-label="Strikethrough"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
|
WysiwygComposer › Standard behavior › Should call onSend when Enter is pressed:
test/components/views/rooms/wysiwyg_composer/components/WysiwygComposer-test.tsx#L71
expect(element).toHaveAttribute("contentEditable", "true") // element.getAttribute("contentEditable") === "true"
Expected the element to have attribute:
contentEditable="true"
Received:
contentEditable="false"
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class=""
data-testid="WysiwygComposer"
>
<div
class="mx_WysiwygComposer_AutoCompleteWrapper"
data-testid="autocomplete-wrapper"
/>
<div
class="mx_FormattingButtons"
>
<button
aria-label="Bold"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M8.8 19c-.55 0-1.02-.196-1.413-.587A1.926 1.926 0 0 1 6.8 17V7c0-.55.196-1.02.588-1.412A1.926 1.926 0 0 1 8.8 5h3.525c1.083 0 2.083.333 3 1 .917.667 1.375 1.592 1.375 2.775 0 .85-.192 1.504-.575 1.963-.383.458-.742.787-1.075.987.417.183.88.525 1.387 1.025.509.5.763 1.25.763 2.25 0 1.483-.542 2.52-1.625 3.113-1.083.591-2.1.887-3.05.887H8.8Zm1.025-2.8h2.6c.8 0 1.287-.204 1.462-.612.175-.409.263-.705.263-.888 0-.183-.088-.48-.263-.887-.175-.409-.687-.613-1.537-.613H9.825v3Zm0-5.7h2.325c.55 0 .95-.142 1.2-.425a1.4 1.4 0 0 0 .375-.95c0-.4-.142-.725-.425-.975-.283-.25-.65-.375-1.1-.375H9.825V10.5Z"
/>
</svg>
</button>
<button
aria-label="Italic"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6.25 19c-.35 0-.646-.12-.888-.363A1.207 1.207 0 0 1 5 17.75c0-.35.12-.646.362-.887.242-.242.538-.363.888-.363H9l3-9H9.25c-.35 0-.646-.12-.887-.362A1.207 1.207 0 0 1 8 6.25c0-.35.12-.646.363-.888A1.21 1.21 0 0 1 9.25 5h7.5c.35 0 .646.12.887.362.242.242.363.538.363.888s-.12.646-.363.888a1.207 1.207 0 0 1-.887.362H14.5l-3 9h2.25c.35 0 .646.12.887.363.242.241.363.537.363.887s-.12.646-.363.887a1.207 1.207 0 0 1-.887.363h-7.5Z"
/>
</svg>
</button>
<button
aria-label="Underline"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6 21a.967.967 0 0 1-.713-.288A.968.968 0 0 1 5 20a.97.97 0 0 1 .287-.712A.967.967 0 0 1 6 19h12c.283 0 .52.096.712.288.192.191.288.429.288.712s-.096.52-.288.712A.968.968 0 0 1 18 21H6Zm6-4c-1.683 0-2.992-.525-3.925-1.575-.933-1.05-1.4-2.442-1.4-4.175V4.275c0-.35.13-.65.388-.9A1.27 1.27 0 0 1 7.974 3c.35 0 .65.125.9.375s.375.55.375.9V11.4c0 .933.233 1.692.7 2.275.467.583 1.15.875 2.05.875.9 0 1.583-.292 2.05-.875.467-.583.7-1.342.7-2.275V4.275c0-.35.13-.65.387-.9A1.27 1.27 0 0 1 16.05 3c.35 0 .65.125.9.375s.375.55.375.9v6.975c0 1.733-.467 3.125-1.4 4.175C14.992 16.475 13.683 17 12 17Z"
/>
</svg>
</button>
<button
aria-label="Strikethrough"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
|
WysiwygComposer › Standard behavior › Should not call onSend when Shift+Enter is pressed:
test/components/views/rooms/wysiwyg_composer/components/WysiwygComposer-test.tsx#L71
expect(element).toHaveAttribute("contentEditable", "true") // element.getAttribute("contentEditable") === "true"
Expected the element to have attribute:
contentEditable="true"
Received:
contentEditable="false"
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class=""
data-testid="WysiwygComposer"
>
<div
class="mx_WysiwygComposer_AutoCompleteWrapper"
data-testid="autocomplete-wrapper"
/>
<div
class="mx_FormattingButtons"
>
<button
aria-label="Bold"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M8.8 19c-.55 0-1.02-.196-1.413-.587A1.926 1.926 0 0 1 6.8 17V7c0-.55.196-1.02.588-1.412A1.926 1.926 0 0 1 8.8 5h3.525c1.083 0 2.083.333 3 1 .917.667 1.375 1.592 1.375 2.775 0 .85-.192 1.504-.575 1.963-.383.458-.742.787-1.075.987.417.183.88.525 1.387 1.025.509.5.763 1.25.763 2.25 0 1.483-.542 2.52-1.625 3.113-1.083.591-2.1.887-3.05.887H8.8Zm1.025-2.8h2.6c.8 0 1.287-.204 1.462-.612.175-.409.263-.705.263-.888 0-.183-.088-.48-.263-.887-.175-.409-.687-.613-1.537-.613H9.825v3Zm0-5.7h2.325c.55 0 .95-.142 1.2-.425a1.4 1.4 0 0 0 .375-.95c0-.4-.142-.725-.425-.975-.283-.25-.65-.375-1.1-.375H9.825V10.5Z"
/>
</svg>
</button>
<button
aria-label="Italic"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6.25 19c-.35 0-.646-.12-.888-.363A1.207 1.207 0 0 1 5 17.75c0-.35.12-.646.362-.887.242-.242.538-.363.888-.363H9l3-9H9.25c-.35 0-.646-.12-.887-.362A1.207 1.207 0 0 1 8 6.25c0-.35.12-.646.363-.888A1.21 1.21 0 0 1 9.25 5h7.5c.35 0 .646.12.887.362.242.242.363.538.363.888s-.12.646-.363.888a1.207 1.207 0 0 1-.887.362H14.5l-3 9h2.25c.35 0 .646.12.887.363.242.241.363.537.363.887s-.12.646-.363.887a1.207 1.207 0 0 1-.887.363h-7.5Z"
/>
</svg>
</button>
<button
aria-label="Underline"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6 21a.967.967 0 0 1-.713-.288A.968.968 0 0 1 5 20a.97.97 0 0 1 .287-.712A.967.967 0 0 1 6 19h12c.283 0 .52.096.712.288.192.191.288.429.288.712s-.096.52-.288.712A.968.968 0 0 1 18 21H6Zm6-4c-1.683 0-2.992-.525-3.925-1.575-.933-1.05-1.4-2.442-1.4-4.175V4.275c0-.35.13-.65.388-.9A1.27 1.27 0 0 1 7.974 3c.35 0 .65.125.9.375s.375.55.375.9V11.4c0 .933.233 1.692.7 2.275.467.583 1.15.875 2.05.875.9 0 1.583-.292 2.05-.875.467-.583.7-1.342.7-2.275V4.275c0-.35.13-.65.387-.9A1.27 1.27 0 0 1 16.05 3c.35 0 .65.125.9.375s.375.55.375.9v6.975c0 1.733-.467 3.125-1.4 4.175C14.992 16.475 13.683 17 12 17Z"
/>
</svg>
</button>
<button
aria-label="Strikethrough"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
|
WysiwygComposer › Standard behavior › Should not call onSend when ctrl+Enter is pressed:
test/components/views/rooms/wysiwyg_composer/components/WysiwygComposer-test.tsx#L71
expect(element).toHaveAttribute("contentEditable", "true") // element.getAttribute("contentEditable") === "true"
Expected the element to have attribute:
contentEditable="true"
Received:
contentEditable="false"
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class=""
data-testid="WysiwygComposer"
>
<div
class="mx_WysiwygComposer_AutoCompleteWrapper"
data-testid="autocomplete-wrapper"
/>
<div
class="mx_FormattingButtons"
>
<button
aria-label="Bold"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M8.8 19c-.55 0-1.02-.196-1.413-.587A1.926 1.926 0 0 1 6.8 17V7c0-.55.196-1.02.588-1.412A1.926 1.926 0 0 1 8.8 5h3.525c1.083 0 2.083.333 3 1 .917.667 1.375 1.592 1.375 2.775 0 .85-.192 1.504-.575 1.963-.383.458-.742.787-1.075.987.417.183.88.525 1.387 1.025.509.5.763 1.25.763 2.25 0 1.483-.542 2.52-1.625 3.113-1.083.591-2.1.887-3.05.887H8.8Zm1.025-2.8h2.6c.8 0 1.287-.204 1.462-.612.175-.409.263-.705.263-.888 0-.183-.088-.48-.263-.887-.175-.409-.687-.613-1.537-.613H9.825v3Zm0-5.7h2.325c.55 0 .95-.142 1.2-.425a1.4 1.4 0 0 0 .375-.95c0-.4-.142-.725-.425-.975-.283-.25-.65-.375-1.1-.375H9.825V10.5Z"
/>
</svg>
</button>
<button
aria-label="Italic"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6.25 19c-.35 0-.646-.12-.888-.363A1.207 1.207 0 0 1 5 17.75c0-.35.12-.646.362-.887.242-.242.538-.363.888-.363H9l3-9H9.25c-.35 0-.646-.12-.887-.362A1.207 1.207 0 0 1 8 6.25c0-.35.12-.646.363-.888A1.21 1.21 0 0 1 9.25 5h7.5c.35 0 .646.12.887.362.242.242.363.538.363.888s-.12.646-.363.888a1.207 1.207 0 0 1-.887.362H14.5l-3 9h2.25c.35 0 .646.12.887.363.242.241.363.537.363.887s-.12.646-.363.887a1.207 1.207 0 0 1-.887.363h-7.5Z"
/>
</svg>
</button>
<button
aria-label="Underline"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6 21a.967.967 0 0 1-.713-.288A.968.968 0 0 1 5 20a.97.97 0 0 1 .287-.712A.967.967 0 0 1 6 19h12c.283 0 .52.096.712.288.192.191.288.429.288.712s-.096.52-.288.712A.968.968 0 0 1 18 21H6Zm6-4c-1.683 0-2.992-.525-3.925-1.575-.933-1.05-1.4-2.442-1.4-4.175V4.275c0-.35.13-.65.388-.9A1.27 1.27 0 0 1 7.974 3c.35 0 .65.125.9.375s.375.55.375.9V11.4c0 .933.233 1.692.7 2.275.467.583 1.15.875 2.05.875.9 0 1.583-.292 2.05-.875.467-.583.7-1.342.7-2.275V4.275c0-.35.13-.65.387-.9A1.27 1.27 0 0 1 16.05 3c.35 0 .65.125.9.375s.375.55.375.9v6.975c0 1.733-.467 3.125-1.4 4.175C14.992 16.475 13.683 17 12 17Z"
/>
</svg>
</button>
<button
aria-label="Strikethrough"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
|
WysiwygComposer › Standard behavior › Should not call onSend when alt+Enter is pressed:
test/components/views/rooms/wysiwyg_composer/components/WysiwygComposer-test.tsx#L71
expect(element).toHaveAttribute("contentEditable", "true") // element.getAttribute("contentEditable") === "true"
Expected the element to have attribute:
contentEditable="true"
Received:
contentEditable="false"
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class=""
data-testid="WysiwygComposer"
>
<div
class="mx_WysiwygComposer_AutoCompleteWrapper"
data-testid="autocomplete-wrapper"
/>
<div
class="mx_FormattingButtons"
>
<button
aria-label="Bold"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M8.8 19c-.55 0-1.02-.196-1.413-.587A1.926 1.926 0 0 1 6.8 17V7c0-.55.196-1.02.588-1.412A1.926 1.926 0 0 1 8.8 5h3.525c1.083 0 2.083.333 3 1 .917.667 1.375 1.592 1.375 2.775 0 .85-.192 1.504-.575 1.963-.383.458-.742.787-1.075.987.417.183.88.525 1.387 1.025.509.5.763 1.25.763 2.25 0 1.483-.542 2.52-1.625 3.113-1.083.591-2.1.887-3.05.887H8.8Zm1.025-2.8h2.6c.8 0 1.287-.204 1.462-.612.175-.409.263-.705.263-.888 0-.183-.088-.48-.263-.887-.175-.409-.687-.613-1.537-.613H9.825v3Zm0-5.7h2.325c.55 0 .95-.142 1.2-.425a1.4 1.4 0 0 0 .375-.95c0-.4-.142-.725-.425-.975-.283-.25-.65-.375-1.1-.375H9.825V10.5Z"
/>
</svg>
</button>
<button
aria-label="Italic"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6.25 19c-.35 0-.646-.12-.888-.363A1.207 1.207 0 0 1 5 17.75c0-.35.12-.646.362-.887.242-.242.538-.363.888-.363H9l3-9H9.25c-.35 0-.646-.12-.887-.362A1.207 1.207 0 0 1 8 6.25c0-.35.12-.646.363-.888A1.21 1.21 0 0 1 9.25 5h7.5c.35 0 .646.12.887.362.242.242.363.538.363.888s-.12.646-.363.888a1.207 1.207 0 0 1-.887.362H14.5l-3 9h2.25c.35 0 .646.12.887.363.242.241.363.537.363.887s-.12.646-.363.887a1.207 1.207 0 0 1-.887.363h-7.5Z"
/>
</svg>
</button>
<button
aria-label="Underline"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6 21a.967.967 0 0 1-.713-.288A.968.968 0 0 1 5 20a.97.97 0 0 1 .287-.712A.967.967 0 0 1 6 19h12c.283 0 .52.096.712.288.192.191.288.429.288.712s-.096.52-.288.712A.968.968 0 0 1 18 21H6Zm6-4c-1.683 0-2.992-.525-3.925-1.575-.933-1.05-1.4-2.442-1.4-4.175V4.275c0-.35.13-.65.388-.9A1.27 1.27 0 0 1 7.974 3c.35 0 .65.125.9.375s.375.55.375.9V11.4c0 .933.233 1.692.7 2.275.467.583 1.15.875 2.05.875.9 0 1.583-.292 2.05-.875.467-.583.7-1.342.7-2.275V4.275c0-.35.13-.65.387-.9A1.27 1.27 0 0 1 16.05 3c.35 0 .65.125.9.375s.375.55.375.9v6.975c0 1.733-.467 3.125-1.4 4.175C14.992 16.475 13.683 17 12 17Z"
/>
</svg>
</button>
<button
aria-label="Strikethrough"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
|
WysiwygComposer › Standard behavior › Should not call onSend when meta+Enter is pressed:
test/components/views/rooms/wysiwyg_composer/components/WysiwygComposer-test.tsx#L71
expect(element).toHaveAttribute("contentEditable", "true") // element.getAttribute("contentEditable") === "true"
Expected the element to have attribute:
contentEditable="true"
Received:
contentEditable="false"
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class=""
data-testid="WysiwygComposer"
>
<div
class="mx_WysiwygComposer_AutoCompleteWrapper"
data-testid="autocomplete-wrapper"
/>
<div
class="mx_FormattingButtons"
>
<button
aria-label="Bold"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M8.8 19c-.55 0-1.02-.196-1.413-.587A1.926 1.926 0 0 1 6.8 17V7c0-.55.196-1.02.588-1.412A1.926 1.926 0 0 1 8.8 5h3.525c1.083 0 2.083.333 3 1 .917.667 1.375 1.592 1.375 2.775 0 .85-.192 1.504-.575 1.963-.383.458-.742.787-1.075.987.417.183.88.525 1.387 1.025.509.5.763 1.25.763 2.25 0 1.483-.542 2.52-1.625 3.113-1.083.591-2.1.887-3.05.887H8.8Zm1.025-2.8h2.6c.8 0 1.287-.204 1.462-.612.175-.409.263-.705.263-.888 0-.183-.088-.48-.263-.887-.175-.409-.687-.613-1.537-.613H9.825v3Zm0-5.7h2.325c.55 0 .95-.142 1.2-.425a1.4 1.4 0 0 0 .375-.95c0-.4-.142-.725-.425-.975-.283-.25-.65-.375-1.1-.375H9.825V10.5Z"
/>
</svg>
</button>
<button
aria-label="Italic"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6.25 19c-.35 0-.646-.12-.888-.363A1.207 1.207 0 0 1 5 17.75c0-.35.12-.646.362-.887.242-.242.538-.363.888-.363H9l3-9H9.25c-.35 0-.646-.12-.887-.362A1.207 1.207 0 0 1 8 6.25c0-.35.12-.646.363-.888A1.21 1.21 0 0 1 9.25 5h7.5c.35 0 .646.12.887.362.242.242.363.538.363.888s-.12.646-.363.888a1.207 1.207 0 0 1-.887.362H14.5l-3 9h2.25c.35 0 .646.12.887.363.242.241.363.537.363.887s-.12.646-.363.887a1.207 1.207 0 0 1-.887.363h-7.5Z"
/>
</svg>
</button>
<button
aria-label="Underline"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
class="mx_FormattingButtons_Icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6 21a.967.967 0 0 1-.713-.288A.968.968 0 0 1 5 20a.97.97 0 0 1 .287-.712A.967.967 0 0 1 6 19h12c.283 0 .52.096.712.288.192.191.288.429.288.712s-.096.52-.288.712A.968.968 0 0 1 18 21H6Zm6-4c-1.683 0-2.992-.525-3.925-1.575-.933-1.05-1.4-2.442-1.4-4.175V4.275c0-.35.13-.65.388-.9A1.27 1.27 0 0 1 7.974 3c.35 0 .65.125.9.375s.375.55.375.9V11.4c0 .933.233 1.692.7 2.275.467.583 1.15.875 2.05.875.9 0 1.583-.292 2.05-.875.467-.583.7-1.342.7-2.275V4.275c0-.35.13-.65.387-.9A1.27 1.27 0 0 1 16.05 3c.35 0 .65.125.9.375s.375.55.375.9v6.975c0 1.733-.467 3.125-1.4 4.175C14.992 16.475 13.683 17 12 17Z"
/>
</svg>
</button>
<button
aria-label="Strikethrough"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<svg
|
MPollBody › renders a poll with no votes:
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)
|
MPollBody › renders a poll that I have not voted in:
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)
|
MPollBody › renders an undisclosed:
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)
|
Spotlight Dialog › when MSC3946 dynamic room predecessors is enabled › should call getVisibleRooms with MSC3946 dynamic room predecessors:
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)
|
ThreadsActivityCentre › should render the release announcement:
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)
|
ThreadsActivityCentre › should close the release announcement when the TAC button is clicked:
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)
|
ThreadsActivityCentre › renders notifications matching the snapshot:
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)
|
ThreadsActivityCentre › should match snapshot when empty:
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)
|
ThreadsActivityCentre › should order the room with the same notification level by most recent:
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)
|
SendWysiwygComposer › Should render WysiwygComposer when isRichTextEnabled is at true:
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)
|
jest-tests
Process completed with exit code 1.
|