element-web/test/components/views/location
Kerry f70186ea9b
Live location sharing: set map bounds to include all locations (#8324)
* open a dialog with map centered around first beacon

Signed-off-by: Kerry Archibald <kerrya@element.io>

* test dialog opening from beacon body

Signed-off-by: Kerry Archibald <kerrya@element.io>

* test beaconmarker

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add bounds to Map comp

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add focusBeacon to beaconviewdialog, use bounds

Signed-off-by: Kerry Archibald <kerrya@element.io>

* lint

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use membercolor on beacon view markers

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add lnglatbounds to maplibre mock

Signed-off-by: Kerry Archibald <kerrya@element.io>

* update snapshots for expanded maplibre Map mock

Signed-off-by: Kerry Archibald <kerrya@element.io>

* test map bounds

Signed-off-by: Kerry Archibald <kerrya@element.io>

* tidy copy paste comment

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add fallback when no more live locations

Signed-off-by: Kerry Archibald <kerrya@element.io>

* accurate signature for getBoundsCenter

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-19 11:35:39 +00:00
..
__snapshots__ Live location sharing: set map bounds to include all locations (#8324) 2022-04-19 11:35:39 +00:00
LiveDurationDropdown-test.tsx Step 3.1: Stop using `getComponent` in tests 2022-03-28 14:02:31 -06:00
LocationButton-test.tsx Step 3.1: Stop using `getComponent` in tests 2022-03-28 14:02:31 -06:00
LocationPicker-test.tsx Live location sharing - consolidate maps (#8236) 2022-04-11 18:40:06 +02:00
LocationShareMenu-test.tsx Live location sharing - update beacon_info implementation to latest MSC (#8256) 2022-04-08 10:53:06 +02:00
LocationViewDialog-test.tsx Live location sharing - basic maximised beacon map (#8310) 2022-04-14 13:14:05 +00:00
Map-test.tsx Live location sharing: set map bounds to include all locations (#8324) 2022-04-19 11:35:39 +00:00
MapError-test.tsx Step 3.1: Stop using `getComponent` in tests 2022-03-28 14:02:31 -06:00
Marker-test.tsx Live location sharing - extract location markers into generic Marker (#8225) 2022-04-06 12:40:39 +01:00
SmartMarker-test.tsx Live location sharing - smart location marker (#8232) 2022-04-11 10:29:24 +02:00
ZoomButtons-test.tsx Live location sharing - extract zoom buttons into component (#8235) 2022-04-11 10:29:07 +02:00