Tests: fix toggle edit panel check

We do not remove the panel content anymore
This commit is contained in:
Yohan Boniface 2023-09-15 12:10:36 +02:00
parent 4467b8ce2b
commit 13d398318d

View file

@ -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 () {