diff options
author | Christian Stenger <christian.stenger@qt.io> | 2019-11-13 09:56:18 +0100 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2019-11-15 22:58:52 +0000 |
commit | a87293d1c4d1c5e12dc8311cfa49283ab6d977ab (patch) | |
tree | 44a5decb975e0aa6b7457c90cd72c81ad00660c2 /tests | |
parent | ebcde98b722c9a29e5a26a9a4a585a872ca91948 (diff) | |
download | qt-creator-a87293d1c4d1c5e12dc8311cfa49283ab6d977ab.tar.gz |
Squish: Update expected tool tips
Change-Id: Ibde199b8f88448c9f0e7b235f7ede57735718201
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/system/suite_editors/tst_qml_editor/test.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/system/suite_editors/tst_qml_editor/test.py b/tests/system/suite_editors/tst_qml_editor/test.py index c8e5a66a01..633e9fcbdc 100644 --- a/tests/system/suite_editors/tst_qml_editor/test.py +++ b/tests/system/suite_editors/tst_qml_editor/test.py @@ -129,7 +129,7 @@ def testHovering(): {'text':'<table><tr><td valign=middle><p>Rectangle</p><hr/><p>\n<p>Paints a filled rectangle with an ' 'optional border </p></p></td><td> <img src=":/utils/tooltip/images/f1.png"></td></tr></table>'} ] - alternativeValues = [{"text":"FocusScope"}, {"text":"Rectangle"}] + alternativeValues = [{"text":"<p>FocusScope</p>"}, {"text":"<p>Rectangle</p>"}] verifyHoveringOnEditor(editor, lines, additionalKeyPresses, expectedTypes, expectedValues, alternativeValues) test.log("Testing hovering properties") openDocument(focusDocumentPath % "focus\\.qml") @@ -152,11 +152,12 @@ def testHovering(): 'These define the transitions to be applied to the item whenever it changes its state.' '</p></p></td><td> <img src=":/utils/tooltip/images/f1.png"></td></tr></table>'} ] - alternativeValues = [{"text":"boolean"}, {"text":"string"}, {"text":"State"}, {"text":"Transition"}] + alternativeValues = [{"text":"<p>boolean</p>"}, {"text":"<p>string</p>"}, + {"text":"<p>State</p>"}, {"text":"<p>Transition</p>"}] if JIRA.isBugStillOpen(20020): expectedValues[0] = {'text':'<table><tr><td valign=middle>Rectangle</td><td> ' '<img src=":/utils/tooltip/images/f1.png"></td></tr></table>'} - alternativeValues[0] = {"text":"Rectangle"} + alternativeValues[0] = {"text":"<p>Rectangle</p>"} verifyHoveringOnEditor(editor, lines, additionalKeyPresses, expectedTypes, expectedValues, alternativeValues) test.log("Testing hovering expressions") openDocument(focusDocumentPath % "focus\\.qml") @@ -173,5 +174,5 @@ def testHovering(): additionalKeyPresses = ["<Left>", "<Left>", "<Left>", "<Left>"] expectedTypes = ["ColorTip", "TextTip"] expectedValues = ["#D1DBBD", {"text":'<table><tr><td valign=middle>number</td><td> <img src=":/utils/tooltip/images/f1.png"></td></tr></table>'}] - alternativeValues = ["#D6DBBD", None] + alternativeValues = ["#D6DBBD", {"text":"<p>number</p>"}] verifyHoveringOnEditor(editor, lines, additionalKeyPresses, expectedTypes, expectedValues, alternativeValues) |