microsoft/Terminal
TestMouseWheelReadConsoleInputHelper tests are flaky
Ouverte
#4 494 ouverte le 6 févr. 2020
Area-CodeHealthArea-InputHelp WantedIssue-TaskProduct-Conhost
Métriques du dépôt
- Stars
- (103 173 étoiles)
- Métriques de merge PR
- (Métriques PR en attente)
Description
In the InputTests, there are a handful of them that inject mouse events into the window handle.
They center around the method TestMouseWheelReadConsoleInputHelper.
They tend to fail when there are two input events in the queue instead of just the one they expect.
My theory is that the extra event in the queue is a focus or unfocus event.
We should make them all more robust to the point where they don't care/skip excess focus/unfocus events.