PolymerElements / iron-test-helpers

Utility classes to make testing easier
26 stars 25 forks source link

pressAndReleaseKeyOn is not working for arrow keys #66

Open cheonhyangzhang opened 8 years ago

cheonhyangzhang commented 8 years ago

Description

var paperInput = Polymer.dom(myEl.root).querySelector('paper-input'); MockInteractions.pressAndReleaseKeyOn(paperInput, 65);

pressAndReleaseKeyOn is working fine for character 'a' but when I try with the up and down arrow key, it's not working.

MockInteractions.pressAndReleaseKeyOn(paperInput, 40);

carolirod commented 7 years ago

+1