iron-test-helpers icon indicating copy to clipboard operation
iron-test-helpers copied to clipboard

Allow mocking a tap on given xy-coordinates

Open NovapaX opened this issue 7 years ago • 0 comments

Currently it's not possible to easily simulate a click / tap on given coordinates.

see also: https://github.com/PolymerElements/iron-test-helpers/pull/93#issuecomment-367854446

I'd expect to be able to call: tap(node, xy) like the click function (which is not exposed):

function tap(node, xy) {
    xy = xy || middleOfNode(node);
    // do stuff
}

NovapaX avatar Feb 23 '18 11:02 NovapaX