Refactor testHelpers.clickMap to trigger event on OpenLayers map