diff options
author | Robert Loehning <robert.loehning@theqtcompany.com> | 2015-04-02 13:07:16 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@theqtcompany.com> | 2015-04-02 13:09:03 +0000 |
commit | 02b521a8ff5cf9102fbf468adc07fac5ba4f5d63 (patch) | |
tree | 8ca1d73942b157dd3316b41f9f5b5c5e5bfbfca8 /tests/system | |
parent | 8548343ef42cd3ac40bab9eb4a314787f716323d (diff) | |
download | qt-creator-02b521a8ff5cf9102fbf468adc07fac5ba4f5d63.tar.gz |
Squish: Fix reading tooltips in tst_qml_editor
Change-Id: Ie65752d2c8c87c3802c810b98ffe7b122549c762
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'tests/system')
-rw-r--r-- | tests/system/shared/editor_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/shared/editor_utils.py b/tests/system/shared/editor_utils.py index 41c1004019..4ba01b058a 100644 --- a/tests/system/shared/editor_utils.py +++ b/tests/system/shared/editor_utils.py @@ -153,7 +153,7 @@ def verifyHoveringOnEditor(editor, lines, additionalKeyPresses, expectedTypes, e for ty in additionalKeyPresses: type(editor, ty) rect = editor.cursorRect(editor.textCursor()) - expectedToolTip = "{type='%s' visible='1'}" % expectedType + expectedToolTip = "{type='QTipLabel' 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) |