mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-22 16:14:22 +03:00
700b3955a4
* Deprecate AccessibleTooltipButton Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Deprecate AccessibleTooltipButton Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix `UserInfo-test.tsx` * Update `LoginWithQRFlow-test.tsx` snapshot * Remove tooltip provider from test * Fix `AccessibleButton` * Update snapshots * Revert to original import * Use title to populate aria-label * Rollback AccessibleButton or Tooltip changes. Will come in another PR * Rollback en.json change * Update snapshots * Fix `UserInfo` * Update snapshots * Use label instead of title in test * Use label instead of title in TAC test * Use label instead of title in read-receipt test * Remove tooltip for ContextMenu * Add extra information for caption field --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<LeftPanelLiveShareWarning /> when user has live location monitor renders correctly when minimized 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
aria-label="You are sharing your live location"
|
|
class="mx_AccessibleButton mx_LeftPanelLiveShareWarning mx_LeftPanelLiveShareWarning__minimized"
|
|
data-state="closed"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
height="10"
|
|
/>
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`<LeftPanelLiveShareWarning /> when user has live location monitor renders correctly when not minimized 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
class="mx_AccessibleButton mx_LeftPanelLiveShareWarning"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
You are sharing your live location
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`<LeftPanelLiveShareWarning /> when user has live location monitor renders location publish error 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
class="mx_AccessibleButton mx_LeftPanelLiveShareWarning mx_LeftPanelLiveShareWarning__error"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
An error occurred whilst sharing your live location
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|