From 13d398318d1e6576a6b4a47f445a689f96acc541 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 15 Sep 2023 12:10:36 +0200 Subject: [PATCH] Tests: fix toggle edit panel check We do not remove the panel content anymore --- umap/static/umap/test/Feature.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/umap/static/umap/test/Feature.js b/umap/static/umap/test/Feature.js index 69471fb1..f22d0c7b 100644 --- a/umap/static/umap/test/Feature.js +++ b/umap/static/umap/test/Feature.js @@ -32,8 +32,9 @@ describe('L.U.FeatureMixin', function () { enableEdit() happen.click(qs('path[fill="DarkBlue"]'), { shiftKey: true }) assert.ok(qs('form#umap-feature-properties')) + assert.ok(qs('#map.umap-ui')) happen.click(qs('path[fill="DarkBlue"]'), { shiftKey: true }) - assert.notOk(qs('form#umap-feature-properties')) + assert.notOk(qs('#map.umap-ui')) }) it('should open datalayer edit panel on ctrl-shift-clic', function () {