summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2020-02-11 14:30:19 +0100
committerRobert Loehning <robert.loehning@qt.io>2020-02-17 10:53:50 +0000
commit1ebb72b47f95bf34da6b3dc9883366e642849058 (patch)
treeb57b63cebdb30c4d744f7834b1c9dfc91825fdd6 /tests
parentdf559b64df80c1633f8372364af29307d43460c1 (diff)
downloadqt-creator-1ebb72b47f95bf34da6b3dc9883366e642849058.tar.gz
Squish: Update expected tooltips
Change-Id: I88c5757b1f3beda34773ec3738779094a8441c2f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/system/suite_editors/tst_qml_editor/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/system/suite_editors/tst_qml_editor/test.py b/tests/system/suite_editors/tst_qml_editor/test.py
index 633e9fcbdc..56179134cb 100644
--- a/tests/system/suite_editors/tst_qml_editor/test.py
+++ b/tests/system/suite_editors/tst_qml_editor/test.py
@@ -157,7 +157,7 @@ def testHovering():
if JIRA.isBugStillOpen(20020):
expectedValues[0] = {'text':'<table><tr><td valign=middle>Rectangle</td><td>&nbsp;&nbsp;'
'<img src=":/utils/tooltip/images/f1.png"></td></tr></table>'}
- alternativeValues[0] = {"text":"<p>Rectangle</p>"}
+ alternativeValues[0] = {"text":"Rectangle"}
verifyHoveringOnEditor(editor, lines, additionalKeyPresses, expectedTypes, expectedValues, alternativeValues)
test.log("Testing hovering expressions")
openDocument(focusDocumentPath % "focus\\.qml")
@@ -174,5 +174,5 @@ def testHovering():
additionalKeyPresses = ["<Left>", "<Left>", "<Left>", "<Left>"]
expectedTypes = ["ColorTip", "TextTip"]
expectedValues = ["#D1DBBD", {"text":'<table><tr><td valign=middle>number</td><td>&nbsp;&nbsp;<img src=":/utils/tooltip/images/f1.png"></td></tr></table>'}]
- alternativeValues = ["#D6DBBD", {"text":"<p>number</p>"}]
+ alternativeValues = ["#D6DBBD", {"text":"number"}]
verifyHoveringOnEditor(editor, lines, additionalKeyPresses, expectedTypes, expectedValues, alternativeValues)