(key, target, conditions)
| 23 | const condition = (selector, rest = {}) => ({selector, ...rest}); |
| 24 | const click = (target, conditions) => ({event: 'pointerdown', target, conditions}); |
| 25 | const press = (key, target, conditions) => ({event: 'keydown', key, target, conditions}); |
| 26 | // A browser-generated wheel scroll of fixed distance and speed. The long, steady scroll |
| 27 | // gives each trial hundreds of frame intervals; completion itself is not the score. |
| 28 | const scrollDistance = 4000; |
no outgoing calls
no test coverage detected