cypress simulate css hover code example
Example: how to hover the mouse on an element cypress mouseover
cy.get('.menu-item').trigger('mouseover')
cy.get('.popover').should('be.visible')
cy.get('.menu-item').trigger('mouseover')
cy.get('.popover').should('be.visible')