diff --git a/tests/system/suite_editors/tst_qml_editor/test.py b/tests/system/suite_editors/tst_qml_editor/test.py index c8e5a66a010..633e9fcbdc1 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':'

Rectangle


\n

Paints a filled rectangle with an ' 'optional border

  
'} ] - alternativeValues = [{"text":"FocusScope"}, {"text":"Rectangle"}] + alternativeValues = [{"text":"

FocusScope

"}, {"text":"

Rectangle

"}] 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.' '

  '} ] - alternativeValues = [{"text":"boolean"}, {"text":"string"}, {"text":"State"}, {"text":"Transition"}] + alternativeValues = [{"text":"

boolean

"}, {"text":"

string

"}, + {"text":"

State

"}, {"text":"

Transition

"}] if JIRA.isBugStillOpen(20020): expectedValues[0] = {'text':'
Rectangle  ' '
'} - alternativeValues[0] = {"text":"Rectangle"} + alternativeValues[0] = {"text":"

Rectangle

"} verifyHoveringOnEditor(editor, lines, additionalKeyPresses, expectedTypes, expectedValues, alternativeValues) test.log("Testing hovering expressions") openDocument(focusDocumentPath % "focus\\.qml") @@ -173,5 +174,5 @@ def testHovering(): additionalKeyPresses = ["", "", "", ""] expectedTypes = ["ColorTip", "TextTip"] expectedValues = ["#D1DBBD", {"text":'
number  
'}] - alternativeValues = ["#D6DBBD", None] + alternativeValues = ["#D6DBBD", {"text":"

number

"}] verifyHoveringOnEditor(editor, lines, additionalKeyPresses, expectedTypes, expectedValues, alternativeValues)