automating hover and hold in cypress 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')