i have simple react component , component returns div:
return(< div classname="item" onclick={ this._onclick } onmouseenter={ this._onmouseenter } onmouseleave={ this._onmouseleave } >...< /div>);
(sorry weird < , > formatting)
and use selenium testing (nightwatchjs framework), when write in test
client.click(".item");
it works perfectly, see _onclick() method called, when try hover on element , write
client.movetoelement(".item");
or
client.movetoelement(".item", 1 ,1);
it doesn't work :( , _onmouseenter() method isn't called.
so - how test hover actions on react components?