diff --git a/tests/system/shared/project_explorer.py b/tests/system/shared/project_explorer.py index 902e79e8906..643182f3f4d 100644 --- a/tests/system/shared/project_explorer.py +++ b/tests/system/shared/project_explorer.py @@ -2,6 +2,8 @@ import re; # this function switches the MainWindow of creator to the specified view def switchViewTo(view): + # make sure that no tooltip is shown, so move the mouse away and wait until all disappear + mouseMove(waitForObject(':Qt Creator_Core::Internal::MainWindow'), -20, -20) waitFor("not QToolTip.isVisible()", 15000) if view < ViewConstants.WELCOME or view > ViewConstants.LAST_AVAILABLE: return