A set of utility classes to make testing easier. For more details on the methods
available, please check the documentation of
This is a set of methods to simulate mouse or keyboard interaction with an element.
Note on globals
Note that in version 3.x, importing
will also set the
respectively (and importing
iron-test-helpers.js will set both). This is done
only for backwards compatibility, and will be removed in the next major version.
All users should migrate away from globals and onto direct ES module imports.
If you want to send a PR to this element, here are the instructions for running the tests and demo locally:
git clone https://github.com/PolymerElements/iron-test-helperscd iron-test-helpersnpm installnpm install -g polymer-cli
Running the tests
polymer test --npm