Skip to content

Prevent submenus from closing if mouse leaves and re-enters within leaveDelay ms #470

Prevent submenus from closing if mouse leaves and re-enters within leaveDelay ms

Prevent submenus from closing if mouse leaves and re-enters within leaveDelay ms #470

Re-run triggered March 15, 2024 14:45
Status Failure
Total duration 2m 11s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
tests/menus/_baseMenu/hover.test.js > BaseMenu > with hover type on > pointerenter > should call preview after a delay when a submenu item is hovered: tests/menus/_baseMenu/hover.test.js#L137
AssertionError: expected "preview" to be called at least once ❯ tests/menus/_baseMenu/hover.test.js:137:21
tests/menus/_baseMenu/hover.test.js > BaseMenu > with hover type on > pointerleave > when a menu item is a submenu item > should call clearTimeout when a menu item is unhovered: tests/menus/_baseMenu/hover.test.js#L188
AssertionError: expected "clearTimeout" to be called with arguments: [ …(1) ] Received: 1st clearTimeout call: Array [ - Timeout { - "_destroyed": false, - "_idleNext": TimersList { - "_idleNext": [Circular], - "_idlePrev": [Circular], - "expiry": 2105, - "id": -9007199254740743, - "msecs": 250, - "priorityQueuePosition": 3, - }, - "_idlePrev": TimersList { - "_idleNext": [Circular], - "_idlePrev": [Circular], - "expiry": 2105, - "id": -9007199254740743, - "msecs": 250, - "priorityQueuePosition": 3, - }, - "_idleStart": 1855, - "_idleTimeout": 250, - "_onTimeout": [Function anonymous], - "_repeat": null, - "_timerArgs": undefined, - Symbol(refed): true, - Symbol(kHasPrimitive): false, - Symbol(asyncId): 598, - Symbol(triggerId): 0, - }, + null, ] Number of calls: 1 ❯ tests/menus/_baseMenu/hover.test.js:188:23
tests/menus/_baseMenu/hover.test.js > BaseMenu > with hover type dynamic > pointerleave > if the menu is not the root menu > when a menu item is a submenu item > should call clearTimeout when a menu item is unhovered: tests/menus/_baseMenu/hover.test.js#L868
AssertionError: expected "clearTimeout" to be called with arguments: [ …(1) ] Received: 1st clearTimeout call: Array [ - Timeout { - "_destroyed": true, - "_idleNext": null, - "_idlePrev": null, - "_idleStart": 4003, - "_idleTimeout": 250, - "_onTimeout": [Function anonymous], - "_repeat": null, - "_timerArgs": undefined, - Symbol(refed): true, - Symbol(kHasPrimitive): false, - Symbol(asyncId): 1314, - Symbol(triggerId): 0, - }, + null, ] Number of calls: 1 ❯ tests/menus/_baseMenu/hover.test.js:868:25
test
Process completed with exit code 1.