I've searched the docs and google and am struggling to find solid references to how one is supposed to write an E2E test for ngMouseenter
events. Angular's E2E testing tools has element(<selector>).click()
but nothing as far as I can see for other event types.
In my case the mouseenter (and mouseleave) triggers behavior I'd like to keep tested, and I imagine others have similar use cases. Is there a way to do this?
[edit]
I found an extension for angular's scenario runner here on SO: AngularJS: how to invoke event handlers and detect bindings in tests
This allows me to do:
jqFunction(<selector>, "mouseenter")
and works great.