()
| 51 | var other = Array.from(picker.options).find(function(option) { return option.value && option.value !== first; }); |
| 52 | assert(other, 'fixture must have multiple selectable nodes'); |
| 53 | function selectOther() { picker.value = other.value; picker.dispatchEvent(new Event('change')); } |
| 54 | function mouse(target, type, x, y) { |
| 55 | target.dispatchEvent(new MouseEvent(type, {clientX: x, clientY: y, bubbles: true, view: window, button: 0})); |
| 56 | } |