forked from qt-creator/qt-creator
Squish: Fix verification of tool tips
Change-Id: I12487c784cf784ca7ddf705895c99f0ed912b0f4 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
This commit is contained in:
@@ -147,7 +147,7 @@ def verifyHoveringOnEditor(editor, lines, additionalKeyPresses, expectedTypes, e
|
||||
for ty in additionalKeyPresses:
|
||||
type(editor, ty)
|
||||
rect = editor.cursorRect(editor.textCursor())
|
||||
expectedToolTip = "{type='QTipLabel' visible='1'}"
|
||||
expectedToolTip = "{type='QLabel' objectName='qcToolTip' visible='1'}"
|
||||
# wait for similar tooltips to disappear
|
||||
checkIfObjectExists(expectedToolTip, False, 1000, True)
|
||||
sendEvent("QMouseEvent", editor, QEvent.MouseMove, rect.x+rect.width/2, rect.y+rect.height/2, Qt.NoButton, 0)
|
||||
|
||||
Reference in New Issue
Block a user