2023-03-10 17:35:40 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`MessagePanel should handle large numbers of hidden events quickly 1`] = `
|
|
|
|
<DocumentFragment>
|
|
|
|
<div
|
|
|
|
class="mx_AutoHideScrollbar mx_ScrollPanel cls"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_RoomView_messageListWrapper"
|
|
|
|
>
|
|
|
|
<ol
|
|
|
|
aria-live="polite"
|
|
|
|
class="mx_RoomView_MessageList"
|
|
|
|
style="height: 400px;"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</DocumentFragment>
|
|
|
|
`;
|
2023-03-20 12:50:07 +03:00
|
|
|
|
|
|
|
exports[`MessagePanel should handle lots of membership events quickly 1`] = `
|
|
|
|
<DocumentFragment>
|
|
|
|
<div
|
|
|
|
class="mx_AutoHideScrollbar mx_ScrollPanel cls"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_RoomView_messageListWrapper"
|
|
|
|
>
|
|
|
|
<ol
|
|
|
|
aria-live="polite"
|
|
|
|
class="mx_RoomView_MessageList"
|
|
|
|
style="height: 400px;"
|
|
|
|
>
|
|
|
|
<li
|
|
|
|
data-scroll-tokens="__scroll_tokens__"
|
|
|
|
data-testid="__testid__"
|
|
|
|
>
|
|
|
|
<div
|
2023-08-21 22:38:59 +03:00
|
|
|
aria-label="Thu, Jan 1, 1970"
|
2023-10-16 17:14:04 +03:00
|
|
|
class="mx_TimelineSeparator"
|
2023-03-20 12:50:07 +03:00
|
|
|
role="separator"
|
|
|
|
>
|
|
|
|
<hr
|
|
|
|
role="none"
|
|
|
|
/>
|
2023-03-20 19:52:23 +03:00
|
|
|
<div
|
|
|
|
class="mx_DateSeparator_dateContent"
|
2023-03-20 12:50:07 +03:00
|
|
|
>
|
2023-03-20 19:52:23 +03:00
|
|
|
<h2
|
|
|
|
aria-hidden="true"
|
|
|
|
class="mx_DateSeparator_dateHeading"
|
|
|
|
>
|
2023-08-21 22:38:59 +03:00
|
|
|
Thu, Jan 1, 1970
|
2023-03-20 19:52:23 +03:00
|
|
|
</h2>
|
|
|
|
</div>
|
2023-03-20 12:50:07 +03:00
|
|
|
<hr
|
|
|
|
role="none"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<div
|
|
|
|
class="mx_EventTileBubble mx_HistoryTile"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_EventTileBubble_title"
|
|
|
|
>
|
|
|
|
You can't see earlier messages
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<li
|
|
|
|
class="mx_GenericEventListSummary"
|
|
|
|
data-expanded="false"
|
|
|
|
data-layout="group"
|
|
|
|
data-scroll-tokens="__scroll_tokens__"
|
|
|
|
data-testid="__testid__"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-expanded="false"
|
|
|
|
class="mx_AccessibleButton mx_GenericEventListSummary_toggle mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
2023-08-23 13:57:22 +03:00
|
|
|
Expand
|
2023-03-20 12:50:07 +03:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_EventTile_line"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_EventTile_info"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_GenericEventListSummary_avatars"
|
|
|
|
>
|
|
|
|
<span
|
2024-03-07 17:40:03 +03:00
|
|
|
class="_avatar_mcap2_17 mx_BaseAvatar _avatar-imageless_mcap2_61"
|
2024-02-07 20:26:05 +03:00
|
|
|
data-color="1"
|
2023-08-24 06:48:35 +03:00
|
|
|
data-testid="avatar-img"
|
|
|
|
data-type="round"
|
2023-03-20 12:50:07 +03:00
|
|
|
role="presentation"
|
2023-08-24 06:48:35 +03:00
|
|
|
style="--cpd-avatar-size: 14px;"
|
|
|
|
title="@user:id"
|
2023-03-20 12:50:07 +03:00
|
|
|
>
|
2023-08-24 06:48:35 +03:00
|
|
|
u
|
2023-03-20 12:50:07 +03:00
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="mx_TextualEvent mx_GenericEventListSummary_summary"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
@user:id made no changes 100 times
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ol>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</DocumentFragment>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`MessagePanel should handle lots of room creation events quickly 1`] = `
|
|
|
|
<DocumentFragment>
|
|
|
|
<div
|
|
|
|
class="mx_AutoHideScrollbar mx_ScrollPanel cls"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_RoomView_messageListWrapper"
|
|
|
|
>
|
|
|
|
<ol
|
|
|
|
aria-live="polite"
|
|
|
|
class="mx_RoomView_MessageList"
|
|
|
|
style="height: 400px;"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</DocumentFragment>
|
|
|
|
`;
|