Tests: fix toggle edit panel check
We do not remove the panel content anymore
This commit is contained in:
parent
4467b8ce2b
commit
13d398318d
1 changed files with 2 additions and 1 deletions
|
@ -32,8 +32,9 @@ describe('L.U.FeatureMixin', function () {
|
||||||
enableEdit()
|
enableEdit()
|
||||||
happen.click(qs('path[fill="DarkBlue"]'), { shiftKey: true })
|
happen.click(qs('path[fill="DarkBlue"]'), { shiftKey: true })
|
||||||
assert.ok(qs('form#umap-feature-properties'))
|
assert.ok(qs('form#umap-feature-properties'))
|
||||||
|
assert.ok(qs('#map.umap-ui'))
|
||||||
happen.click(qs('path[fill="DarkBlue"]'), { shiftKey: true })
|
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 () {
|
it('should open datalayer edit panel on ctrl-shift-clic', function () {
|
||||||
|
|
Loading…
Reference in a new issue