Altinn / app-frontend-react

Altinn application React frontend
BSD 3-Clause "New" or "Revised" License
18 stars 31 forks source link

Add Cypress-tests for Map component #813

Open olemartinorg opened 1 year ago

olemartinorg commented 1 year ago

Description

The Map component works, and is used in apps. Still, there are no cypress tests for it, so functionality in the component might stop working at some point if something should break. We've already had issues with a change in the design system that threatened to break the image marker in the Map component, but that potential breakage was stopped before it had any damaging effects.

Additional Information

Tasks

bjosttveit commented 6 months ago

We should maybe consider moving the Map component from altinn-design-system into this repo to make it easier to maintain dependencies (leaflet) and the implementation of our specific functionality. Is this component even used anywhere but app-frontend-react?