We have an app where we can display dataset features on an Open Layers map page. These dataset features are then selectable to allow further attributes of these datasets to be displayed.
In my Cypress tests I've done most of my testing using the DOM element to identify, but when I select the map window I just get canvas.ol-unselectable
which doesn't show the dataset features.
I think I can use x,y co-ordinates to find a location on the page, but what do I use in the cy.get()
.Is there an option to select the browser window?