We have an app where we can display dataset features on an Open Layers page. These dataset features are then selectable to allow further attributes of these datasets to be displayed.

In my I’ve done most of my using the DOM element to identify the, but when I 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 on the page, but what do I use in the cy.get(). is there an option to select the browser window?

Source link https://sqa.stackexchange.com/questions/34307/using-cypress-tests-how-to-select-a--on-a-map-location


Please enter your comment!
Please enter your name here