2022-04-19 14:35:39 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2022-07-27 18:42:59 +03:00
|
|
|
exports[`<BeaconViewDialog /> renders a fallback when there are no locations 1`] = `
|
2022-05-20 12:49:01 +03:00
|
|
|
Array [
|
|
|
|
<MapFallback
|
|
|
|
className="mx_BeaconViewDialog_map"
|
|
|
|
data-test-id="beacon-view-dialog-map-fallback"
|
2022-04-19 14:35:39 +03:00
|
|
|
>
|
2022-05-20 12:49:01 +03:00
|
|
|
<div
|
|
|
|
className="mx_MapFallback mx_BeaconViewDialog_map"
|
|
|
|
data-test-id="beacon-view-dialog-map-fallback"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="mx_MapFallback_bg"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
className="mx_MapFallback_icon"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
className="mx_BeaconViewDialog_mapFallbackMessage"
|
|
|
|
>
|
|
|
|
No live locations
|
|
|
|
</span>
|
|
|
|
<AccessibleButton
|
|
|
|
data-test-id="beacon-view-dialog-fallback-close"
|
|
|
|
element="div"
|
|
|
|
kind="primary"
|
|
|
|
onClick={[MockFunction]}
|
|
|
|
role="button"
|
|
|
|
tabIndex={0}
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
className="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
|
|
|
|
data-test-id="beacon-view-dialog-fallback-close"
|
|
|
|
onClick={[MockFunction]}
|
|
|
|
onKeyDown={[Function]}
|
|
|
|
onKeyUp={[Function]}
|
|
|
|
role="button"
|
|
|
|
tabIndex={0}
|
|
|
|
>
|
|
|
|
Close
|
|
|
|
</div>
|
|
|
|
</AccessibleButton>
|
|
|
|
</div>
|
|
|
|
</MapFallback>,
|
|
|
|
<div
|
|
|
|
className="mx_MapFallback mx_BeaconViewDialog_map"
|
|
|
|
data-test-id="beacon-view-dialog-map-fallback"
|
2022-04-19 14:35:39 +03:00
|
|
|
>
|
|
|
|
<div
|
2022-05-20 12:49:01 +03:00
|
|
|
className="mx_MapFallback_bg"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
className="mx_MapFallback_icon"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
className="mx_BeaconViewDialog_mapFallbackMessage"
|
|
|
|
>
|
|
|
|
No live locations
|
|
|
|
</span>
|
|
|
|
<AccessibleButton
|
2022-04-19 14:35:39 +03:00
|
|
|
data-test-id="beacon-view-dialog-fallback-close"
|
2022-05-20 12:49:01 +03:00
|
|
|
element="div"
|
|
|
|
kind="primary"
|
2022-04-19 14:35:39 +03:00
|
|
|
onClick={[MockFunction]}
|
|
|
|
role="button"
|
|
|
|
tabIndex={0}
|
|
|
|
>
|
2022-05-20 12:49:01 +03:00
|
|
|
<div
|
|
|
|
className="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
|
|
|
|
data-test-id="beacon-view-dialog-fallback-close"
|
|
|
|
onClick={[MockFunction]}
|
|
|
|
onKeyDown={[Function]}
|
|
|
|
onKeyUp={[Function]}
|
|
|
|
role="button"
|
|
|
|
tabIndex={0}
|
|
|
|
>
|
|
|
|
Close
|
|
|
|
</div>
|
|
|
|
</AccessibleButton>
|
|
|
|
</div>,
|
|
|
|
]
|
2022-04-19 14:35:39 +03:00
|
|
|
`;
|