KeyboardHelpers provides a set of functions to simulate keyboard events for testing Elm programs.
Simulate a "keyup" event on the given element.
Simulate a tab key press on the given element.
Simulate a shift-tab key press on the given element.
Simulate an escape key press on the given element.
Simulate a spacebar key press on the given element.
Simulate a down arrow key press on the given element.
Simulate a right arrow key press on the given element.
Simulate a left arrow key press on the given element.
Simulate a right arrow key press with the shift key held down on the given element.
Simulate a left arrow key press with the shift key held down on the given element.
Simulate a right arrow key release on the given element.
Simulate a left arrow key release on the given element.
Simulate a right arrow key release with the shift key held down on the given element.
Simulate a left arrow key release with the shift key held down on the given element.
A Config allow us to not depend strictly on elm-explorations/test and avh4/elm-program-test packages.
Simulate a "keydown" event on the given element.