cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
46.59k stars 3.15k forks source link

disable mouseover on commands-timeline in sidebar #29509

Open camiant opened 3 months ago

camiant commented 3 months ago

Current behavior

At the end of test, when you hover on commands as a travel-machine, Livewire components (which are no more available in dom) fire "component missing" errors.

2024-05-13 14_28_09-cypress-test

Desired behavior

Would be fine if mouseover on sidebar commands could be disabled in settings.

Test code to reproduce

...

Cypress Version

13.9.0

Node version

20.x

Operating System

Windows 11 - Chrome v124 as browser

Debug Logs

No response

Other

No response

camiant commented 3 months ago

just as a workaround, I've added these instructions inside cypress\support\e2e.js

beforeEach(() => {
  cy.window().then((win) => {
    win.top.document.querySelector('div.wrap').style.pointerEvents = 'none'
  })
})

to disable mouse events in specs-sidebar