Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flakey tests with realHover #478

Closed
LewisCraik opened this issue May 16, 2023 · 1 comment
Closed

Flakey tests with realHover #478

LewisCraik opened this issue May 16, 2023 · 1 comment

Comments

@LewisCraik
Copy link

I am running a suite of tests on a navigation menu, where hovering over a main menu item shows a submenu. There are 42 test cases in total.

However, each time I run through the suite of tests there are 4 to 8 tests failing, as realHover did not trigger the submenu to be displayed. It is different tests (submenu items) failing each time, so not an issue with the menu, and it any case the same menu items are passing for other tests.

I have updated to the latest 1.8.1 release (and Cypress 12.12.0) and tried setting different positions in the options, but it is still not reliably triggering 100%.

Looking through the Cypress events the get I use is working correctly, as when viewing the history the menu item to hover over is highlighted.

Is this something I am missing? Or could it be related to the lack of actionability waits (#270)?

@dmtrKovalenko
Copy link
Owner

Please provide a reproduction of such a flaky tests and I can take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants