2022-03-11 09:52:57 +01:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2022-07-06 16:34:33 +02:00
|
|
|
exports[`<MapError /> applies class when isMinimised is truthy 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_MapError test mx_MapError_isMinimised"
|
|
|
|
data-test-id="map-rendering-error"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_MapError_icon"
|
|
|
|
/>
|
|
|
|
<h3
|
|
|
|
class="mx_Heading_h3 mx_MapError_heading"
|
|
|
|
>
|
|
|
|
Unable to load map
|
|
|
|
</h3>
|
|
|
|
<p
|
|
|
|
class="mx_MapError_message"
|
|
|
|
>
|
|
|
|
This homeserver is not configured to display maps.
|
|
|
|
</p>
|
|
|
|
<button
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
OK
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2022-03-11 09:52:57 +01:00
|
|
|
exports[`<MapError /> renders correctly for MapStyleUrlNotConfigured 1`] = `
|
2022-07-06 16:34:33 +02:00
|
|
|
<div>
|
2022-03-11 09:52:57 +01:00
|
|
|
<div
|
2022-07-06 16:34:33 +02:00
|
|
|
class="mx_MapError test"
|
|
|
|
data-test-id="map-rendering-error"
|
2022-03-11 09:52:57 +01:00
|
|
|
>
|
|
|
|
<div
|
2022-07-06 16:34:33 +02:00
|
|
|
class="mx_MapError_icon"
|
2022-03-11 09:52:57 +01:00
|
|
|
/>
|
2022-07-06 16:34:33 +02:00
|
|
|
<h3
|
|
|
|
class="mx_Heading_h3 mx_MapError_heading"
|
|
|
|
>
|
|
|
|
Unable to load map
|
|
|
|
</h3>
|
|
|
|
<p
|
|
|
|
class="mx_MapError_message"
|
2022-03-11 09:52:57 +01:00
|
|
|
>
|
|
|
|
This homeserver is not configured to display maps.
|
|
|
|
</p>
|
2022-07-06 16:34:33 +02:00
|
|
|
<button
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
|
2022-03-11 09:52:57 +01:00
|
|
|
role="button"
|
2022-07-06 16:34:33 +02:00
|
|
|
tabindex="0"
|
2022-03-11 09:52:57 +01:00
|
|
|
>
|
2022-07-06 16:34:33 +02:00
|
|
|
OK
|
|
|
|
</button>
|
2022-03-11 09:52:57 +01:00
|
|
|
</div>
|
2022-07-06 16:34:33 +02:00
|
|
|
</div>
|
2022-03-11 09:52:57 +01:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<MapError /> renders correctly for MapStyleUrlNotReachable 1`] = `
|
2022-07-06 16:34:33 +02:00
|
|
|
<div>
|
2022-03-11 09:52:57 +01:00
|
|
|
<div
|
2022-07-06 16:34:33 +02:00
|
|
|
class="mx_MapError test"
|
|
|
|
data-test-id="map-rendering-error"
|
2022-03-11 09:52:57 +01:00
|
|
|
>
|
|
|
|
<div
|
2022-07-06 16:34:33 +02:00
|
|
|
class="mx_MapError_icon"
|
2022-03-11 09:52:57 +01:00
|
|
|
/>
|
2022-07-06 16:34:33 +02:00
|
|
|
<h3
|
|
|
|
class="mx_Heading_h3 mx_MapError_heading"
|
|
|
|
>
|
|
|
|
Unable to load map
|
|
|
|
</h3>
|
|
|
|
<p
|
|
|
|
class="mx_MapError_message"
|
2022-03-11 09:52:57 +01:00
|
|
|
>
|
|
|
|
This homeserver is not configured correctly to display maps, or the configured map server may be unreachable.
|
|
|
|
</p>
|
2022-07-06 16:34:33 +02:00
|
|
|
<button
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
|
2022-03-11 09:52:57 +01:00
|
|
|
role="button"
|
2022-07-06 16:34:33 +02:00
|
|
|
tabindex="0"
|
2022-03-11 09:52:57 +01:00
|
|
|
>
|
2022-07-06 16:34:33 +02:00
|
|
|
OK
|
|
|
|
</button>
|
2022-03-11 09:52:57 +01:00
|
|
|
</div>
|
2022-07-06 16:34:33 +02:00
|
|
|
</div>
|
2022-03-11 09:52:57 +01:00
|
|
|
`;
|