diff --git a/umap/static/umap/test/Feature.js b/umap/static/umap/test/Feature.js index 88d3e0b1..228e2bb1 100644 --- a/umap/static/umap/test/Feature.js +++ b/umap/static/umap/test/Feature.js @@ -231,6 +231,13 @@ describe('L.U.FeatureMixin', function () { happen.click(qs('#map')) // Close popup assert.notOk(qs('.umap-icon-active')) }) + + it('should still highlight marker after hide() and show()', function () { + this.datalayer.hide() + this.datalayer.show() + happen.click(qs('div.leaflet-marker-icon')) + assert.ok(qs('.umap-icon-active')) + }) }) describe('#tooltip', function () {