2022-04-19 13:35:39 +02:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2022-07-27 17:42:59 +02:00
|
|
|
exports[`<BeaconViewDialog /> renders a fallback when there are no locations 1`] = `
|
2023-02-21 22:32:37 +01:00
|
|
|
<div
|
|
|
|
class="mx_MapFallback mx_BeaconViewDialog_map"
|
|
|
|
data-testid="beacon-view-dialog-map-fallback"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_MapFallback_bg"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="mx_MapFallback_icon"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="mx_BeaconViewDialog_mapFallbackMessage"
|
|
|
|
>
|
|
|
|
No live locations
|
|
|
|
</span>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
|
|
|
|
data-testid="beacon-view-dialog-fallback-close"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Close
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<BeaconViewDialog /> renders own beacon status when user is live sharing 1`] = `
|
|
|
|
<div
|
|
|
|
class="mx_DialogOwnBeaconStatus"
|
|
|
|
>
|
|
|
|
<span
|
2024-03-07 15:40:03 +01:00
|
|
|
class="_avatar_mcap2_17 mx_BaseAvatar mx_DialogOwnBeaconStatus_avatar _avatar-imageless_mcap2_61"
|
2024-02-07 18:26:05 +01:00
|
|
|
data-color="6"
|
2023-08-24 05:48:35 +02:00
|
|
|
data-testid="avatar-img"
|
|
|
|
data-type="round"
|
2023-02-21 22:32:37 +01:00
|
|
|
role="presentation"
|
2023-08-24 05:48:35 +02:00
|
|
|
style="--cpd-avatar-size: 32px;"
|
|
|
|
title="@alice:server"
|
2023-02-21 22:32:37 +01:00
|
|
|
>
|
2023-08-24 05:48:35 +02:00
|
|
|
a
|
2023-02-21 22:32:37 +01:00
|
|
|
</span>
|
|
|
|
<div
|
|
|
|
class="mx_BeaconStatus mx_BeaconStatus_Active mx_DialogOwnBeaconStatus_status"
|
2022-04-19 13:35:39 +02:00
|
|
|
>
|
2022-05-20 11:49:01 +02:00
|
|
|
<div
|
2023-02-21 22:32:37 +01:00
|
|
|
class="mx_BeaconStatus_description"
|
2022-05-20 11:49:01 +02:00
|
|
|
>
|
|
|
|
<span
|
2023-02-21 22:32:37 +01:00
|
|
|
class="mx_BeaconStatus_label"
|
2022-05-20 11:49:01 +02:00
|
|
|
>
|
2023-02-21 22:32:37 +01:00
|
|
|
Live location enabled
|
2022-05-20 11:49:01 +02:00
|
|
|
</span>
|
2023-02-21 22:32:37 +01:00
|
|
|
<span
|
|
|
|
class="mx_LiveTimeRemaining"
|
2023-04-17 08:10:11 +02:00
|
|
|
data-testid="room-live-share-expiry"
|
2022-05-20 11:49:01 +02:00
|
|
|
>
|
2023-02-21 22:32:37 +01:00
|
|
|
1h left
|
|
|
|
</span>
|
2022-05-20 11:49:01 +02:00
|
|
|
</div>
|
|
|
|
<div
|
2023-02-21 22:32:37 +01:00
|
|
|
class="mx_AccessibleButton mx_OwnBeaconStatus_button mx_OwnBeaconStatus_destructiveButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link"
|
2023-04-17 08:10:11 +02:00
|
|
|
data-testid="beacon-status-stop-beacon"
|
2022-04-19 13:35:39 +02:00
|
|
|
role="button"
|
2023-02-21 22:32:37 +01:00
|
|
|
tabindex="0"
|
2022-04-19 13:35:39 +02:00
|
|
|
>
|
2023-02-21 22:32:37 +01:00
|
|
|
Stop
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-19 13:35:39 +02:00
|
|
|
`;
|