dalekjs / dalek

[unmaintained] DalekJS Base framework
MIT License
695 stars 63 forks source link

Simulate :hover #125

Open piermariacosina opened 10 years ago

piermariacosina commented 10 years ago

Test get stuck using :hover 'Arrow down color is correct': function (test) { test .open('http://0.0.0.0:4567') .assert.css('.arrow-down a:hover span', 'color','rgba(215, 135, 114, 1)') .done(); }

there should be a way to simulate :hover either using mouseEvent or css assertion

asciidisco commented 10 years ago

We will add the moveTo API soon, so you will be able to simulate a :hover by pointing the cursor on the element.

nicksrandall commented 10 years ago

I too am trying to simulate a hover event. Would triggering a 'mouseover' event via the mouseEvent action work? Has mouseEvent been implemented?