Flaky on the component will automatically re-render through the bound blur event handler #15784
Unanswered
Daily-Prophet
asked this question in
Component Testing
Replies: 1 comment
-
Hi! Sorry for the slow reply. I'll be focusing on answering questions here from now on. Are you using the component testing runner ( Hard to say without seeing some code - ideally, if you can provide a repo, I can take a look. If not, can you at least share the component code and test code, so I can reproduce it? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context
I used a Fluent UI menu component in my project and I want to test click its submenu item.
The submenu seems like bind with some kind of blur event listener. Once move mouse cursor outside the browser, the submenu will disappear.
Issue
Because I keep Cypress focused when working on a test, everything is working fine when I test it locally,
But when CI test, it will flaky - Cypress can't open the submenu anymore and can't get its items, since the test brower may lost its focus status.
Do you have any suggestions to resolve this flaky?
GIF description
Beta Was this translation helpful? Give feedback.
All reactions