Need More Info
Last Updated: 18 Jan 2023 15:16 by ADMIN
Created by: Sinuhe
Comments: 1
Category: Tooltip
Type: Bug Report
2

@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 })
}
But the events are just not triggered, so we cannot properly test our implementation.