@open and @close events are not triggered by integration testing tool, even when programmatically calling the event.
We are using cypress 11.1.0
cypress-real-events: 1.7.4 was also used to try of trigger the events but didn't work.
The way we try this was by:
cy.get(element).trigger(‘mouseover’)
cy.get(element).realHover()
cy.get(element).trigger(‘mouseover’)
cy.get(element).trigger(‘mouseenter’)
cy.get(element).then(el => {
el.dispatchEvent(new MouseEvent(‘mouseenter’, { bubbles:true })
}