cypress-real-events icon indicating copy to clipboard operation
cypress-real-events copied to clipboard

Missing "getCypressElementCoordinates" import in latest version and exception is thrown 'not a function'

Open AhmedMAnwar opened this issue 1 year ago • 4 comments

After installing the latest version 1.11.0, I got an error that 'getCypressElementCoordinates' is not resolved by the node module.

  • To fix the issue: I have downgraded to version number 1.10, and all works fine with me.

  • The function doesn't work was 'realHover', 'realClick', and may other functions

AhmedMAnwar avatar Feb 10 '24 16:02 AhmedMAnwar

Need more details and a way to reproduce this error in order to help you

dmtrKovalenko avatar Feb 16 '24 15:02 dmtrKovalenko

@dmtrKovalenko Thanks for the quick response. I just installed the latest version of the plugin, and while using the realClick() method, I just an exception is thrown in the console logs showing that " 'getCypressElementCoordinates'" is not resolved. After more investigation, I found this method doesn't exist at all in the node module package.

AhmedMAnwar avatar Feb 19 '24 07:02 AhmedMAnwar

If this will be a real issue nobody will be able to use this lib but taking into account amount of downloads Id guess this is your local issue. Feel free to provide more details if you still think this is a real one.

dmtrKovalenko avatar Feb 19 '24 08:02 dmtrKovalenko

I guess I already did a cleaning for my package installation, and it didn't work at all.

AhmedMAnwar avatar Feb 19 '24 09:02 AhmedMAnwar

closing as no more references of this issue were made

dmtrKovalenko avatar Jun 15 '24 13:06 dmtrKovalenko