2023-01-30 22:31:32 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<MessageEditHistory /> should match the snapshot 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
data-focus-guard="true"
|
|
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
aria-labelledby="mx_BaseDialog_title"
|
|
|
|
class="mx_MessageEditHistoryDialog mx_Dialog_fixedWidth"
|
|
|
|
data-focus-lock-disabled="false"
|
|
|
|
role="dialog"
|
|
|
|
>
|
|
|
|
<div
|
2024-03-13 21:38:32 +08:00
|
|
|
class="mx_Dialog_header"
|
2023-01-30 22:31:32 +08:00
|
|
|
>
|
2024-02-16 22:23:33 +08:00
|
|
|
<h1
|
2023-07-05 00:54:28 +08:00
|
|
|
class="mx_Heading_h3 mx_Dialog_title"
|
2023-01-30 22:31:32 +08:00
|
|
|
id="mx_BaseDialog_title"
|
|
|
|
>
|
|
|
|
Message edits
|
2024-02-16 22:23:33 +08:00
|
|
|
</h1>
|
2023-01-30 22:31:32 +08:00
|
|
|
</div>
|
2024-03-13 21:38:32 +08:00
|
|
|
<div
|
|
|
|
aria-label="Close dialog"
|
|
|
|
class="mx_AccessibleButton mx_Dialog_cancelButton"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
2023-01-30 22:31:32 +08:00
|
|
|
<div
|
|
|
|
class="mx_AutoHideScrollbar mx_ScrollPanel mx_MessageEditHistoryDialog_scrollPanel"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_RoomView_messageListWrapper"
|
|
|
|
>
|
|
|
|
<ol
|
|
|
|
aria-live="polite"
|
|
|
|
class="mx_RoomView_MessageList"
|
|
|
|
>
|
|
|
|
<ul
|
|
|
|
class="mx_MessageEditHistoryDialog_edits"
|
|
|
|
>
|
|
|
|
<li>
|
|
|
|
<div
|
2023-08-22 03:38:59 +08:00
|
|
|
aria-label="Thu, Jan 1, 1970"
|
2023-10-16 22:14:04 +08:00
|
|
|
class="mx_TimelineSeparator"
|
2023-01-30 22:31:32 +08:00
|
|
|
role="separator"
|
|
|
|
>
|
|
|
|
<hr
|
|
|
|
role="none"
|
|
|
|
/>
|
2023-03-21 00:03:36 +08:00
|
|
|
<div
|
|
|
|
class="mx_DateSeparator_dateContent"
|
2023-01-30 22:31:32 +08:00
|
|
|
>
|
2023-03-21 00:03:36 +08:00
|
|
|
<h2
|
|
|
|
aria-hidden="true"
|
|
|
|
class="mx_DateSeparator_dateHeading"
|
|
|
|
>
|
2023-08-22 03:38:59 +08:00
|
|
|
Thu, Jan 1, 1970
|
2023-03-21 00:03:36 +08:00
|
|
|
</h2>
|
|
|
|
</div>
|
2023-01-30 22:31:32 +08:00
|
|
|
<hr
|
|
|
|
role="none"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<div
|
|
|
|
class="mx_EventTile"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_EventTile_line"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_MessageTimestamp"
|
|
|
|
>
|
|
|
|
00:00
|
|
|
|
</span>
|
|
|
|
<div
|
|
|
|
class="mx_EventTile_content"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_EventTile_body"
|
|
|
|
dir="auto"
|
|
|
|
>
|
|
|
|
My Great Massage
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_MessageActionBar"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Remove
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</ol>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
data-focus-guard="true"
|
|
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-03-01 23:23:35 +08:00
|
|
|
exports[`<MessageEditHistory /> should support events with 1`] = `
|
2023-01-30 22:31:32 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
data-focus-guard="true"
|
|
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
aria-labelledby="mx_BaseDialog_title"
|
|
|
|
class="mx_MessageEditHistoryDialog mx_Dialog_fixedWidth"
|
|
|
|
data-focus-lock-disabled="false"
|
|
|
|
role="dialog"
|
|
|
|
>
|
|
|
|
<div
|
2024-03-13 21:38:32 +08:00
|
|
|
class="mx_Dialog_header"
|
2023-01-30 22:31:32 +08:00
|
|
|
>
|
2024-02-16 22:23:33 +08:00
|
|
|
<h1
|
2023-07-05 00:54:28 +08:00
|
|
|
class="mx_Heading_h3 mx_Dialog_title"
|
2023-01-30 22:31:32 +08:00
|
|
|
id="mx_BaseDialog_title"
|
|
|
|
>
|
|
|
|
Message edits
|
2024-02-16 22:23:33 +08:00
|
|
|
</h1>
|
2023-01-30 22:31:32 +08:00
|
|
|
</div>
|
2024-03-13 21:38:32 +08:00
|
|
|
<div
|
|
|
|
aria-label="Close dialog"
|
|
|
|
class="mx_AccessibleButton mx_Dialog_cancelButton"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
2023-01-30 22:31:32 +08:00
|
|
|
<div
|
|
|
|
class="mx_AutoHideScrollbar mx_ScrollPanel mx_MessageEditHistoryDialog_scrollPanel"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_RoomView_messageListWrapper"
|
|
|
|
>
|
|
|
|
<ol
|
|
|
|
aria-live="polite"
|
|
|
|
class="mx_RoomView_MessageList"
|
|
|
|
>
|
|
|
|
<ul
|
|
|
|
class="mx_MessageEditHistoryDialog_edits"
|
|
|
|
>
|
|
|
|
<li>
|
|
|
|
<div
|
2023-08-22 03:38:59 +08:00
|
|
|
aria-label="Thu, Jan 1, 1970"
|
2023-10-16 22:14:04 +08:00
|
|
|
class="mx_TimelineSeparator"
|
2023-01-30 22:31:32 +08:00
|
|
|
role="separator"
|
|
|
|
>
|
|
|
|
<hr
|
|
|
|
role="none"
|
|
|
|
/>
|
2023-03-21 00:03:36 +08:00
|
|
|
<div
|
|
|
|
class="mx_DateSeparator_dateContent"
|
2023-01-30 22:31:32 +08:00
|
|
|
>
|
2023-03-21 00:03:36 +08:00
|
|
|
<h2
|
|
|
|
aria-hidden="true"
|
|
|
|
class="mx_DateSeparator_dateHeading"
|
|
|
|
>
|
2023-08-22 03:38:59 +08:00
|
|
|
Thu, Jan 1, 1970
|
2023-03-21 00:03:36 +08:00
|
|
|
</h2>
|
|
|
|
</div>
|
2023-01-30 22:31:32 +08:00
|
|
|
<hr
|
|
|
|
role="none"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<div
|
|
|
|
class="mx_EventTile"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_EventTile_line"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_MessageTimestamp"
|
|
|
|
>
|
2023-08-22 03:38:59 +08:00
|
|
|
00:00
|
2023-01-30 22:31:32 +08:00
|
|
|
</span>
|
|
|
|
<div
|
|
|
|
class="mx_EventTile_content"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_EventTile_body markdown-body"
|
|
|
|
dir="auto"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
My Great Massage
|
|
|
|
<span
|
|
|
|
class="mx_EditHistoryMessage_deletion"
|
|
|
|
>
|
|
|
|
?
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_MessageActionBar"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Remove
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<div
|
|
|
|
class="mx_EventTile"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_EventTile_line"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_MessageTimestamp"
|
|
|
|
>
|
2023-08-22 03:38:59 +08:00
|
|
|
00:00
|
2023-01-30 22:31:32 +08:00
|
|
|
</span>
|
|
|
|
<div
|
|
|
|
class="mx_EventTile_content"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_EventTile_body markdown-body"
|
|
|
|
dir="auto"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
My Great M
|
|
|
|
<span
|
|
|
|
class="mx_EditHistoryMessage_deletion"
|
|
|
|
>
|
|
|
|
i
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="mx_EditHistoryMessage_insertion"
|
|
|
|
>
|
|
|
|
a
|
|
|
|
</span>
|
|
|
|
ssage
|
|
|
|
<span
|
|
|
|
class="mx_EditHistoryMessage_insertion"
|
|
|
|
>
|
|
|
|
?
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_MessageActionBar"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Remove
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<div
|
|
|
|
class="mx_EventTile"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_EventTile_line"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_MessageTimestamp"
|
|
|
|
>
|
2023-08-22 03:38:59 +08:00
|
|
|
00:00
|
2023-01-30 22:31:32 +08:00
|
|
|
</span>
|
|
|
|
<div
|
|
|
|
class="mx_EventTile_content"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_EventTile_body"
|
|
|
|
dir="auto"
|
|
|
|
>
|
|
|
|
My Great Missage
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_MessageActionBar"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Remove
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</ol>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
data-focus-guard="true"
|
|
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
`;
|