I am trying to select based features on a , the test is passing but it’s not opening the details window as it does when I am Polygon features.

My test code is:

cy.get('canvas').trigger('pointerdown', {clientX: 930, clientY: 710})
cy.get('canvas').trigger('pointerup', {clientX: 930,clientY: 710})

I am finding the location of the polygons and points using a chrome add-on that tells me the x,y location of the mouse pointer, and I have set up in the cypress.json that the screen resolution be the same as my work monitors, so (in theory) the test browser will have the same resolution as the browser I am using to find the locations.

Does anyone have any suggestions as to how I can get my point selection to open the ensure I actually select the point on the map?



Source link https://sqa.stackexchange.com/questions/34473/-a-point-feature-on-a-map

LEAVE A REPLY

Please enter your comment!
Please enter your name here