Simulate :hover
piermariacosina opened this issue · 2 comments
piermariacosina commented
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
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
I too am trying to simulate a hover event. Would triggering a 'mouseover' event via the mouseEvent
action work? Has mouseEvent
been implemented?