2022-03-17 11:25:57 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2022-03-28 19:46:39 +03:00
|
|
|
exports[`<LeftPanelLiveShareWarning /> when user has live location monitor renders correctly when minimized 1`] = `
|
2022-03-17 11:25:57 +03:00
|
|
|
<LeftPanelLiveShareWarning
|
|
|
|
isMinimized={true}
|
|
|
|
>
|
2022-03-31 14:51:44 +03:00
|
|
|
<AccessibleButton
|
2022-03-17 11:25:57 +03:00
|
|
|
className="mx_LeftPanelLiveShareWarning mx_LeftPanelLiveShareWarning__minimized"
|
2022-03-31 14:51:44 +03:00
|
|
|
element="div"
|
|
|
|
onClick={[Function]}
|
|
|
|
role="button"
|
|
|
|
tabIndex={0}
|
2022-03-17 11:25:57 +03:00
|
|
|
title="You are sharing your live location"
|
|
|
|
>
|
|
|
|
<div
|
2022-03-31 14:51:44 +03:00
|
|
|
className="mx_AccessibleButton mx_LeftPanelLiveShareWarning mx_LeftPanelLiveShareWarning__minimized"
|
|
|
|
onClick={[Function]}
|
|
|
|
onKeyDown={[Function]}
|
|
|
|
onKeyUp={[Function]}
|
|
|
|
role="button"
|
|
|
|
tabIndex={0}
|
|
|
|
title="You are sharing your live location"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
height={10}
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</AccessibleButton>
|
2022-03-17 11:25:57 +03:00
|
|
|
</LeftPanelLiveShareWarning>
|
|
|
|
`;
|
|
|
|
|
2022-03-28 19:46:39 +03:00
|
|
|
exports[`<LeftPanelLiveShareWarning /> when user has live location monitor renders correctly when not minimized 1`] = `
|
2022-03-17 11:25:57 +03:00
|
|
|
<LeftPanelLiveShareWarning>
|
2022-03-31 14:51:44 +03:00
|
|
|
<AccessibleButton
|
2022-03-17 11:25:57 +03:00
|
|
|
className="mx_LeftPanelLiveShareWarning"
|
2022-03-31 14:51:44 +03:00
|
|
|
element="div"
|
|
|
|
onClick={[Function]}
|
|
|
|
role="button"
|
|
|
|
tabIndex={0}
|
2022-03-17 11:25:57 +03:00
|
|
|
>
|
2022-03-31 14:51:44 +03:00
|
|
|
<div
|
|
|
|
className="mx_AccessibleButton mx_LeftPanelLiveShareWarning"
|
|
|
|
onClick={[Function]}
|
|
|
|
onKeyDown={[Function]}
|
|
|
|
onKeyUp={[Function]}
|
|
|
|
role="button"
|
|
|
|
tabIndex={0}
|
|
|
|
>
|
|
|
|
You are sharing your live location
|
|
|
|
</div>
|
|
|
|
</AccessibleButton>
|
|
|
|
</LeftPanelLiveShareWarning>
|
|
|
|
`;
|
|
|
|
|
2022-04-25 15:44:18 +03:00
|
|
|
exports[`<LeftPanelLiveShareWarning /> when user has live location monitor renders location publish error 1`] = `
|
2022-03-31 14:51:44 +03:00
|
|
|
<LeftPanelLiveShareWarning>
|
|
|
|
<AccessibleButton
|
|
|
|
className="mx_LeftPanelLiveShareWarning mx_LeftPanelLiveShareWarning__error"
|
|
|
|
element="div"
|
|
|
|
onClick={[Function]}
|
|
|
|
role="button"
|
|
|
|
tabIndex={0}
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="mx_AccessibleButton mx_LeftPanelLiveShareWarning mx_LeftPanelLiveShareWarning__error"
|
|
|
|
onClick={[Function]}
|
|
|
|
onKeyDown={[Function]}
|
|
|
|
onKeyUp={[Function]}
|
|
|
|
role="button"
|
|
|
|
tabIndex={0}
|
|
|
|
>
|
2022-05-10 01:52:05 +03:00
|
|
|
An error occurred whilst sharing your live location
|
2022-03-31 14:51:44 +03:00
|
|
|
</div>
|
|
|
|
</AccessibleButton>
|
2022-03-17 11:25:57 +03:00
|
|
|
</LeftPanelLiveShareWarning>
|
|
|
|
`;
|