mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-25 18:08:14 +08:00
60faf6d025
* live location without map POC * styles * force map tiles to show no map for test build * check latestlocationstate exists * just use loading style map fallback when cant display map * style map error for tile view * set pointer cursor when map error is clickable * test mbeaconbody with map display error, lint * lint more good * remove changes for first attempt tile * make maperror test id more accurate * fussy import ordering * PR tweaks
36 lines
916 B
Plaintext
36 lines
916 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<MBeaconBody /> when map display is not configured renders maps unavailable error for a live beacon with location 1`] = `
|
|
<MapError
|
|
className="mx_MBeaconBody_mapError mx_MBeaconBody_mapErrorInteractive"
|
|
error="MapStyleUrlNotConfigured"
|
|
isMinimised={true}
|
|
onClick={[Function]}
|
|
>
|
|
<div
|
|
className="mx_MapError mx_MBeaconBody_mapError mx_MBeaconBody_mapErrorInteractive mx_MapError_isMinimised"
|
|
data-test-id="map-rendering-error"
|
|
onClick={[Function]}
|
|
>
|
|
<div
|
|
className="mx_MapError_icon"
|
|
/>
|
|
<Heading
|
|
className="mx_MapError_heading"
|
|
size="h3"
|
|
>
|
|
<h3
|
|
className="mx_Heading_h3 mx_MapError_heading"
|
|
>
|
|
Unable to load map
|
|
</h3>
|
|
</Heading>
|
|
<p
|
|
className="mx_MapError_message"
|
|
>
|
|
This homeserver is not configured to display maps.
|
|
</p>
|
|
</div>
|
|
</MapError>
|
|
`;
|