Commit c6936d9e authored by Robert Loehning's avatar Robert Loehning Committed by Robert Löhning
Browse files

Squish: Speeding up switching modes by replacing snooze

Change-Id: Ia13a98e7ae27f4c4643d8efd9a7c25b53fad4dd3
Reviewed-by: default avatarChristian Stenger <>
parent 23b5e1ce
......@@ -7,8 +7,11 @@ def switchViewTo(view):
tabBar = waitForObject("{type='Core::Internal::FancyTabBar' unnamed='1' visible='1' "
"window=':Qt Creator_Core::Internal::MainWindow'}")
mouseMove(tabBar, 10, 10 + 52 * view)
text = str(QToolTip.text())
if waitFor("QToolTip.isVisible()", 10000):
text = str(QToolTip.text())
test.warning("Waiting for ToolTip timed out.")
text = ""
pattern = ViewConstants.getToolTipForViewTab(view)
if re.match(pattern, unicode(text), re.UNICODE):
test.passes("ToolTip verified")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment