umap/umap/tests/integration
Yohan Boniface 3477be99b8 fix: do not try to create legend for non loaded classified layer
fix #2232

A classified layer needs to have compiled the data to known its
classes/categories.

This commit review the way we build the legend: instead of creating
with the whole caption panel, we just set a container and we populate
it later. This opens the door for live changing the legend when
editing the layer.

But we have to clarify that "reactive" pattern at some point, as we
have some concurrent pattern laying around: the `render()`, which
coupled with the schema and this is nice, but for now it's a bit rough
(changing the whole UI each time); the `propagate` way, which is
more specific, but not coupled to the schema; the `dataChanged`; and
the `onDataLoaded` now, which is a bit different, as it's about the
data being loaded, not changed/modified, but for the DOM it may at
the end be the same. Well, food for thoughts…
2024-10-23 18:56:26 +02:00
..
__init__.py test: allow to run playwright tests directly with py.test cli 2023-09-04 15:00:51 +02:00
conftest.py wip: refactor DataLayer.geojsonToFeatures and fix sync tests 2024-07-29 16:24:59 +02:00
helpers.py fix: import GPX desc as description 2024-08-14 11:01:31 +02:00
test_anonymous_owned_map.py fix: make sure anonymous is owner at create 2024-10-04 17:34:59 +02:00
test_basics.py fix: hide "my profile" from dropdown menu if ALLOW_EDIT_PROFILE=False 2024-10-04 17:54:13 +02:00
test_browser.py feat: add a global toolbox in browser (#2160) 2024-10-16 19:45:56 +02:00
test_caption.py fix: do not try to create legend for non loaded classified layer 2024-10-23 18:56:26 +02:00
test_categorized_layer.py feat: add new type of layer Categorized 2024-07-01 12:48:46 +02:00
test_choropleth.py chore: fix tests after fieldset refactor 2024-05-07 13:29:03 +02:00
test_circles_layer.py fix: allow to draw new proprotional circles and to drag them 2024-09-27 08:58:08 +02:00
test_cluster.py fix: clicking feature in the browser would not open popup in cluster 2024-09-11 14:54:54 +02:00
test_conditional_rules.py feat: add explicit empty/not empty check in conditional rules 2024-09-06 16:47:19 +02:00
test_dashboard.py chore: add minimal dialog class to replace custom made help box 2024-05-22 14:00:53 +02:00
test_datalayer.py feat: only add visible markers (and tooltips) to DOM 2024-10-10 19:50:40 +02:00
test_draw_polygon.py wip: use our own contextmenu 2024-09-09 15:53:55 +02:00
test_draw_polyline.py test: fix playwright selector 2024-10-04 17:31:05 +02:00
test_edit_datalayer.py feat: only add visible markers (and tooltips) to DOM 2024-10-10 19:50:40 +02:00
test_edit_map.py chore: remove postsync in captionBar and let map.propagate do its job 2024-10-21 16:05:26 +02:00
test_edit_marker.py feat: only add visible markers (and tooltips) to DOM 2024-10-10 19:50:40 +02:00
test_edit_polygon.py wip: rework dialog class 2024-07-02 18:11:22 +02:00
test_export_map.py wip: move formatters to a module 2024-07-05 17:51:53 +02:00
test_facets_browser.py feat: only add visible markers (and tooltips) to DOM 2024-10-10 19:50:40 +02:00
test_features_id_generation.py chore: add ids on features 2024-02-22 16:32:18 +01:00
test_import.py chore: use pytest-rerunfailed 2024-10-10 10:31:25 +02:00
test_map.py chore: use pytest-rerunfailed 2024-10-10 10:31:25 +02:00
test_map_list.py fix: make sure we do not render browser in map fragment 2024-04-17 08:27:58 +02:00
test_map_preview.py feat: handle multiple dataUrl parameters on map load 2024-06-25 16:41:39 -04:00
test_optimistic_merge.py fix: listen to the correct event for conflicts 2024-06-12 19:06:28 -04:00
test_owned_map.py chore: replace native confirm by our styled ones 2024-10-04 17:34:20 +02:00
test_picto.py chore: uniformize buttons across panels and alerts 2024-06-12 18:03:05 -04:00
test_querystring.py fix: make sure datalayersControl=expanded does not override onLoadPanel 2024-09-04 15:00:14 +02:00
test_share.py fix: make sure to reset feature query string parameter 2024-03-01 15:45:07 +01:00
test_slideshow.py chore: move Feature.js integration tests to PW 2024-04-01 11:12:26 +02:00
test_star.py fix: star control was using old post method 2024-02-16 10:59:25 +01:00
test_tableeditor.py chore: fix tests 2024-07-12 12:12:29 -04:00
test_team.py chore: use our own Team model 2024-08-30 15:53:18 +02:00
test_tilelayer.py Also update regex 2024-08-19 12:20:58 +03:00
test_view_marker.py feat: only add visible markers (and tooltips) to DOM 2024-10-10 19:50:40 +02:00
test_view_polygon.py fix: polygon with interactive=false was still interactive 2024-09-20 10:21:57 +02:00
test_view_polyline.py chore: move Feature.js integration tests to PW 2024-04-01 11:12:26 +02:00
test_websocket_sync.py chore: use our own contextmenu (#2109) 2024-10-04 16:34:06 +02:00