galenframework/galen

An element at location (0,0) is in a hovered state when running test in headless Chrome

markgaze opened this issue · 0 comments

We have a page with a button in the very top-left corner of the page which also has a background-color change on :hover, when I run a test with a spec that checks the base background-color I get a failure because the button is being hovered over by the "mouse" in headless Chrome.

If I move it one pixel away from the edge then the issue goes away so I'm assuming that the "cursor" is automatically set to (0,0) or thereabouts in headless Chrome