e5f06df3f7
- Friendly error messages with details - Add a way to submit debug logs for actual errors (non-networking errors) - Don't jump someone back to a room they already navigated away from. Fixes bug mentioned in https://github.com/vector-im/element-web/issues/21263#issuecomment-1056809714
66 lines
1.3 KiB
Text
66 lines
1.3 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`DateSeparator renders the date separator correctly 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
aria-label="Today"
|
|
class="mx_DateSeparator"
|
|
role="separator"
|
|
tabindex="-1"
|
|
>
|
|
<hr
|
|
role="none"
|
|
/>
|
|
<div
|
|
class="mx_DateSeparator_dateContent"
|
|
>
|
|
<h2
|
|
aria-hidden="true"
|
|
class="mx_DateSeparator_dateHeading"
|
|
>
|
|
Today
|
|
</h2>
|
|
</div>
|
|
<hr
|
|
role="none"
|
|
/>
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`DateSeparator when feature_jump_to_date is enabled renders the date separator correctly 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
aria-label="Fri, Dec 17 2021"
|
|
class="mx_DateSeparator"
|
|
role="separator"
|
|
tabindex="-1"
|
|
>
|
|
<hr
|
|
role="none"
|
|
/>
|
|
<div
|
|
aria-expanded="false"
|
|
aria-haspopup="true"
|
|
aria-label="Jump to date"
|
|
class="mx_AccessibleButton mx_DateSeparator_jumpToDateMenu mx_DateSeparator_dateContent"
|
|
data-testid="jump-to-date-separator-button"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<h2
|
|
aria-hidden="true"
|
|
class="mx_DateSeparator_dateHeading"
|
|
>
|
|
Fri, Dec 17 2021
|
|
</h2>
|
|
<div
|
|
class="mx_DateSeparator_chevron"
|
|
/>
|
|
</div>
|
|
<hr
|
|
role="none"
|
|
/>
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|