2022-04-28 11:37:20 +00:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`<LocationShareMenu /> with live location disabled goes to labs flag screen after live options is clicked 1`] = `
<div
2023-02-20 18:35:39 +00:00
class="mx_EnableLiveShare"
data-testid="location-picker-enable-live-share"
2022-04-28 11:37:20 +00:00
>
2023-02-20 18:35:39 +00:00
<div
class="mx_StyledLiveBeaconIcon mx_EnableLiveShare_icon"
/>
<h3
class="mx_Heading_h3 mx_EnableLiveShare_heading"
2022-04-28 11:37:20 +00:00
>
2023-02-20 18:35:39 +00:00
Live location sharing
</h3>
2022-04-28 11:37:20 +00:00
<p
2023-02-20 18:35:39 +00:00
class="mx_EnableLiveShare_description"
2022-04-28 11:37:20 +00:00
>
Please note: this is a labs feature using a temporary implementation. This means you will not be able to delete your location history, and advanced users will be able to see your location history even after you stop sharing your live location with this room.
</p>
2023-02-20 18:35:39 +00:00
<div
class="mx_SettingsFlag"
data-testid="enable-live-share-toggle"
2022-04-28 11:37:20 +00:00
>
2023-02-20 18:35:39 +00:00
<span
class="mx_SettingsFlag_label"
>
2023-04-21 09:48:48 +00:00
<div
2023-08-09 08:39:48 +00:00
id="mx_LabelledToggleSwitch_vY7Q4uEh9K38"
2023-04-21 09:48:48 +00:00
>
Enable live location sharing
</div>
2023-02-20 18:35:39 +00:00
</span>
2022-04-28 11:37:20 +00:00
<div
2023-02-20 18:35:39 +00:00
aria-checked="false"
aria-disabled="false"
2023-08-09 08:39:48 +00:00
aria-labelledby="mx_LabelledToggleSwitch_vY7Q4uEh9K38"
2023-02-20 18:35:39 +00:00
class="mx_AccessibleButton mx_ToggleSwitch mx_ToggleSwitch_enabled"
role="switch"
tabindex="0"
2022-04-28 11:37:20 +00:00
>
2023-02-20 18:35:39 +00:00
<div
class="mx_ToggleSwitch_ball"
/>
2022-04-28 11:37:20 +00:00
</div>
2023-02-20 18:35:39 +00:00
</div>
<button
aria-disabled="true"
class="mx_AccessibleButton mx_EnableLiveShare_button mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary mx_AccessibleButton_disabled"
data-testid="enable-live-share-submit"
disabled=""
2022-04-28 11:37:20 +00:00
role="button"
2023-02-20 18:35:39 +00:00
tabindex="0"
2022-04-28 11:37:20 +00:00
>
2023-02-20 18:35:39 +00:00
OK
</button>
2022-04-28 11:37:20 +00:00
</div>
`;