NoRedInk/noredink-ui/25.1.0

NOTE: the latest version is 35.9.3

Nri.Test.MouseHelpers.V1

MouseHelpers provides a set of functions to simulate mouse events for testing Elm programs.

Basic helpers

List Selector
-> ProgramTest model msg effect
-> ProgramTest model msg effect

Simulate a click event on elements that match the given selectors.

List Selector
-> ProgramTest model msg effect
-> ProgramTest model msg effect

Simulate a mouse down event on elements that match the given selectors.

List Selector
-> ProgramTest model msg effect
-> ProgramTest model msg effect

Simulate a mouse up event on elements that match the given selectors.

List Selector
-> ProgramTest model msg effect
-> ProgramTest model msg effect

Simulate a mouse over event on elements that match the given selectors.

Cancelable Events

List Selector
-> ProgramTest model msg effect
-> ProgramTest model msg effect

Simulate a cancelable mouse down event on elements that match the given selectors.

List Selector
-> ProgramTest model msg effect
-> ProgramTest model msg effect

Simulate a cancelable mouse up event on elements that match the given selectors.

List Selector
-> ProgramTest model msg effect
-> ProgramTest model msg effect

Simulate a cancelable mouse over event on elements that match the given selectors.

Modules